Skip to content

Commit

Permalink
AntennaTracker: provide default implemenation of handle_change_alt_re…
Browse files Browse the repository at this point in the history
…quest

The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
  • Loading branch information
peterbarker authored and tridge committed Feb 7, 2022
1 parent e9358ff commit 65ed077
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions AntennaTracker/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ bool GCS_MAVLINK_Tracker::handle_guided_request(AP_Mission::Mission_Command&)
return false;
}

void GCS_MAVLINK_Tracker::handle_change_alt_request(AP_Mission::Mission_Command&)
{
// do nothing
}

/*
default stream rates to 1Hz
*/
Expand Down
1 change: 0 additions & 1 deletion AntennaTracker/GCS_Mavlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class GCS_MAVLINK_Tracker : public GCS_MAVLINK
void mavlink_check_target(const mavlink_message_t &msg);
void handleMessage(const mavlink_message_t &msg) override;
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override;
void handle_change_alt_request(AP_Mission::Mission_Command &cmd) override;
void handle_set_attitude_target(const mavlink_message_t &msg);

void send_global_position_int() override;
Expand Down

0 comments on commit 65ed077

Please sign in to comment.