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

All links teleport to origin if model has a revolute2 joint. #2239

Closed
osrf-migration opened this issue Mar 23, 2017 · 7 comments
Closed

All links teleport to origin if model has a revolute2 joint. #2239

osrf-migration opened this issue Mar 23, 2017 · 7 comments
Labels
8.0 bug Something isn't working major

Comments

@osrf-migration
Copy link

Original report (archived issue) by Shane Loretz (Bitbucket: Shane Loretz, GitHub: sloretz).

The original report had attachments: revolute2_gz8.tar.gz


If a model has a revolute2 joint, all links will teleport to the origin when the model is inserted into a world gazebo 8. This does not happen on gazebo 7.5. A model that reproduces the behavior is attached

Gazebo 8

revolute2_gz8.gif

Gazebo 7.5 - how it should work

revolute2_gz7.gif

@osrf-migration
Copy link
Author

Original comment by packagewjx (Bitbucket: packagewjx).


I encountered this problem today. Fix this problem, please~

@osrf-migration
Copy link
Author

Original comment by packagewjx (Bitbucket: packagewjx).


I successfully avoid this bug by adding two revolute joint instead of one. Instead of using two links, I use three links. Suppose that the first link is what you want to revolute in two directions. Add a joint between the second link and the first link, and set it revolute in one direction. Hide the second link if you must. Then add a joint between the second link and the third link, which is the other joint you used to add a revolute2 joint. The result is that the first link can revolute in two axis.
I made a simple example below.
two revolute joint.png
Also I have to mention that revolute2 api have a lot of bugs, for gazebo v7.8.1. For example, I can't set the velocity, position, upper and lower limit of the second axis, and I can't get the position of it.
So, just use revolute joint.

@osrf-migration
Copy link
Author

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


  • changed title from "All links teleport to origin if model has a revolute joint." to "All links teleport to origin if model has a revolute2 joint."

@osrf-migration
Copy link
Author

Original comment by Gabriel Walton (Bitbucket: TriWalt).


it should be noted that this issue is also present in gazebo 9 as well.

@osrf-migration
Copy link
Author

Original comment by Martin (Bitbucket: mhubii).


it is still not fixed I guess

@osrf-migration
Copy link
Author

Original comment by Addisu Z. Taddese (Bitbucket: azeey, GitHub: azeey).


I have started working on a fix for this on the issue_2239 branch

@osrf-migration
Copy link
Author

Original comment by Addisu Z. Taddese (Bitbucket: azeey, GitHub: azeey).


  • changed state from "new" to "resolved"

Merged in issue_2239 (pull request #3024)

Fix Issue 2239: All links teleport to origin if model has a revolute2 joint.

Approved-by: Steven Peters scpeters@osrfoundation.org
Approved-by: Shane Loretz sloretz@osrfoundation.org

→ <<cset 8abbfa6>>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.0 bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant