zauberzeug / rosys

An all-Python robot system based on web technologies. The purpose is similar to ROS, but it's based on NiceGUI and easier to use for mobile robotics.
https://rosys.io
MIT License
69 stars 10 forks source link

Use run.io_bound and run.cpu_bound from NiceGUI to avoid code duplication #43

Closed rodja closed 2 weeks ago

rodja commented 10 months ago

We have made run.io_bound and run.cpu_bound available in NiceGUI and should remove the code duplication in RoSys.

falkoschindler commented 10 months ago

I had to revert my commit because it broke tests in other projects. Especially running_cpu_bound_processes needs to be updated so that the tests wait for completion. But maybe there are more things to consider.

rodja commented 6 months ago

It would be great to have a minimal example to test the problematic cases.