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

[cob_drive_wheel] fix physics for gazebo - base drifting #265

Closed
fmessmer opened this issue Feb 15, 2019 · 3 comments
Closed

[cob_drive_wheel] fix physics for gazebo - base drifting #265

fmessmer opened this issue Feb 15, 2019 · 3 comments
Labels

Comments

@fmessmer
Copy link
Contributor

as mentioned and observed by @ipa-pfs both cob and raw are spinning when simulated in gazebo although no command is sent, i.e .they start spinning right after being spawned

this seems to be a physics (inertia, friction) problem of the base, most likely the drive_wheel model, as it can be observed that:

  • no command is sent by cob_omni_drive_controller
  • wheels are not oriented towards the observed motion
  • not all wheels are rotating/moving (check frames in rviz and gazebo in wireframe view)
@fmessmer
Copy link
Contributor Author

fmessmer commented Feb 15, 2019

this https://github.com/ipa320/cob_control/issues/187#issuecomment-462286083 seems to be related
@bvanelli FYI

@fmessmer
Copy link
Contributor Author

see ipa320/cob_simulation#165
@bvanelli @ipa-pfs FYI

@fmessmer
Copy link
Contributor Author

fmessmer commented Aug 5, 2019

I think the problem was a missing query for physics_type in the initSim function, which is used in https://github.com/ros-simulation/gazebo_ros_pkgs/blob/kinetic-devel/gazebo_ros_control/src/default_robot_hw_sim.cpp#L359-L372

this is fixed in ipa320/cob_gazebo_plugins@72fbd71

please re-open in case you are still facing this problem

@fmessmer fmessmer closed this as completed Aug 5, 2019
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

1 participant