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

[Simulation] Gazebo ROS control crashes the robot #30

Closed
1 task
stevendes opened this issue Apr 9, 2023 · 5 comments
Closed
1 task

[Simulation] Gazebo ROS control crashes the robot #30

stevendes opened this issue Apr 9, 2023 · 5 comments
Labels

Comments

@stevendes
Copy link
Member

Summary

Using Gazebo ROS Control with the current robot configuration sometimes crashes the robot under specific movements, high values for the PID, or high-velocity commands being sent.

227820811-9ccda818-f486-4715-bd65-88ecee9d62de

Different mass values improve the behavior, indicating that it could be an issue with the Inertia values and how Gazebo ROS control interacts.

Definition of done

  • Gazebo ROS control works as expected.
@francocipollone
Copy link
Collaborator

One thing to try for isolating the issue is tryting the diff drive plugin without ros control to see if is an issue introduced by gazebo_ros_control or if it is originated by the robot description.

@stevendes
Copy link
Member Author

You mean the Gazebo Diff Drive plugin, right? I already test it with it, and it works fine, and the robot physics also works fine when you are not loading gazebo_ros_control.

@francocipollone
Copy link
Collaborator

You mean the Gazebo Diff Drive plugin, right? I already test it with it, and it works fine, and the robot physics also works fine when you are not loading gazebo_ros_control.

Ah interesting. Then I would say that if this issue isn't solvable and we can confirm that it is an issue within ros gazebo control maybe we could offer the simulation to have two different setups:
1 - Using gazebo diff drive plugin by default
2 - Using gazebo_ros_control

To be selected by using a launch argument when starting the simulation.

In a way that if necessary the regular gazebo diff drive plugin can be used and we have a fully operative simulation.

@stevendes
Copy link
Member Author

I'm not sure if the issue is solvable, but adding gazebo_diff_drive as an option is not hard, I'll tag you in the PR when I have it ready.

@francocipollone
Copy link
Collaborator

Closing as noetic isn't supported anymore

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

No branches or pull requests

2 participants