navigator: more API changes, duplicate code removed

This commit is contained in:
Anton Babushkin
2014-06-29 15:35:34 +02:00
parent 8a442c2125
commit adf230ce4e
6 changed files with 110 additions and 134 deletions
+3 -3
View File
@@ -63,15 +63,15 @@ public:
virtual void on_inactive();
virtual void on_activation(position_setpoint_triplet_s *pos_sp_triplet);
virtual void on_activation();
virtual bool on_active(position_setpoint_triplet_s *pos_sp_triplet);
virtual void on_active();
private:
/**
* Set the RTL item
*/
void set_rtl_item(position_setpoint_triplet_s *pos_sp_triplet);
void set_rtl_item();
/**
* Move to next RTL item