scaling um6 datas

Home Forums General Discussion scaling um6 datas

This topic contains 1 reply, has 2 voices, and was last updated by  Caleb 2 years, 8 months ago.

  • Author
    Posts
  • #834

    saeed

    hello
    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:
    X–> 11.98
    Y–>11.97
    Z–>10.98
    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?

  • #835

    Caleb
    Moderator

    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

You must be logged in to reply to this topic.