mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 04:13:35 +08:00
Rover: Rewrote gnd_pos_control and removed gnd_att_control (#12239)
This commit is contained in:
committed by
Daniel Agar
parent
3743e6d8fb
commit
2ed00c9cb6
@@ -753,6 +753,9 @@ Navigator::get_default_altitude_acceptance_radius()
|
||||
if (get_vstatus()->vehicle_type == vehicle_status_s::VEHICLE_TYPE_FIXED_WING) {
|
||||
return _param_nav_fw_alt_rad.get();
|
||||
|
||||
} else if (get_vstatus()->vehicle_type == vehicle_status_s::VEHICLE_TYPE_ROVER) {
|
||||
return INFINITY;
|
||||
|
||||
} else {
|
||||
float alt_acceptance_radius = _param_nav_mc_alt_rad.get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user