How to remap the axes, I did not find another way how to do remapping through Bosch software.
I pass the data through the Madgwick filter and get the roll, pitch and heading angles at the output.
But if I use this data when the board is in a vertical position, I have very small movements, due to the lack of axes.
But if I use the received data for processing and visualize them using the transformation matrix, then all rotations of the body are normally performed.
As far as I understand, there are two ways to solve the problem with the orientation of the axes:
changing raw data directly in the Bosch sensor
application of the transformation matrix, but this requires the computing power of the microcontroller
Unfortunately, I did not find working examples with axis orientation for BMI160.
I use such a board in the device![BMI160](https://github.com/hanyazou/BMI160-Arduino/assets/1788098/c9808d64-8e37-45de-aa8e-b612abdabbdb)
only placing it not horizontally, but vertically.![Скриншот 10-08-2023 19 36 00](https://github.com/hanyazou/BMI160-Arduino/assets/1788098/1d85da52-ded5-474f-94cd-549439cf14f0)
How to remap the axes, I did not find another way how to do remapping through Bosch software.
I pass the data through the Madgwick filter and get the roll, pitch and heading angles at the output. But if I use this data when the board is in a vertical position, I have very small movements, due to the lack of axes. But if I use the received data for processing and visualize them using the transformation matrix, then all rotations of the body are normally performed.![Скриншот 10-08-2023 22 58 59](https://github.com/hanyazou/BMI160-Arduino/assets/1788098/665fac49-14ef-422f-8a4c-94287aa7a4be)
As far as I understand, there are two ways to solve the problem with the orientation of the axes: