mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 04:03:34 +08:00
navigator: fix typo
This commit is contained in:
@@ -182,7 +182,7 @@ MissionBlock::is_mission_item_reached()
|
|||||||
|
|
||||||
float altitude_acceptance_radius = _navigator->get_altitude_acceptance_radius();
|
float altitude_acceptance_radius = _navigator->get_altitude_acceptance_radius();
|
||||||
|
|
||||||
/* It should be safe to juse use half of the takoeff_alt as an acceptance radius. */
|
/* It should be safe to just use half of the takoeff_alt as an acceptance radius. */
|
||||||
if (takeoff_alt > 0 && takeoff_alt < altitude_acceptance_radius) {
|
if (takeoff_alt > 0 && takeoff_alt < altitude_acceptance_radius) {
|
||||||
altitude_acceptance_radius = takeoff_alt / 2.0f;
|
altitude_acceptance_radius = takeoff_alt / 2.0f;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user