gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.18k stars 480 forks source link

ODELink::SetKinematic(true) Leads to Model Disassembly in Simulation #269

Open osrf-migration opened 11 years ago

osrf-migration commented 11 years ago

Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).


osrf-migration commented 11 years ago

Original comment by Thomas Koletschka (Bitbucket: thomasko).


Actually I'm not able to reproduce this crash any more. It certainly doesn't crash when you enable kinematics for a single link through the Gazebo interface, but it crashed when i added True to every link in the drc robot's model.sdf ... setting kinematic to true in the "sdf" does not actually do anything though because the model.sdf is actually a urdf and hence it gets discarded during conversion I think.

I don't know why it segfaulted after changing this but it probably was due to something else so this ticket can be discarded. I'll open some other tickets related to this though.

Btw enabling kinematics for single links of the robot leads to interesting effects. Either your robot model starts to dissolve (when i tried it the first time I managed to separate all the links by enabling kinematic mode for all of them: http://i.imgur.com/8KUyi.png ) or it starts to spin around the link that has kinematic mode while all other links still react dynamically: http://youtu.be/Qd6iMOEgOj0

This might be a first step to having both kinematic and dynamic links in the environment, or maybe it's even supported already by switching all links of a robot to kinematic mode simultaneously? At least when enabling kinematic mode individually weird stuff seems to happen when there's more than 1 kinematic link in a robot, even when the kinematic links are connected to each other with no dynamic link between them.

osrf-migration commented 11 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


osrf-migration commented 11 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


I'm not sure about ODE, but it appears that the Bullet physics engine has support for kinematic bodies interacting with dynamic bodies (see page 24 of Bullet User Manual).

osrf-migration commented 11 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Removing version: 1.4 (automated comment)

osrf-migration commented 11 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Until 2.0

osrf-migration commented 11 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


osrf-migration commented 9 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


osrf-migration commented 8 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).