-
Notifications
You must be signed in to change notification settings - Fork 23
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
Gazebo crashes without throwing any error if we add the accelerometers to the URDF #54
Comments
Crash report:
As we can see, Gazebo is crashing when converting the loaded The issue occurs even without adding the plugins responsible for collecting the inertial sensors data ( When adding the sensors one by one we can reproduce the issue as soon as we add an accelerometer on the left or right foot. If the same sensor is attached to any other link, the problem doesn't occur. Note: Actually the issue can be easily observed by using the urdf->sdf converting tool from Gazebo directly on a terminal:
This command will fail with a segmentation fault 11 in the same conditions as the main application Gazebo. |
So, to sum up, adding a single accelerometer wrapped as follows causes the crash:
The issue disappears again if remove the blob setting the bounce parameters on the same foot:
So the issue is caused by a conflict between the |
We would like to use the debug information from |
This looks like a bug in Gazebo. Fixed by moving the bouncing and friction parameters of the foot sole before the inertial sensors parameters: nunoguedelha/icub-models@868a19f |
I Had to rename the model back to |
Good catch and great work @nunoguedelha! Let's wait @traversaro for the merge. |
Great job @nunoguedelha . Do you have a minimal example for reproducing this issue? If it is easy to reproduce with |
@traversaro @diegoferigo I opened the issue on bitbucket sdformat repo: Didn't have time to replace the meshes my simple shapes but it shouldn't be problem for them. |
Fixed by PR robotology/simmechanics-to-urdf#25 instead of waiting for sdformat issue resolution. The fix results in generating a |
This issue occurred while testing updates not yet released to the model generator toolchain (#49, #52).
Conditions for reproducing the issue
The initial URDF model that could be loaded successfully in Gazebo was in the commit nunoguedelha/icub-models@6b74550 (branch
feature/updateModels
). This commit includes :We then merged the changes from robotology/icub-models#2:
Symptoms
The resulting URDF (nunoguedelha/icub-models@3aab750) is making Gazebo crash.
We are using Gazebo version 8. No error is apparently thrown by the simulator, but a crash report is saved when testing on Mac OSX environment.
The text was updated successfully, but these errors were encountered: