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

Nodelets not running together

asked 2020-07-12 18:29:20 -0500

Salahuddin_Khan gravatar image

updated 2020-07-12 19:21:45 -0500

I'm trying to run 4 nodelets together, but for some reason the last 3 seem to be incompatible with each other. That is out of the last 3 which ever one is loaded first, it runs but the rest don't run. Nothing crashes but the nodelets simply won't subscribe or publish anything! I'm really unsure what is happening, been stuc on this for the past 3 hours.

This is the single executable node : image description

This is the cmakeLists : image description

This is the xml : image description

This is how the pose estimation nodelet is initialized:image description

This is how the display nodelet is initialized : image description

This is how the chase robot is initialized : image description

Any help would be greatly appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-13 05:25:47 -0500

Salahuddin_Khan gravatar image

Turns out the all those 3 Nodelets had while loops inside onInit, only one Nodelet with a while loop inside works, I guess

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-07-12 18:29:20 -0500

Seen: 122 times

Last updated: Jul 13 '20