05-30-2020 06:54 AM
hi,could i use the function BSX_S8 bsx_get_gyrocordata_rps(ts_dataxyzf32*) in BSXLITE fusion library ?
and i find that ts_dataxyzf32* is in BsxLibraryDataTypes.h.
/*struct ts_dataxyzf32*/
/*brief 3-axis data as F32*/
typedef struct{
BSX_F32 x; /**< x-axis data */
BSX_F32 y; /**< y-axis data */
BSX_F32 z; /**< z-axis data */
}ts_dataxyzf32;
but i find other functions that also use 'ts_dataxyzf32*'in BSXLITE fusion library,such as BSX_S8 bsx_get_acccordata(ts_dataxyzf32*);
how can i distinguish between them?
could i use them directly?
thanks
06-09-2020 02:35 AM
i think the range is from -2g to 2g m/s2.
so if the data is 32768,and the output is 2g m/s2.
right?
06-16-2020 12:14 AM
It is depending on the physical sensor setting.
If you set the sensor to 2G range, then the lib output full range is +-2G.
If you set the sensor to 4G range, then the lib putput full range is +-4G.
BSX lite is just calculation the sensor data