Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 Z-Axis Output values changing but they shouldn't

    VD_2222
    New Poster

    BNO055 Z-Axis Output values changing but they shouldn't

    Hi Community,

    i have a problem regarding BNO055's euler angle output values.

    I am using the BNO055 in combination with an Microchip-Atmel SAMD21 MCU and Bosch's standard C Library.

    I configured the BNOs axis-remap-sign register to match the orientation on my board. According to the App-Note BST-BNO055-DS000-17 (Page 17), i figured out i need to put it in mode "P3". Operation mode is NDOF, because i need the fused data to match accuracy and distortion robustness requirements.

    Now to the application:

    I have to measure the rotation of an object only on the z-axis. The BNO could be mounted horizontally or vertically, but i only need the rotation angle for the z-axis. (heading, z-axis, yaw...)

    x -and y-axis can be completely ignored in my application. I dont want to use the Quaternion output because i think its not necessary for my application (correct me if i HAVE TO use it).

    The Problem:

    The BNO is not only considering the rotation on the z-axis on its euler output value (the value for the yaw, heading) but also, depending on its orientation, the x-axis. So the euler output value for the z-axis is changing while there is no rotation arround the z-axis. But if i turn my board a 90 dgrees, the bno suddenly considers a rotation on the x-axis as a rotation on the z-axis. And i dont mean that the euler value given by the bno is changing only by a few degrees, its changing like it would normally. It doesnt jump arround or so. Thats also the case for quaternion output format. I hope you can follow my explanation. I am confident that i know what im doing and im sure i configured all the registers i have to configure.

    I have read that, depending on its orientation in space, depending in which direction the gravity force from earth is taking effect, the BNO switches its reference axis on its own. But that shouldn't be the case when im configuring the axis-remap-registers, am i right?

    So im very thankful for any answers regarding this / my "problem". Im sure i am getting some basic stuff wrong or didn't find the right part in the app note.

    1 REPLY 1
    BSTRobin
    Community Moderator

    Re: BNO055 Z-Axis Output values changing but they shouldn't

    Hello VD_2222,

    Could you confirm if your axis remapping was correct that your sensor placement matched your coordinate system?

    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