Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BNO055 Reference Orientation

    Highlighted
    New Poster

    BNO055 Reference Orientation

    I have just purchased the BNO055 sensor and am looking to use it with an Arduino board as an IMU sensor. I am specifically interested in obtaining Euler angle outputs. I am currently using the sample code, "rawdata", in Arduino IDE to obtain Euler angle measurements but am a bit unclear on what coordinate axes the outputted Euler angles are relative to. Is it the coordinate axes of the sensor each time it is powered on, or an absolute coordinate axes? Based on my own testing, it seems to be a combination of these, but it's possible that I'm somehow not using the sensor in the way that it's intended to be used. For example, no matter what Yaw angle I put the sensor in before powering it on, the sensor seems to initialize its starting Yaw angle as 0. This was not true, however, for the Roll and Pitch angles, as their initial values changed based on what the orientation of the sensor was when it was powered on.

    2 REPLIES 2
    Highlighted
    Community Moderator

    Re: BNO055 Reference Orientation

    By default,  the BNO055 starts every time with its own coordinate system which describe in datasheet.  

    if you want it to match your system coordinate, you need to configure the axis remapping register,  please refer to chapter 3.4 in BNO055 datasheet. 

    BNO055 by default starts from Android defination of Eular angles.  You can find detail defination in following link. 

     

     

    Highlighted
    New Poster

    Re: BNO055 Reference Orientation

    Is the sensor being initialized properly?  According to the datasheet, there are 5 fusion modes, but only 3 of them will provide absolute orientation data.  The other two are relative - one of them, i suspect, is the mode you're using.  NDOF mode is likely what you're looking for.   NDOF would be 0x1C, I believe.

    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