mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 16:21:36 +08:00
Navigator RTL fully initialize mission item in each state
This commit is contained in:
@@ -41,13 +41,6 @@
|
||||
#ifndef NAVIGATOR_RTL_H
|
||||
#define NAVIGATOR_RTL_H
|
||||
|
||||
#include <controllib/blocks.hpp>
|
||||
#include <controllib/block/BlockParam.hpp>
|
||||
|
||||
#include <navigator/navigation.h>
|
||||
#include <uORB/topics/home_position.h>
|
||||
#include <uORB/topics/vehicle_global_position.h>
|
||||
|
||||
#include "navigator_mode.h"
|
||||
#include "mission_block.h"
|
||||
|
||||
@@ -76,12 +69,6 @@ private:
|
||||
*/
|
||||
void advance_rtl();
|
||||
|
||||
/**
|
||||
* Get RTL altitude
|
||||
*/
|
||||
float get_rtl_altitude() const;
|
||||
|
||||
|
||||
enum RTLState {
|
||||
RTL_STATE_NONE = 0,
|
||||
RTL_STATE_CLIMB,
|
||||
|
||||
Reference in New Issue
Block a user