Rover: GCS_MAVLink uses compass singleton, stop implementing get_compass

This commit is contained in:
Peter Barker 2018-08-30 19:58:02 +10:00 committed by Peter Barker
parent d5f6911db7
commit a5691500ad
2 changed files with 0 additions and 6 deletions

View File

@ -1295,11 +1295,6 @@ AP_VisualOdom *GCS_MAVLINK_Rover::get_visual_odom() const
#endif
}
Compass *GCS_MAVLINK_Rover::get_compass() const
{
return &rover.compass;
}
AP_Mission *GCS_MAVLINK_Rover::get_mission()
{
return &rover.mission;

View File

@ -14,7 +14,6 @@ protected:
uint32_t telem_delay() const override;
bool accept_packet(const mavlink_status_t &status, mavlink_message_t &msg) override;
Compass *get_compass() const override;
AP_Mission *get_mission() override;
AP_Rally *get_rally() const override;
AP_Camera *get_camera() const override;