Bosch Sensortec Community

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

    Clarification required for three different accuracy values from bsx lite library

    Highlighted
    Established Member

    Clarification required for three different accuracy values from bsx lite library

    Hello,   I am using BSX Lite library on BMF055.     

    There are three different functions returning accuracy values related to orientation/magnetometer.

     

    - bsx_get_magcalibaccuracy

    - bsx_get_orient_datastatus

    - bsx_get_magcalibprofile  (returns a structure with 'accuracy' member)

     

    There are many instances where each of these accuracy values don't match.   All three with three different values.

    In one of the instances  - 

    - value from bsx_get_orient_datastatus is 3

    - value from bsx_get_magcalibprofile is 0

    - value from bsx_get_magcalibaccuracy is 2

     

    My understanding is that all these values should match.     They are called around the same time.

    Can you please clarify?

    Thanks.

    Tags (2)
    2 REPLIES 2
    Established Member

    Re: Clarification required for three different accuracy values from bsx lite library

    Any clarification/help would be appreciated.

    Community Moderator
    Community Moderator

    Re: Clarification required for three different accuracy values from bsx lite library

    bsx_get_magcalibaccuracy and the accuracy from bsx_get_magcalibprofile should be the same. If it is less than 3/3, I would personally not trust this heading too much. Once it reaches 3/3, it should only get out of a calibrated state if there is a magnetic disturbance.

    bsx_get_orient_datastatus is a bit different since it takes into account also the gyroscope and accelerometer. This is more likely to be <3, but if you are interested in heading accuracy, the magnetometer accuracy indicator is what you need.

     


    @janakiram wrote:

    My understanding is that all these values should match.     They are called around the same time.


    "around the same time" doesn't really mean much. Like I said earlier, if the mag accuracy does not stay at 3/3, you should find a better placement for the sensor without disturbances.

    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