[Question] Quadruped Robot IK Test: Not All Legs Are Responding #3409
Replies: 2 comments
-
Thank you for posting this. The most likely reason not all legs of the quadruped are moving in this script is an issue with how the joint and body names are defined in the SceneEntityCfg and subsequently resolved to indices for each leg. When using regular expressions (such as "FL_.*" for joint_names), if the regex does not uniquely match exactly the three joints per leg (hip, thigh, calf), it may be resolving to an empty list or the wrong set of joint IDs for some legs. I will move this post to our Discussions section for follow up. Let us know if you make any inroads into resolving this. |
Beta Was this translation helpful? Give feedback.
-
@piggaycheng @RandomOakForest
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to apply inverse kinematics (IK) to a quadruped robot to get the target joint angles for each leg.
I've referenced the run_diff_ik.py program. I created a SceneEntityCfg for each leg of the quadruped and used a fixed command to perform a back-and-forth swing test, using a diff IK controller to calculate the target angles for each leg.
However, the results aren't what I expected. Leaving aside whether the calculated angles are correct, the most obvious issue is that not all legs are moving.
Here is my source code. Can anyone help me with this?
Beta Was this translation helpful? Give feedback.
All reactions