Bosch Sensortec Community

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

    BNO055 mounted vertically

    BNO055 mounted vertically

    skinnychris
    Occasional Visitor

    Hi,

     

    I've just started exploring using the BNO055, so please excuse my question if it's dumb. I chose the sensor because of the availiblity of Euler outputs, and that's what I'm using.

    I have the sensor working correctly providing it's flat, but I wish to mount the sensor vertically. When I try using the sensor vertically, and try to remap the axis using the AXIS_MAP_CONFIG register I can't seem to get it to work. In my case, Y remains as the default reset value, but X and Z axis are swapped.

    After the remap, Y doesn't seem to output anything sensible. With sensor vertical and stationary Y goes from 180 towards 0, or -180 towards 0, depending on the rotation around Y. The output of Y seems to start lagging the motion and not truly representative of the angle of its been rotated by.

    Am I missing something here, like the remap doesn't work with Euler, or you can't mount the sensor vertically?

    Cheers,

    Chris

     

     

    6 REPLIES 6

    soroush
    Established Member

    Thank you for your reply and the document.

    When I walk through the first example in the provided document, it totally makes sense with the datasheet, but in the second example, on the paper I get the following values instead which is confusing:
    Register axis_map_config 0x41 = 0b00(00)(10)(01) = 0x09
    |  Z_body     | Y_body     | X_body    |
    |+X_55(00)|-Z_55(10)|-Y_55(01)|

    Register axis_map_sign 0x42 = 0b0000 0(1)(1)(0) = 0x06
    | X_body |  Y_body |   Z_body |
    |-Y_55(1)|-Z_55(1)|+X_55(0)|

    I am confused about what I am missing.

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Yes, you are right. Sorry for the mistake in my previous document. Please see the attached corrected "BNO055 axis remapping v2.pdf".

    Thanks.

    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