mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 12:14:10 -04:00
APMRover2: Remove unneeded GCS rally override
This commit is contained in:
parent
27d461348e
commit
b00b7e827f
@ -1208,15 +1208,6 @@ AP_VisualOdom *GCS_MAVLINK_Rover::get_visual_odom() const
|
||||
#endif
|
||||
}
|
||||
|
||||
AP_Rally *GCS_MAVLINK_Rover::get_rally() const
|
||||
{
|
||||
#if AP_RALLY == ENABLED
|
||||
return &rover.g2.rally;
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool GCS_MAVLINK_Rover::set_mode(const uint8_t mode)
|
||||
{
|
||||
Mode *new_mode = rover.mode_from_mode_num((enum Mode::Number)mode);
|
||||
|
@ -13,7 +13,6 @@ protected:
|
||||
|
||||
uint32_t telem_delay() const 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