Navigator RTL fully initialize mission item in each state

This commit is contained in:
Daniel Agar
2017-11-14 14:57:34 -05:00
parent 98cbd44526
commit 84f07c64b0
2 changed files with 73 additions and 121 deletions
-13
View File
@@ -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,