Bosch Sensortec Community

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

    BNO055 How to use Euler angles

    BNO055 How to use Euler angles

    insight
    Member

    Hi all,

    I'm using BNO055 to get Euler angles roll and pitch (angles are less 30 degrees, so not quaternions). After turning on the power of the sensor, I reset sensor and select the IMU mode, no more settings are performed. In the manual, I did not find a detailed description of the use of the Euler angles of this sensor, so I ask you to help with the following questions:

    1) What angle (roll, pitch, heading) which axis corresponds on the image of the default coordinate system (section 3.4 of the manual). 
    2) What is the default direction of rotation for each axis? The one indicated by the arrows in the image?

    2021-08-24--005231.png
    3) What is the default Fusion data output format (Android or Windows) on power-up and reset? The manual seems to be a contradiction: in table 4.2 (Register Map Page) the default value 0x80 is specified for the UNIT_SEL register, i.e. ORI_Android_Windows bit is equal to 1. Meanwhile, in item 4.3.60, this bit is set to 0 (after Reset).
    4) What is the order of the rotations? And do I need to rotate the axes of rotation when turning?

    7 REPLIES 7

    BSTRobin
    Community Moderator
    Community Moderator

    Since there was no further feedback, we close this topic first. You could update feedback in the future if you have.

    Hello, BSTRobin,

    Thanks for your reply. We tilted the sensor in different directions, and got the following:

    1) The value of the pitch angle increased when we tilted the Y-axis up (i.e. rotated the sensor around the X-axis counterclockwise). This matches the description of the "android" orientation in the manual, page 30 ("turning clockwise decreases values"). But earlier you wrote that "Default setting is windows orientation" (i.e., according to manual, "turning clockwise increases values"). 

    2) The value of the roll angle decreased when we tilted the X-axis up (i.e. rotated the sensor around the Y-axis clockwise).  This doesn't match your post  above that "when the x axis nose up, the roll angle increases".

    BSTRobin
    Community Moderator
    Community Moderator

    Hello insight,

    Sorry, correct previous reply "3.Default setting is windows orientation. Haven't find contradiction, please refer the following picture from data sheet:".
    Bit 7 of UNIT_SEL_0x3B value is 1, so the default setting is Andoird orientation.

    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