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

SEGFAULT when adding a second Create3 Robot #208

Closed
Gior26 opened this issue Mar 31, 2023 · 2 comments
Closed

SEGFAULT when adding a second Create3 Robot #208

Gior26 opened this issue Mar 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Gior26
Copy link

Gior26 commented Mar 31, 2023

Describe the bug
Using the roni-kreinin/multi_robot fork from the pull request #207 the gazebo server encounters a SEGFAULT error whenever I try to add a second Create3 unit.

To Reproduce
Steps to reproduce the behavior:

  1. ros2 launch irobot_create_ignition_bringup ignition.launch.py
  2. ros2 launch irobot_create_ignition_bringup create3_spawn.launch.py namespace:=robot1
  3. ros2 launch irobot_create_ignition_bringup create3_spawn.launch.py namespace:=robot2 x:=3.0
  4. SEGFAULT on Gazebo server

Expected behavior
A second Create3 unit should spawn inside the simulation.

Additional context

  • OS: Ubuntu 22.04.2
  • Gazebo: Ignition Fortress
  • ROS: Ros Humble

The first unit works correctly with the /robot1 namespace

gazebo-log.txt
robot1-log.txt
robot2-log.txt
gdb-stack.txt

@Gior26 Gior26 added the bug Something isn't working label Mar 31, 2023
@roni-kreinin
Copy link
Collaborator

@Gior26 You probably need to update your ign_ros2_control package. Version 0.4.4 fixes this issue.

@Gior26
Copy link
Author

Gior26 commented Apr 1, 2023

Thanks, I've missed that dependency now everything works correctly.
I'm closing the issue.

@Gior26 Gior26 closed this as completed Apr 1, 2023
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

2 participants