0
$\begingroup$

Rosanswers logo

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.


Originally posted by K Chen on ROS Answers with karma: 391 on 2011-12-18

Post score: 2

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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


Originally posted by tfoote with karma: 58457 on 2011-12-22

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by K Chen on 2011-12-24:
Thanks! This helped me a lot.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.