Rover: Rally no longer takes ahrs in constructor

This commit is contained in:
Peter Barker 2019-02-18 20:38:31 +11:00 committed by Peter Barker
parent 2039fadfb7
commit 101ce74071
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@
class AP_Rally_Rover : public AP_Rally
{
public:
AP_Rally_Rover(AP_AHRS &ahrs) : AP_Rally(ahrs) { }
AP_Rally_Rover() : AP_Rally() { }
/* Do not allow copies */
AP_Rally_Rover(const AP_Rally_Rover &other) = delete;

View File

@ -733,7 +733,6 @@ ParametersG2::ParametersG2(void)
proximity(rover.serial_manager),
avoid(rover.ahrs, fence, rover.g2.proximity, &rover.g2.beacon),
follow(),
rally(rover.ahrs),
windvane(),
airspeed()
{