Go Down

Topic: Measuring inclinations of a moving vehicle with an accelerometer (Read 5187 times) previous topic - next topic

jremington

You need code that can calculate 3D orientation from the 6DOF sensor.

The Madgwick and Mahoney AHRS filters are popular, and it is likely that someone has adapted one or both to the LSM6DS3.  Google would probably know.

hammy

Why not a potentiometer attached to the suspension , one each side . Or, if you vehicle has anti roll bars then a strain gauge on that would give you a signal.
Some cars have pots so mounted for self levelling etc, so there probably are parts around you could use.

Go Up