Rover: fixed constructor ordering build error with gcc-12.2

the constructor order comes from the order in the class
This commit is contained in:
Andrew Tridgell 2023-07-31 09:42:25 +10:00 committed by Peter Barker
parent 550f95f094
commit e7881077e2
1 changed files with 3 additions and 3 deletions

View File

@ -316,13 +316,13 @@ public:
AP_Beacon beacon;
#endif
// Motor library
AP_MotorsUGV motors;
// wheel encoders
AP_WheelEncoder wheel_encoder;
AP_WheelRateControl wheel_rate_control;
// Motor library
AP_MotorsUGV motors;
// steering and throttle controller
AR_AttitudeControl attitude_control;