mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 07:03:33 +08:00
Disable rate control, disable offset estimation
This commit is contained in:
@@ -418,9 +418,10 @@ int attitude_estimator_ekf_thread_main(int argc, char *argv[])
|
||||
att.pitch = euler[1];
|
||||
att.yaw = euler[2];
|
||||
|
||||
att.rollspeed = x_aposteriori[0];
|
||||
att.pitchspeed = x_aposteriori[1];
|
||||
att.yawspeed = x_aposteriori[2];
|
||||
// XXX replace with x_apo after fix to filter
|
||||
att.rollspeed = raw.gyro_rad_s[0]; //x_aposteriori[0];
|
||||
att.pitchspeed = raw.gyro_rad_s[1]; //x_aposteriori[1];
|
||||
att.yawspeed = raw.gyro_rad_s[2]; //x_aposteriori[2];
|
||||
|
||||
/* copy offsets */
|
||||
memcpy(&att.rate_offsets, &(x_aposteriori[3]), sizeof(att.rate_offsets));
|
||||
|
||||
Reference in New Issue
Block a user