mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
mavlink: remove unused methods
This commit is contained in:
@@ -128,17 +128,6 @@ public:
|
|||||||
|
|
||||||
static void *start_helper(void *context);
|
static void *start_helper(void *context);
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the cruising speed in offboard control
|
|
||||||
*
|
|
||||||
* Passing a negative value or leaving the parameter away will reset the cruising speed
|
|
||||||
* to its default value.
|
|
||||||
*
|
|
||||||
* Sets cruising speed for current flight mode only (resets on mode changes).
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void set_offb_cruising_speed(float speed = -1.0f);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void acknowledge(uint8_t sysid, uint8_t compid, uint16_t command, uint8_t result);
|
void acknowledge(uint8_t sysid, uint8_t compid, uint16_t command, uint8_t result);
|
||||||
@@ -236,10 +225,6 @@ private:
|
|||||||
|
|
||||||
void schedule_tune(const char *tune);
|
void schedule_tune(const char *tune);
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Updates the battery, optical flow, and flight ID subscribed parameters.
|
|
||||||
*/
|
|
||||||
void update_params();
|
|
||||||
|
|
||||||
Mavlink *_mavlink;
|
Mavlink *_mavlink;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user