Commit Graph

39876 Commits

Author SHA1 Message Date
Peter Barker f0ee5a6aea AP_BoardConfig: correct include of AP_Vehicle_Type 2020-02-05 10:12:13 +11:00
Peter Barker f5fc308f9e DataFlash: adjust for new vehicle base class 2020-02-05 10:12:13 +11:00
Peter Barker 5818d86420 AP_Mission: adjust for new vehicle base class 2020-02-05 10:12:13 +11:00
Peter Barker 31065bc9d2 AP_Compass: adjust for new vehicle base class 2020-02-05 10:12:13 +11:00
Peter Barker 55eab1546d AP_AccelCal: adjust for new vehicle base class 2020-02-05 10:12:13 +11:00
Peter Barker 245152e91b AC_AttitudeControl: adjust for new vehicle base class 2020-02-05 10:12:13 +11:00
Peter Barker 4a13e95644 Sub: move many members up to base class 2020-02-05 10:12:13 +11:00
Peter Barker 8fa3b28032 Plane: move many members up to base class 2020-02-05 10:12:13 +11:00
Peter Barker e965e8f11e Copter: move many members up to base class 2020-02-05 10:12:13 +11:00
Peter Barker 29ba073f0c Tracker: move many members up to base class 2020-02-05 10:12:13 +11:00
Peter Barker 50b4e0b0c4 Rover: move many members up to base class 2020-02-05 10:12:13 +11:00
Peter Barker f8d3a2ed75 Sub: become an AP_Vehicle 2020-02-05 10:12:13 +11:00
Peter Barker 2b774bd4a8 Plane: become an AP_Vehicle 2020-02-05 10:12:13 +11:00
Peter Barker a9c8de9942 Copter: become an AP_Vehicle 2020-02-05 10:12:13 +11:00
Peter Barker 20a8bbe252 Tracker: become an AP_Vehicle 2020-02-05 10:12:13 +11:00
Peter Barker c52b72aebe Rover: become an AP_Vehicle 2020-02-05 10:12:13 +11:00
Peter Barker dbb1f01445 AP_Vehicle: move many members up to base class 2020-02-05 10:12:13 +11:00
sas 286963ad16 Plane: remove unused location argument to control_auto 2020-02-05 10:12:13 +11:00
Peter Barker d2861f7db9 Sub: remove bogus ARMING_CHECK_NONE 'bitmask value' 2020-02-05 10:12:13 +11:00
Peter Barker 3ccf215066 Plane: remove bogus ARMING_CHECK_NONE 'bitmask value' 2020-02-05 10:12:13 +11:00
Peter Barker d42c66afcc Copter: remove bogus ARMING_CHECK_NONE 'bitmask value' 2020-02-05 10:12:13 +11:00
Peter Barker c26f98e817 Rover: remove bogus ARMING_CHECK_NONE 'bitmask value' 2020-02-05 10:12:13 +11:00
Peter Barker 6db60ec711 AP_Arming: remove bogus ARMING_CHECK_NONE 'bitmask value'
This looks like a bitmask value, but if you treat it like one (and
people have in the past!) by using logical operations then you get the
incorrect result.

Places which were checking for equivalence to ARMING_CHECK_NONE now
simply check the bitmask to see if it is all-empty.
2020-02-05 10:12:13 +11:00
murata 73a9f31424 AP_Motors: Change to description(NFC) 2020-02-05 10:12:13 +11:00
murata bd1a56236b Copter: Change external button specification to option
Copter: Change the definition name from BUTTON to BUTTON_ENABLED.
2020-02-05 10:12:13 +11:00
Andrew Tridgell a34b135a57 AP_BoardConfig: fixed CAN init without SLCAN 2020-02-05 10:12:13 +11:00
Henry Wurzburg 2c3d57a373 Rover: implement steering trim save in armed/manual mode only 2020-02-05 10:12:13 +11:00
bhavya 59b4e0a456 Tools: added name to GIT_Success.txt 2020-02-05 10:10:37 +11:00
Randy Mackay b866b1f412 Rover: minor restructure of loiter at end of rtl and srtl 2020-02-05 10:10:37 +11:00
Henry Wurzburg 81745f55d2 Rover: change RTL/SRTL from circling to loitering for boats 2020-02-05 10:10:37 +11:00
Randy Mackay 2b97f18e27 Copter: follow mode restores offsets to zero on exit 2020-02-05 10:10:37 +11:00
Randy Mackay c06957ccdd Rover: follow mode restores offsets to zero on exit 2020-02-05 10:10:37 +11:00
Randy Mackay da0c1d1b42 AP_Follow: add clear_offsets_if_required method
this restores the offsets to zero if they were initialised from zero when the lead vehicle was first spotted
2020-02-05 10:10:37 +11:00
Ebin 3da75292d2 Tools: autotest: added wheel encoder test for balance bot 2020-02-05 10:10:37 +11:00
Peter Barker 044e750937 Tools: autotest: add wheel encoder test for Rover 2020-02-05 10:10:37 +11:00
Ebin 767cabf8e5 SITL: Yaw rate calculation uses wheel offset 2020-02-05 10:10:37 +11:00
Peter Barker 63e8c5abcb AP_WheelEncoder: add SITL backend
AP_WheelEncoder: added update function for SITL quadrature encoder
2020-02-05 10:10:37 +11:00
Peter Barker e6346587d7 AP_Logger: tidy MessageWriter stages using enum class 2020-02-05 10:10:37 +11:00
Henry Wurzburg d95cbc81b3 AP_BLHeli: Change descriptions in SERVO_BLH_PORT param to actual AP port 2020-02-05 10:10:37 +11:00
Randy Mackay 1f418655fb Rover: failsafe check format fix
adding some brackets perhaps makes it a little clearer
2020-02-05 10:10:37 +11:00
Henry Wurzburg 7f79279eb7 Rover: FS_OPTION allows failsafe from hold mode 2020-02-05 10:10:37 +11:00
Peter Barker 1609b4ccb8 Tools: autotest: correct get_distance_int 2020-02-05 10:10:37 +11:00
Peter Barker 95c18806cd autotest: correct CRAMS field altitude 2020-02-05 10:10:37 +11:00
Andrew Tridgell 4638c57819 AP_Motors: enable docs for hover thr learning in plane 2020-02-05 10:10:37 +11:00
chobits 491ac8f1a7 Copter: do not speed up EKF failsafe if optflow works 2020-02-05 10:10:37 +11:00
Randy Mackay 59f2b42bd9 AP_SmartRTL: fixup compile error
fix typo introduced by me attempting a minor fixup before merging
2020-02-05 10:10:37 +11:00
Peter Barker 2deea7835f AP_Logger: correct uninitialised value when logging all rally points 2020-02-05 10:10:37 +11:00
Peter Barker 091d3e042b autotest: make dataflash-over-mavlink test more accomodating
Saw <100kB/s on autotest server, so can't look for minimum 100kB/s.

Also fixed disarmed-at-end-of-test
2020-02-05 10:10:37 +11:00
Henry Wurzburg 6f5d9a686e AP_SmartRTL: give warning buffer is about to fill-up 2020-02-05 10:10:37 +11:00
Henry Wurzburg edc7fefe2a AP_Follow: hide params not used by Rover 2020-02-05 10:10:37 +11:00