ethz-adrl/towr

how to increase leg lift height when swing phase?

EricWang1hitsz opened this issue · 2 comments

Thanks for your great code! Now I have a question, how to increase leg lift height when swing phase, walking on the flat floor?

You could increase the height of the range of motion constraint (blue boxes around the legs), which might cause the legs to be lifted higher (but not enforced). That's probably the easiest to try first.

Alternatively, you could add an additional line for the z-height here (you'll have to also update the Jacobian etc.) and add this constraint to the problem:

g(row++) = curr.v()(dim) - des_vel_center(dim);

Hope this help!