Please select Into the mobile phone version | Continue to access the computer ver.
Products + Follow Have 5 Audience + New Thread

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

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

5

Threads

7

Posts

59

Credits

Pre-School

Rank: 2

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

Use props Report

2

Threads

86

Posts

371

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
371
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