aboutsummaryrefslogtreecommitdiff
path: root/src/modules/navigator/loiter.h
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-06-13 14:31:19 +0200
committerAnton Babushkin <anton.babushkin@me.com>2014-06-13 14:31:19 +0200
commite14d4751423e21a9ce052e1f6760f929d3694515 (patch)
tree6e6ad9afbf8859c09660a569b41a8433ce97e35b /src/modules/navigator/loiter.h
parent3b39a8a789e347e318375ebe18c583eabec0501c (diff)
downloadpx4-firmware-e14d4751423e21a9ce052e1f6760f929d3694515.tar.gz
px4-firmware-e14d4751423e21a9ce052e1f6760f929d3694515.tar.bz2
px4-firmware-e14d4751423e21a9ce052e1f6760f929d3694515.zip
navigator: update Loiter navigator mode to use new method names
Diffstat (limited to 'src/modules/navigator/loiter.h')
-rw-r--r--src/modules/navigator/loiter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/navigator/loiter.h b/src/modules/navigator/loiter.h
index a83b53f43..685ae6141 100644
--- a/src/modules/navigator/loiter.h
+++ b/src/modules/navigator/loiter.h
@@ -63,12 +63,12 @@ public:
/**
* This function is called while the mode is inactive
*/
- bool update(struct position_setpoint_triplet_s *pos_sp_triplet);
+ virtual void on_inactive();
/**
* This function is called while the mode is active
*/
- void reset();
+ virtual bool on_active(struct position_setpoint_triplet_s *pos_sp_triplet);
};
#endif