-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Simulation, Humble] Segmentation fault in gzserver
#68
Comments
I noticed that
can successfully instantiate the differential driver controller which listens on
fails. I noticed that last commits came from @HPaper . Can you help with this issue @HPaper ? |
base.launch is supposed to run the hardware_interface required to operate the actual hardware. If you want to run turtlebot3_manipulation in gazebo, run gazebo.launch.py of turtlebot_manipulation_bringup. |
When I launch the simulation using
Then I get the following segmentation fault:
In the end the ros2_control nodes cannot be created and the simulation does not work @HPaper . Please see my first post for details. BTW turtlebot3_manipulation/turtlebot3_manipulation_bringup/launch/gazebo.launch.py Lines 120 to 127 in 3baa265
this is the reason why I tried to debug using |
I have new insights. I started and killed the simulation using CTRL-C about 10 times. The simulation worked in the third and in the tenth time. In all other times the I remember something similar happening in My environment: ROS Docker image with I tried also on a local computer using the same Docker image. The simulation worked in about 5 of 10 tries. Maybe this is a race issue and the plugin must be loaded in a specific order. How to move forward:
Do you have other ideas? |
@goekce From what I can see, your issue seems to be that the simulation fails to start intermittently when gzserver crashes while running gazebo.launch.py. I recently encountered a similar issue and debugged it on the humble-devel branch. The branch where the issue has been fixed is updated on humble-teleop. I have confirmed that when running $ ros2 launch turtlebot3_manipulation_bringup gazebo.launch.py, it successfully starts 10 out of 10 times. |
I followed the instructions in https://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#software-setup for Humble. I had to install the following packages:
When I launch the simulation using
Then I get the following segmentation fault:
In the end the ros2_control nodes cannot be created and the simulation does not work.
The simulation uses the Gazebo plugin
libgazebo_ros_diff_drive.so
which comes withros-humble-gazebo-plugins
. Withoutros-humble-gazebo-plugins
the simulation starts and the arm can be moved but not the base, becauselibgazebo_ros_diff_drive.so
is responsible for reading/cmd_vel
messages.My hunch ist that 62c83db could be responsible for the segmentation fault, maybe because
ros2_control
andlibgazebo_ros_diff_drive.so
are used together.Can someone help me with this problem?
The text was updated successfully, but these errors were encountered: