I am trying help a friend to get a metal deck to self level. There are 3 points of attachment on the deck.
The first point is in the front. It is connected to a piece of survey equipment that allows you to get an absolute point of level.
The other two point are on the back corner (roughly a triangle shape for attachments)
Essentially what i am looking to do is get the back two rams controlled by the arduino to find a spot as close to level as is feasible.
The back two point are set up so a stepper motor can turn a threaded rod which run them up and down. My initial inclination was for accelerometer, then I looked at gyros, then came IMU's......
What do you all recommend for attempting to get the deck leveled out?
Since this assembly rolls, how would this level be changed if the unit were to be on uneven ground? Would i need another sensor on the actual structure to compare readings and make sure the deck is "square" as well as "level"?
Thanks very much for your advice.
*edit - Thinking more on it.....
If i were to get 3 parallax distance sensor and mount them to the structure of the unit. Each has a "known distance" to the deck itself.
If i we to say the front sensor is showing the deck at 7" then i could just run the stepper motors in the back to correct the rear portion of the deck to make each also 7" distance.....
I don't know. Just spit balling here.