erwincoumans / motion_imitation

Code accompanying the paper "Learning Agile Robotic Locomotion Skills by Imitating Animals"
Apache License 2.0
1.18k stars 292 forks source link

Some questions of twisting_vector #90

Open tractormaster4596 opened 2 weeks ago

tractormaster4596 commented 2 weeks ago

in this file :mpc_controller /raibert_swing_leg_controller.py , at line 181 twisting_vector = np.array((-hip_offset[1], hip_offset[0], 0))

I can not understand why do this process, and why the vector like this -hip_offset[1], hip_offset[0], 0, can anyone help me?

Explanations and links to papers are all fine.