navigator: publish distance sensor mode change request when in RTL landing phase or during mission landing

This commit is contained in:
Konrad
2024-09-16 09:11:23 +02:00
committed by KonradRudin
parent 1755b8304e
commit aab2390e51
9 changed files with 78 additions and 1 deletions
+2
View File
@@ -103,6 +103,8 @@ public:
void setRtlPosition(PositionYawSetpoint position, loiter_point_s loiter_pos);
bool isLanding() { return (_rtl_state != RTLState::IDLE) && (_rtl_state >= RTLState::LOITER_DOWN);};
private:
/**
* @brief Return to launch state machine.