-
Notifications
You must be signed in to change notification settings - Fork 69
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
Enforce meaningful initial joint ordering for chain models #491
Comments
I think this can be implemented as a pass on the model after the model has been loaded, similarly to the process we use to remove "fake" link and transform them in additional frames. |
Note that the problem was actually there also with the old parser, the new parser just highlighted the issue. |
Hello again ! We are now 5 people working on this and we tried to load a human urdf. human_joint_wrong_order_as_given_by_iDynTree.txt Thanks again for your help ! |
And |
I am not sure how you define the "correct" ordering for a tree kinematic structure. The order with which the |
You're right it's not trivial. In what order does gazebo load the joints ? |
Not really sure, but to be honest the Gazebo API does not really use joint/dof serialization a lot (for example there are no methods to get/set joint positions/velocity/accelerations as a vector . |
This is strange. Which one? |
False alarm on my tests.. mister @rlober ? |
@traversaro False alarm, 32 joints loaded with and without the PR. Good to go sir ! |
Very true. If nothing is ordered, then maybe having an ordered map could at least help visibility.
What do you think ? |
"Having an ordered map" in which sense? The |
I meant order them alphabetically as a rule of thumb, just to improve readability.
is very strange. You'd expect them to be 0-1-2 (or 18-19-20). |
Mhh, the problem is that pure alphabetic ordering will fail to work for chains (unless the name of the chain are |
Yes this remark is only valid for non-chains. |
any news on this issue ? |
I try to get #492 merged before the end of September, for release 0.12, that I need to use for an IIT-internal project. |
Any news on this and 0.12 release ? |
Thanks for the ping, we'll try to do a release by the end of November. |
Fixed by #492 . |
Using the new parser introduced in #460, it is possible that joints of a chain model are loaded out of order.
Why the precise mapping between joint indexes and joint names cannot be fixed, at least the simple invariant that a chain robot with joints
joint_0
,joint_1
,joint_2
, ... should be have index 0, 1, 2, etc etc should be respected. This is especially required by industrial robots.The text was updated successfully, but these errors were encountered: