gazebosim / gazebo-classic

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

Swapping parent/child links for a joint can change joint location #1742

Open osrf-migration opened 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


The ability to swap the parent-child relationship in joints is being added in pull request #1887. During testing, I noticed that editing an existing model and performing this swap can change the location of the joint attachment, since the joint frame defined relative to the child link frame.

To reproduce, I inserted a double_pendulum_with_base, right-click -> Edit Model, then swapped the parent and child of the lower_joint. It behaves much differently after the swap.

It would require a little pose math to keep the same joint anchor after a swap.

This might not be a huge issue, since the swapping feature was motivated by joint creation, not modification of existing joints. I'm posting here for future reference.

osrf-migration commented 8 years ago

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