Hello,

I just tried the SendVirtuakSensorDataOverUsb Application and found the possibility to print the Compass Sensor data. There the heading is printed and the printed angels look good when I compare that to my calibrated iPhone App.
But I found no hints how this is calculated.
As I have a similar problem of Orientation to solve fo another Hardware but with the same Sensor I'm very interested on how this is done. Is there somebody at BCDS I can contact regarding that issue?
0 (0 Votes)
Compass Heading SendVirtuakSensorDataOverUsb
Answer
2/28/16 4:50 PM as a reply to Tobias Hoffmann.
Hello Tobias,

the SendVirtualSensorDataOverUsb demo project uses the Orientation module from the SensorToolbox. In the API Documentation, it says that this module uses data from the BMI160 (inertial) and BMM150 (magnetometer) sensors. As the sources of the module aren't shipped with the SDK, we don't know how exactly the orientation is calculated. But since we know that these sensors provide
- euler degrees (pitch/yaw/roll) (BMI160)
- magnetic field strength on x, y and z axis (BMM150)
I would naively assume they determine where "up" is, look for the peek of the magnetic field in the plane orthogonal to "up" and classify it's direction into an orientation. For mathematical details on this calculation, this guide may be interesting.

If you need further details on the implementation, you can send me your email address and I will forward it to the proper contact person at BCDS.

Kind regards,
Manuel
0 (0 Votes)
Compass Heading SendVirtuakSensorDataOverUsb
Answer
2/29/16 10:28 AM as a reply to Manuel Cerny.
you can find my email adress in my profile.
Thank you for bringing me into contact with the BCDS contact person.
0 (0 Votes)
RE: Compass Heading SendVirtuakSensorDataOverUsb
Answer
5/23/16 8:41 AM as a reply to Tobias Hoffmann.

Hello Tobias,

sorry for the long delay. It took a while to settle your issue. Unfortunatly I have to tell you that your issue resides outside of the supported area. But if you want to deepen this topic, BCDS offers the opportunity to develop individual projects. Please feel free to contact us here.

Kind regards
Manuel

0 (0 Votes)