I have an IMU device with an accelerometer sensor and I fix that on top of the linear motion rail.so it can only move to the right or left (in the x-axis) side.

How can I determine the direction (right or left) of movement base on the accelerometer's data and relative to the start point? Do I need other sensors' data?

  • $\begingroup$ How many degrees of freedom does the sensor have? Can it slide around the rail as well as along it? $\endgroup$ – holmeski Jul 29 at 23:22
  • $\begingroup$ The imu device has built-in 6 degrees of freedom. But I have attache that with glue on the top of the rail's wagon. $\endgroup$ – Mironline Jul 30 at 3:02
  • $\begingroup$ Have you been able to collect data from the imu moving around? How does it look? $\endgroup$ – holmeski Jul 30 at 11:26
  • $\begingroup$ this device sends accelerometer data in 200hz via wifi connection ( negative and positive float numbers). How does it look? I am not sure about your question! $\endgroup$ – Mironline Jul 30 at 20:00
  • $\begingroup$ Have you plotted the data? You should be able to slide your sled up and down the rail then determine the rotation of the sensor using the recorded values. Have you tried doing something like that? $\endgroup$ – holmeski Jul 30 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.