mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
ekf2: publish control state gyro bias data
This commit is contained in:
committed by
Lorenz Meier
parent
28488cfcd0
commit
27e6f07485
@@ -711,6 +711,9 @@ void Ekf2::task_main()
|
||||
ctrl_state.roll_rate = _lp_roll_rate.apply(gyro_rad[0]);
|
||||
ctrl_state.pitch_rate = _lp_pitch_rate.apply(gyro_rad[1]);
|
||||
ctrl_state.yaw_rate = _lp_yaw_rate.apply(gyro_rad[2]);
|
||||
ctrl_state.roll_rate_bias = gyro_bias[0];
|
||||
ctrl_state.pitch_rate_bias = gyro_bias[1];
|
||||
ctrl_state.yaw_rate_bias = gyro_bias[2];
|
||||
|
||||
// Velocity in body frame
|
||||
Vector3f v_n(velocity);
|
||||
|
||||
Reference in New Issue
Block a user