Physics Sensor Transformer
This microcontroller transforms the physics sensor's values as follows.
1. Map X
2. Map Y
3. Altitude
4. Euler angle(Bank angle, a.k.a. roll angle)
5. Euler angle(Elevation angle, a.k.a. pitch angle)
6. Euler angle(Azimuth, North:0, CW)
7. Local x linear speed(Forward +)
8. Local y linear speed(Right +)
9. Local z linear speed(Downward +)
10. Local x angular speed(Roll)
11. Local y angular speed(Pitch)
12. Local z angular speed(Yaw)
13. Abs. linear speed
14. Compass
15. Euler angle(Azimuth, East:0, CCW)
16. Tilt x
17. Tilt y
18. Tilt z
19. World X linear speed(East +)
20. World Y linear speed(North +)
21. World Z linear speed(Upward +)
Set the sensor as follows.
Blue arrow is facing front.
Red arrow is facing right.
Green arrow is facing upward.
DO NOT USE MIRRORING.
The local axis is right hand system, and local x is facing front, local y is facing right, local z is facing downward.
If you find a bug, please post a comment.