navigator move to new uORB::Subscription

This commit is contained in:
Daniel Agar
2019-06-05 20:28:44 -04:00
parent 79eb74be3f
commit e4ad994763
8 changed files with 55 additions and 173 deletions
+2 -1
View File
@@ -47,6 +47,7 @@
#include <matrix/math.hpp>
#include <px4_module_params.h>
#include <uORB/Subscription.hpp>
#include <uORB/topics/follow_target.h>
class FollowTarget : public MissionBlock, public ModuleParams
@@ -99,7 +100,7 @@ private:
FollowTargetState _follow_target_state{SET_WAIT_FOR_TARGET_POSITION};
int _follow_target_position{FOLLOW_FROM_BEHIND};
int _follow_target_sub{-1};
uORB::Subscription _follow_target_sub{ORB_ID(follow_target)};
float _step_time_in_ms{0.0f};
float _follow_offset{OFFSET_M};