Replies: 2 comments
-
Hi @hojae-io ,
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah that would be appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone.
I'm looking into the ordering of the
joint_names
andbody_names
inarticulation.py
It seems the name ordering is based on the hierarchical ordering of the URDF rigid body linking.
For instance, when I call
asset.data.joint_names
,I get
['a01_right_hip_yaw', 'a06_left_hip_yaw', 'a02_right_hip_abad', 'a07_left_hip_abad', 'a03_right_hip_pitch', 'a08_left_hip_pitch', 'a04_right_knee', 'a09_left_knee', 'a05_right_ankle', 'a10_left_ankle']
However, the ordering I want is alphabetical ordering such as
['a01_right_hip_yaw', 'a02_right_hip_abad','a03_right_hip_pitch', 'a04_right_knee', 'a05_right_ankle', 'a06_left_hip_yaw', 'a07_left_hip_abad', 'a08_left_hip_pitch', 'a09_left_knee', 'a10_left_ankle']
So I looked to the
articulation.py
where I found these lines of codes where I cannot dig into anymore.My questions are
I do not want to explicitly convert the ordering using another function, since I want all the related properties (stiffness, damping, inertia, friction etc..) to be ordered accordingly.
Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions