mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
AP_Follow: move enabled accessor to top of definition file
This commit is contained in:
parent
2aeac20772
commit
0107600c69
@ -38,6 +38,9 @@ public:
|
|||||||
// constructor
|
// constructor
|
||||||
AP_Follow();
|
AP_Follow();
|
||||||
|
|
||||||
|
// returns true if library is enabled
|
||||||
|
bool enabled() const { return _enabled; }
|
||||||
|
|
||||||
// set which target to follow
|
// set which target to follow
|
||||||
void set_target_sysid(uint8_t sysid) { _sysid = sysid; }
|
void set_target_sysid(uint8_t sysid) { _sysid = sysid; }
|
||||||
|
|
||||||
@ -73,9 +76,6 @@ public:
|
|||||||
// parameter list
|
// parameter list
|
||||||
static const struct AP_Param::GroupInfo var_info[];
|
static const struct AP_Param::GroupInfo var_info[];
|
||||||
|
|
||||||
// returns true if library is enabled
|
|
||||||
bool enabled() const { return _enabled; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// get velocity estimate in m/s in NED frame using dt since last update
|
// get velocity estimate in m/s in NED frame using dt since last update
|
||||||
|
Loading…
Reference in New Issue
Block a user