Skip to content

Units of configuration vector, and order of legs in quadruped example #2374

Closed Answered by stephane-caron
JuJuManCheng asked this question in Q&A
Discussion options

You must be logged in to vote

I would like to ask if the unit you used in quadruped example is meters, quaternion and rediant.

The floating base joint will be in meters + quaternion, while joint angles are indeed in radians (some notes here in case it helps).

Also, I would like to check the order of the legs. Is it consistent with the order of joints in URDF file?

You can check the order of joints to make sure. I believe the quadruped example you are referring to is anymal-simulation.py, in which case the model would be an ANYmal B description. You can check joints by printing out the model:

$ python -i load_in_pinocchio.py anymal_b
Robot successfully loaded as <pinocchio.robot_wrapper.RobotWrapper object at 0x7f7…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by stephane-caron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2373 on August 14, 2024 19:19.