Rover: GCS_MAVLink uses compass singleton, stop implementing get_compass
This commit is contained in:
parent
d5f6911db7
commit
a5691500ad
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user