Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Tridgell 4c9f48244e Sub: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Peter Barker c436235b05 Sub: remove defaulting of report value in rc_calibration_checks 2017-11-08 19:08:21 +09:00
Peter Barker 7961a8f5c8 Sub: rc calibration checks are called by AP_Arming 2017-11-08 19:08:01 +09:00
Lucas De Marchi eed3c83079 ArduSub: use static method to construct AP_Arming_Sub
This also fix a bug of calling AP_Param::setup_object_defaults() on the
parent.
2017-09-26 03:01:21 +01:00
Jacob Walser 1ff656df2d Sub: Add arming check for ahrs health 2017-04-16 14:25:13 -04:00
Jacob Walser a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Jacob Walser d21cd513cd Sub: Add AP_Arming_Sub class 2017-03-01 10:57:27 -05:00