Closed r3n33 closed 1 year ago
There's code in the ps3_demo here:
https://github.com/Interbotix/HROS1-Framework/blob/master/Linux/project/ps3_demo/StatusCheck.cpp#L60
..that does this, but its commented out for the time being, pending another update with getup motions and more thorough testing now that the gait is more stable.
MotionManager maintains MotionStatus::FALLEN and a check can be introduced in ps3_demo/StatusCheck.cpp to stop the walk gait when the robot has fallen forwards or backwards.