ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Thread Scheduling in ROS

asked 2017-08-09 05:13:51 -0600

mkreddy477 gravatar image

Dear All,

Anybody had an idea about thread scheduling in ROS? Suppose I have a node which spawns multiple threads. How ROS handle scheduling of these user defined threads? Can anybody spread some light on these topics.

Thanks in advance Murali krishna

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-09 09:17:34 -0600

ROS generally does not mess with threads you spawn (i.e. change priorities or so). This is up to the operating system and you can use standard operating system facilities to do so (for instance setting priority to SCHED_FIFO or so).

edit flag offensive delete link more

Comments

Thanks for the clarification

mkreddy477 gravatar image mkreddy477  ( 2017-08-11 07:28:56 -0600 )edit

What is the difference between nodelets and threads

anonymous userAnonymous ( 2020-05-01 07:45:45 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-08-09 05:13:51 -0600

Seen: 567 times

Last updated: Aug 09 '17