mirror of https://github.com/ArduPilot/ardupilot
Blimp: provide and use base-method implementation for guided mode request
This commit is contained in:
parent
25777adfb5
commit
e3d00f20a6
|
@ -407,15 +407,6 @@ const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = {
|
||||||
MAV_STREAM_TERMINATOR // must have this at end of stream_entries
|
MAV_STREAM_TERMINATOR // must have this at end of stream_entries
|
||||||
};
|
};
|
||||||
|
|
||||||
bool GCS_MAVLINK_Blimp::handle_guided_request(AP_Mission::Mission_Command &cmd)
|
|
||||||
{
|
|
||||||
// #if MODE_AUTO_ENABLED == ENABLED
|
|
||||||
// // return blimp.mode_auto.do_guided(cmd);
|
|
||||||
// #else
|
|
||||||
return false;
|
|
||||||
// #endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void GCS_MAVLINK_Blimp::packetReceived(const mavlink_status_t &status,
|
void GCS_MAVLINK_Blimp::packetReceived(const mavlink_status_t &status,
|
||||||
const mavlink_message_t &msg)
|
const mavlink_message_t &msg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -53,7 +53,6 @@ protected:
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void handle_message(const mavlink_message_t &msg) override;
|
void handle_message(const mavlink_message_t &msg) override;
|
||||||
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override;
|
|
||||||
bool try_send_message(enum ap_message id) override;
|
bool try_send_message(enum ap_message id) override;
|
||||||
|
|
||||||
void packetReceived(const mavlink_status_t &status,
|
void packetReceived(const mavlink_status_t &status,
|
||||||
|
|
Loading…
Reference in New Issue