forked from Archive/PX4-Autopilot
fw_att_pos_estimator: lines were commented out by mistake
This commit is contained in:
parent
c3c0328e8b
commit
d41a01483a
|
@ -1035,8 +1035,8 @@ FixedwingEstimator::task_main()
|
|||
_local_pos.z_global = false;
|
||||
_local_pos.yaw = _att.yaw;
|
||||
|
||||
// _velocity_xy_filtered = 0.9f*_velocity_xy_filtered + 0.1f*sqrtf(_local_pos.vx*_local_pos.vx + _local_pos.vy*_local_pos.vy);
|
||||
// _velocity_z_filtered = 0.9f*_velocity_z_filtered + 0.1f*fabsf(_local_pos.vz);
|
||||
_velocity_xy_filtered = 0.9f*_velocity_xy_filtered + 0.1f*sqrtf(_local_pos.vx*_local_pos.vx + _local_pos.vy*_local_pos.vy);
|
||||
_velocity_z_filtered = 0.9f*_velocity_z_filtered + 0.1f*fabsf(_local_pos.vz);
|
||||
|
||||
|
||||
/* crude land detector for fixedwing only,
|
||||
|
|
Loading…
Reference in New Issue