Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    IMU BNO055 - Orientation on y-axis just between 90 and -90

    IMU BNO055 - Orientation on y-axis just between 90 and -90

    xeonus
    Member

    Hello,

    I am using a BNO055 to track the orientation of a skateboard. While using the "sensorAPI" example given by the BNO library, which output is the orientation, I am getting 0 to 360° for x and Z axis but just -90 to 90° for Y. Why is it doing that. The problem for me is, that 135° and 45° are the same.. both times 45.
    I think i am missing some information. 

    Thanks for any help!

    7 REPLIES 7

    Jet
    Occasional Contributor

    Hi Xeonus:

         Did you choose NDOF mode?

         I checked this mode and got the same result as you do. 

         I think this result could be related to the different axis map or the different reference frame. You can remap sensor axises to modify the result you need.

         Hopefully, it can help you.

     

    Hey Jet,

    yes i am operating in NDOF mode.

    I looked into that data sheet: https://cdn-shop.adafruit.com/datasheets/BST_BNO055_DS000_12.pdf    Page 24, 25
    for the axis modification. I have not tried it, but it is described as a tool to modify the axis to your mounting position of the sensor. So your output is just positive numbers or whatever you want. 

    But i think this wont solve the problem with -90 to 90° range of Y.

    If I overlooked something please let me know.

    Another thing, do you use your BNO to get euler angles? If yes how do you do it?

    Thank you and have a nice day 🙂
    xeonus

    Jet
    Occasional Contributor

    Hi Xeonus:

        Did you have a try to remap sensor axises and then observe the results?

        What is your own criterion? How did you know it?

        Actually according to Euler angle definition, BSX algorithm output these values after remapping sensor axises correctly.

        So before you get correct orientation values, you should remap your sensor axised based on its pcb placement if it is not P1 placement in the datasheet.

        And then compare the output results with other device which have the corresponding output, like smartphone with Qsensortest APP.

       

    Hey Jet,

    i found this in the Quick Start-Guide: Roll Rotation around y-axis: -90 to 90. 
    https://www.bosch-sensortec.com/products/smart-sensors/bno055/
    On page 4. 

    I have not figures out yet how to remap the axis. I am working in the Arduino IDE and I looked into the datasheet of the BNO. I know which placement i need but not how to configure it. What kind of command do I need for that?

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist