Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spawner_joint_state_broadcast crash in ignition simulation #156

Open
alsora opened this issue Feb 18, 2022 · 0 comments
Open

spawner_joint_state_broadcast crash in ignition simulation #156

alsora opened this issue Feb 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alsora
Copy link
Contributor

alsora commented Feb 18, 2022

Describe the bug
I'm using the create 3 simulator in a docker environment.

The first time I run the simulation, gazebo ignition takes a little bit longer to start (probably it's downloading resources).
This seems to cause problems in the spawner_joint_state_broadcast node which prints

[spawner-17] [INFO] [1645199371.283323087] [spawner_joint_state_broadcaster]: Waiting for /controller_manager services
[spawner-17] [INFO] [1645199373.291523083] [spawner_joint_state_broadcaster]: Waiting for /controller_manager services
[spawner-17] [ERROR] [1645199375.301844238] [spawner_joint_state_broadcaster]: Controller manager not available
[ERROR] [spawner-17]: process has died [pid 102, exit code 1, cmd '/opt/ros/galactic/lib/controller_manager/spawner joint_state_broadcaster -c /controller_manager --ros-args'].

To Reproduce

ros2 launch irobot_create_ignition_bringup create3_ignition.launch.py

Note that if after this error I kill the script and restart it again, this time ignition starts immediately and I don't have issues.

@alsora alsora added the bug Something isn't working label Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant