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

Add 30s timeout for controller spawners #233

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

civerachb-cpr
Copy link
Contributor

Description

It looks like the latest ros_controllers release has a default timeout that's too short to allow Gazebo to properly start up, resulting in the diff drive controller & joint state broadcaster to time-out rather than starting up. Adding an explicit timeout appears to work around this issue.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested locally on Jazzy.

Result before patch: diff drive controller & joint state broadcaster show timeout errors after 0.3s.

Result after patch: both controllers start normally, even when loading a complex world on a RAM-constrained laptop.

ros2 launch irobot_create_gz_bringup create3_gz.launch.py

Checklist

  • I have performed a self-review of my own code
  • [n/a] I have commented my code, particularly in hard-to-understand areas
  • [n/a] I have made corresponding changes to the documentation

It looks like the latest ros_controllers release has a default timeout that's too short to allow Gazebo to properly start up, resulting in the diff drive controller & joint state broadcaster to time-out rather than starting up.  Adding an explicit timeout appears to work around this issue.
@alsora alsora merged commit 465337a into iRobotEducation:jazzy Sep 19, 2024
1 check passed
alsora pushed a commit that referenced this pull request Sep 19, 2024
* Add 30s timeout for controller spawners

It looks like the latest ros_controllers release has a default timeout that's too short to allow Gazebo to properly start up, resulting in the diff drive controller & joint state broadcaster to time-out rather than starting up.  Adding an explicit timeout appears to work around this issue.

* copy & paste error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants