diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-06-28 00:54:27 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-06-28 00:54:27 +0200 |
commit | 456e628e129b446d18246ab8ad312a15beea5996 (patch) | |
tree | aad2681e14611e69dbbd5ffcfa3580f22fd441fb /src/modules/navigator/loiter.h | |
parent | affc312411b7634fa13bab6da8889de90f964ce8 (diff) | |
download | px4-firmware-456e628e129b446d18246ab8ad312a15beea5996.tar.gz px4-firmware-456e628e129b446d18246ab8ad312a15beea5996.tar.bz2 px4-firmware-456e628e129b446d18246ab8ad312a15beea5996.zip |
navigator: NavigatorMode and MissionBlock API cleanup
Diffstat (limited to 'src/modules/navigator/loiter.h')
-rw-r--r-- | src/modules/navigator/loiter.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/modules/navigator/loiter.h b/src/modules/navigator/loiter.h index 65ff5c31e..5ce86d2a7 100644 --- a/src/modules/navigator/loiter.h +++ b/src/modules/navigator/loiter.h @@ -50,24 +50,14 @@ class Loiter : public MissionBlock { public: - /** - * Constructor - */ Loiter(Navigator *navigator, const char *name); - /** - * Destructor - */ ~Loiter(); - /** - * This function is called while the mode is inactive - */ virtual void on_inactive(); - /** - * This function is called while the mode is active - */ + virtual void on_activation(struct position_setpoint_triplet_s *pos_sp_triplet); + virtual bool on_active(struct position_setpoint_triplet_s *pos_sp_triplet); }; |