mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 14:53:35 +08:00
vehicle_global_position remove redundant evh and evv
- vehicle_status_flags condition_global_velocity_valid is also unnecessary
This commit is contained in:
@@ -1397,10 +1397,6 @@ int position_estimator_inav_thread_main(int argc, char *argv[])
|
||||
global_pos.eph = eph;
|
||||
global_pos.epv = epv;
|
||||
|
||||
// TODO provide calculated values for these
|
||||
global_pos.evh = 0.0f;
|
||||
global_pos.evv = 0.0f;
|
||||
|
||||
if (terrain_estimator.is_valid()) {
|
||||
global_pos.terrain_alt = global_pos.alt - terrain_estimator.get_distance_to_ground();
|
||||
global_pos.terrain_alt_valid = true;
|
||||
|
||||
Reference in New Issue
Block a user