Products + Follow Have 7 Audience + New Thread

Horizon中如何使用IMU解析初始角度和消除重力影响?

[Copy Link]
Author: Lx666 | Time: 2021-6-29 17:03:18 | HORIZON|
1 3552

5

Threads

7

Posts

61

Credits

Pre-School

Rank: 2

Credits
61
Posted on 2021-6-29 17:03:18| All floors |Read mode
Horizon中自带的IMU静止时IMU的线性加速度为0 0 1,如何通过这个计算初始角度并以此消除重力影响呢?
Reply

Use props Report

2

Threads

267

Posts

1079

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
1079
Posted on 2021-7-1 21:45:26| All floors
IMU静置时会有1g的重力加速度,通过线性加速的XYZ数值可以计算出安置角度的。
设备风扇朝下平放时会是0,0,1,此情况下可直接减1,以抵消重力加速度。
Reply

Use props Report

You need to log in before you can reply Login | Register

Credit Rules

Quick Reply Back to top