Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BNO055 Reference Orientation

    alx1822
    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.

    4 REPLIES 4
    Vincent
    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. 

     

     

    c_bot
    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.

    Papalight
    New Poster

    Re: BNO055 Reference Orientation

    Hello!

    I have the same issue with @alx1822. I use the BNO055 on NDOF mode and, although the Roll and Pitch euler angles have varying initial values depending on the position of the sensor when it is powered on, this is not the case with the Yaw value, which is initialized on 0.0.

    When I tested the COMPASS mode, which offers absolute orientation as the NDOF mode, according to the datasheet, all 3 values (Yaw, Pitch, Roll) have varying initial values depending on the position of the sensor when it is powered on. Why does this not happen with the NDOF mode?

    Regarding your point that the BNO055 start every time with its own coordinate system, if this is the case on this modes, shouldn't all 3 initial values equal to 0 when the sensor is powered on?

    The reason why I would prefer to use the NDOF mode, instead of the COMPASS one, is that in the latter, the measurement accuracy depends on the stability of the surrounding magnetic field. 

    I would appreciate your answer/help! Thanks in advance!

    Vincent
    Community Moderator

    Re: BNO055 Reference Orientation

    Did you calibrated sensor and achieve the calibration level 3?  

    Under NDoF mode,  after fully calibrated,  BNO055 heading output should point to North.   

    Suggest here is every time turn on the sensor,  you need perform calibration movement or load the calibration parameters from last time while achieve calibration level 3.  

     

    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