|
You could use the yaw rate sensor (aka, the Gyro) to do this. It would tell you when you were changing angles, like at the bottom and top of the ramp. On the ramp itself, the gyro would return a neutral (127) response.
__________________
Jeff Waegelin
Mechanical Engineer, Innovation First Labs
Lead Engineer, Team 148 - The Robowranglers
|