PoseExtrapolator & ImuTracker
阿新 • • 發佈:2018-12-14
1. ImuTracker
- 使用IMU的角速度和線性加速度跟蹤方向。 因為平均線性加速度(假設慢速運動)是重力的直接測量,所以滾動/俯仰(roll/pitch)不會漂移,儘管偏航(yaw)會漂移。
- 輸入:
- 時間 (common::Time time)
- 線加速度 (Eigen::Vector3d linear_acceleration)
- 角速度 (Eigen::Vector3d angular_velocity)
- 輸入例項:
header: seq: 34496 stamp: secs: 1474964355 nsecs: 312731655 frame_id: "gyro_link" orientation: x: 0.0 y: 0.0 z: 0.0 w: 0.0 orientation_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] angular_velocity: x: -0.0015271630955 y: 0.024740042147 z: -0.0226020138133 angular_velocity_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] linear_acceleration: x: 0.0 y: 0.0 z: 9.8 linear_acceleration_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
- 輸出:當前的方向估計(Eigen::Quaterniond orientation_)