Nate711 / Doggo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some Questions about Parameters

JacobShenHdu opened this issue · comments

What does the parameter of “leg_direction” mean?Which leg does leg0, leg1, leg2, leg3 represent respectively?Thank you.

leg0 is the front left. leg1 is the back left. leg2 is the back right. And leg3 is the front right.

leg_direction is a parameter related to which side of the robot the leg is on. The direction the legs on the right side rotate when the robot is walking forward is positive. The legs on the left side have to rotate the opposite direction relative to the body, so their leg_direction is negative.