lassepe / motion-planning-hackathon-template

5 stars 3 forks source link

robot_ekf sometimes does not publish when launched together with vicon bridge. #1

Open eliatrevisan opened 10 months ago

eliatrevisan commented 10 months ago

The demo.launch file launches the vicon bridge simultaneously with the robot_ekf node. Sometimes, likely due to timing (robot_ekf launches before the vicon bridge), the robot_ekf node advertises the topic but doesn't publish, all without giving errors.

Launching the vicon bridge first and then separately launching the robot_ekf solves the issue.

Timed_roslaunch (http://wiki.ros.org/timed_roslaunch) could solve the issue while keeping everything in a single launch file.

lassepe commented 10 months ago

Would you be willing to test if timed_roslaunch fixes the issue and, if so, make a PR?

eliatrevisan commented 10 months ago

Yes, I'll have a look at it next week

lassepe commented 10 months ago

You could also try adding a output="screen" into the joint launch file for all nodes. Maybe it gives you a hint of what went wrong.

lassepe commented 7 months ago

Friendly bump