I'm am looking into building an auto-level for a moving platform. 1 DOF only.
The platform already has a hydraulic ram controlled by relays that are switched using a simple swinging pendulum.
The problem with the pendulum is that it gets a bit of a rock going.
My plan is to use an Arduino, an MPU6050 and br3tt's PID library to switch the relays.
Do you think that PID would be the best approach for this situation?