I’m getting data from um6 sensor but something is wrong in reading data.
I don’t know what changes I have to make in data which is coming from um6 to get the correct and sensible data.
for example for acceleration in X,Y,Z when um6 have zero roll and pitch angle the accelerations are:
but the data should be 0,0 and -1. I also shifted accelerations -12, to make them 0,0 and -1. but it didn’t work good in other pitch and roll angles. for example in 8 degree of pitch angle X acceleration become 12!
what should I do?
What are you using to read and parse the data? There are two possibilities: either the accel data is being interpreted incorrectly as you are reading it from the packet, or the proper scale factor isn’t being applied. Check out the datasheet for more details: http://www.chrobotics.com/docs/UM6_datasheet.pdf