SDK 4.0.8 & rotation issue

SDK 4.0.8 & rotation issue

ericdoleckiericdolecki Posts: 15Member
In my receivedRotation callback, I am doing the following:

func receivedRotation(quaternion: Quaternion, accuracy: QuaternionAccuracy, timestamp: SensorTimestamp) {

    let upDown = quaternion.xRotation

    print(upDown)

}


I am getting values on either side of 3. As I look up and down with my Rondo. I get

-3.1251947998767373

3.1243327857527246


etcetera. Nothing in between -3 and 3. I am unsure why this might be happening.

Comments

  • Nadine@Bose[email protected] Posts: 105Moderator
    Hi @ericdolecki ,

    For the data example app, is that the same thing you are receiving as well?
  • ericdoleckiericdolecki Posts: 15Member
    This is in my own app. I checked my Frames and they are up to date. Perhaps because SDK 4.0.8 is beta?
  • Nadine@Bose[email protected] Posts: 105Moderator
    Hi Eric, 

    I was hoping if you can actually run the data example app to see if you are getting the same numbers. The SDK should not have these issues. Our first debugging is to check the data example app to see if that is also the same result. 

    Please run the data example app so we can narrow it down to a hardware issue or software issue.  Please also confirm your firmware version as well for the hardware. 

    Thanks!!!
    --n
  • ericdoleckiericdolecki Posts: 15Member
    Interesting. I ran the latest data example app and it seems to be getting the proper values. I'm not sure what is different in that compared to mine - but I assume that I'll need to grab some code from the example app. Thanks :)
  • ericdoleckiericdolecki Posts: 15Member
    I am on the right track now. Thanks.
Sign In or Register to comment.