forked from Archive/PX4-Autopilot
inav : update for compatibility with new navigation limits architechture
This commit is contained in:
parent
9483885ed9
commit
1d1dec0a8b
|
@ -1375,8 +1375,10 @@ int position_estimator_inav_thread_main(int argc, char *argv[])
|
|||
// TODO provide calculated values for these
|
||||
local_pos.evh = 0.0f;
|
||||
local_pos.evv = 0.0f;
|
||||
local_pos.vxy_max = 0.0f;
|
||||
local_pos.limit_hagl = false;
|
||||
local_pos.vxy_max = INFINITY;
|
||||
local_pos.vz_max = INFINITY;
|
||||
local_pos.hagl_min = INFINITY;
|
||||
local_pos.hagl_max = INFINITY;
|
||||
|
||||
// this estimator does not provide a separate vertical position time derivative estimate, so use the vertical velocity
|
||||
local_pos.z_deriv = z_est[1];
|
||||
|
|
Loading…
Reference in New Issue