mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Rover: GCS_MAVLink now uses Mission singleton
This commit is contained in:
parent
dfd0ecd2bd
commit
0fa9f43815
@ -1222,11 +1222,6 @@ AP_VisualOdom *GCS_MAVLINK_Rover::get_visual_odom() const
|
||||
#endif
|
||||
}
|
||||
|
||||
AP_Mission *GCS_MAVLINK_Rover::get_mission()
|
||||
{
|
||||
return &rover.mission;
|
||||
}
|
||||
|
||||
AP_Rally *GCS_MAVLINK_Rover::get_rally() const
|
||||
{
|
||||
#if AP_RALLY == ENABLED
|
||||
|
@ -14,7 +14,6 @@ protected:
|
||||
uint32_t telem_delay() const override;
|
||||
bool accept_packet(const mavlink_status_t &status, mavlink_message_t &msg) override;
|
||||
|
||||
AP_Mission *get_mission() override;
|
||||
AP_Rally *get_rally() const override;
|
||||
AP_AdvancedFailsafe *get_advanced_failsafe() const override;
|
||||
AP_VisualOdom *get_visual_odom() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user