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

Nodelet multi-threading example

asked 2011-12-18 12:50:00 -0600

K Chen gravatar image

Hi all,

I am finding a way to separate some heavy load process into some standalone threads so that I could get other callbacks in time using nodelet. I looked at the nodelet wiki page but it has few description about its multi-threading model and usage, so I am wondering where I could find such usage examples or projects already doing this?

BTW, is creating my own threads using boost inside a nodelet a bad idea?

Thanks for any help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-12-22 17:40:18 -0600

tfoote gravatar image

updated 2018-11-08 05:32:16 -0600

gvdhoorn gravatar image

The camera1394 nodelet is an example of using multiple threads: source.

edit flag offensive delete link more

Comments

Thanks! This helped me a lot.
K Chen gravatar image K Chen  ( 2011-12-24 18:26:56 -0600 )edit

Question Tools

Stats

Asked: 2011-12-18 12:50:00 -0600

Seen: 3,098 times

Last updated: Nov 08 '18