10-08-2019 11:21 AM
I am currently developing custom firmware and working with the bmm150 and bmi160 sensors. I would like to integrate Bsx Lite into my project and need clarification on the library input. When feeding the library with the struct "libraryinput_t", you set the relevant input equal "=" to a variable according to the input as seen below. What i am not sure of is.....do i create a new variable example, accel x,y,z or do i set the input to the variable of the senor struct.
Advice would be much appreciated.
10-15-2019 08:27 AM
To get fusion data of BSX lite, it's needed to get the raw sensor data.
You can directly "set the input to the variable of the senor struct": LibraryInput_ts.acc.data.x = X;
No need to clarify new "bmi160_sensor_data accel" if you don't use this struct to get raw data.