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

Setting initial positions of a kinematic chain is not possible #132

Open
christophfroehlich opened this issue May 31, 2022 · 1 comment
Open

Comments

@christophfroehlich
Copy link
Contributor

As a followup to #108, I just came up with another limitation: With using kinematic chains in the gazebo model, the solution of using SetPosition does not work:

(1653985691 636065512) [Dbg] [Link.cc:1724] we have a loop! cannot find nice subset of connected links, this link boom_cylinder_barrel connects back to parent moved_with_q1.
(1653985691 636103177) [Wrn] [Joint.cc:815] failed to find a clean set of connected links, i.e. this joint is inside a loop, cannot SetPosition kinematically.

The warnings are thrown here
https://github.com/osrf/gazebo/blob/gazebo11/gazebo/physics/Joint.cc#L813-L819
https://github.com/osrf/gazebo/blob/gazebo11/gazebo/physics/Link.cc#L1672-L1677

As far as I understand, SetPosition is simply not possible with kinematic chains, because the solution of the kinematics equations is not implemented within gazebo via position interface? Or does someone know a workaround for this?

@delipl
Copy link
Contributor

delipl commented Jun 2, 2024

I'm just bumping this during looking for solutions :D
https://robotics.stackexchange.com/questions/107157/how-to-control-a-closed-kinematic-chain-in-gazebo

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

No branches or pull requests

2 participants