mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 02:33:34 +08:00
AttPosEKF: Remove unused gps accel estimation
This commit is contained in:
@@ -328,6 +328,9 @@ GPS::task_main()
|
||||
//DEBUG BEGIN: Disable GPS using aux1
|
||||
orb_update(ORB_ID(manual_control_setpoint), sp_man_sub, &sp_man);
|
||||
if(isfinite(sp_man.aux1) && sp_man.aux1 >= 0.0f) {
|
||||
_report_gps_pos.timestamp_position = hrt_absolute_time();
|
||||
_report_gps_pos.timestamp_variance = hrt_absolute_time();
|
||||
_report_gps_pos.timestamp_velocity = hrt_absolute_time();
|
||||
_report_gps_pos.fix_type = 0;
|
||||
_report_gps_pos.satellites_used = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user