how does ros schedule nodes
how does ros schedule nodes? is this simply using the linux scheduler?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
how does ros schedule nodes? is this simply using the linux scheduler?
Yes, ROS 1 uses the linux scheduler. By default, roscpp has a background thread to handle socket activity, and processes callbacks serially on the main thread when you can ros::spin()
or ros::spinOnce()
. You can change how many threads are used by using an async spinner or multithreaded spinner.
You are free to use the linux tools for scheduling to change how linux schedules your processes or threads. (I am not sure about ROS 2 but I think it is the same).
Asked: 2019-03-25 17:56:08 -0500
Seen: 968 times
Last updated: Mar 25 '19
Roscd cannot find catkin_make 'd package
Robot oscillating before stopping if an obstacle found in ros navigation setup
matching 2d object to 3d point cloud
How do I add Poco for ROS kinetic download?
UR10e real hardware not moving but connected [closed]
Not able to echo topics published on separate computer with rosmaster [closed]