ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Assuming you have an IMU, look at the pitch angle:
It's basically like a Schmitt-Trigger if you are familiar with that.