ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Have you tried the threading
module? I use that in some of my nodes to do background processing, and that works fine. The multiprocessing
module might run into some issues since it creates new processes by trying to fork the existing process, which confuses roscore since it expects each process to be uniquely named. There's probably a work around, but I'd start with threading first, since that has less overhead.