mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 23:23:33 +08:00
navigator: add navigation state ID to every mode class
This commit is contained in:
committed by
Mathieu Bresciani
parent
dec550dcb9
commit
1fa878ad88
@@ -55,7 +55,7 @@ static constexpr float MAX_DIST_FROM_HOME_FOR_LAND_APPROACHES{10.0f}; // [m] We
|
||||
static constexpr float MIN_DIST_THRESHOLD = 2.f;
|
||||
|
||||
RTL::RTL(Navigator *navigator) :
|
||||
NavigatorMode(navigator),
|
||||
NavigatorMode(navigator, vehicle_status_s::NAVIGATION_STATE_AUTO_RTL),
|
||||
ModuleParams(navigator),
|
||||
_rtl_direct(navigator)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user