robomechanics / quad-sdk

Software tools for agile quadrupeds, developed by the Robomechanics Lab at Carnegie Mellon University.
https://robomechanics.github.io/quad-sdk/
MIT License
694 stars 132 forks source link

May I ask how the torque applied about the pitch axis in the paper is calculated(𝜏_𝑝)? #381

Closed nanbwrn closed 1 year ago

nanbwrn commented 1 year ago

I have been studying a paper written by your team recently and have benefited greatly. (Fast Global Motion Planning for Dynamic Legged Robots), I have the following questions. Can you help me answer them? a) There is a formula in the paper that calculates acceleration, do I understand it correctly ad7e068e0b1814f6af94026121efb75

b) and there is a torque applied about the pitch axis. I am not quite sure about this. May I ask how this is calculate.

ardalantj commented 1 year ago

@jcnorby Any thoughts on this?

jcnorby commented 1 year ago

This term was essentially bounding the net angular acceleration about the pitch axis of the robot - it isn't tied to any particular actuator but generally ensures that pitch accelerations aren't excessive.

That said, this term is no longer present in the QuadSDK implementation, as pitch is now computed to align with a filtered terrain normal to ensure that the likelihood all feet can reach the ground is maximized. In practice this yields better solutions than adding this term to the random sampler, and is sufficiently accurate for a global planner (local planners can refine this as needed). Hope that helps!