Commit Graph

39954 Commits

Author SHA1 Message Date
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
Randy Mackay 684a24b510 Copter: add pre-arm check of PILOT_SPEED_UP param 2020-02-05 10:10:37 +11:00
Andrew Tridgell e9e397f548 autotest: allow --moddebug to sim_vehicle.py
helps people debugging install
2020-02-05 10:10:37 +11:00
Randy Mackay 9f5d629503 GCS_MAVLink: add comment above set-message-interval 2020-02-05 10:10:37 +11:00
Randy Mackay b3fbceccb2 GCS_MAVLink: minor fix to set_message_interval 2020-02-05 10:10:37 +11:00
Tatsuya Yamaguchi ce588f004d AP_Scripting: add set_message_interval binding 2020-02-05 10:10:37 +11:00
Tatsuya Yamaguchi 48307e2268 GCS_MAVLink: add set_message_interval functions 2020-02-05 10:10:37 +11:00
Randy Mackay 9cb36fc1de Copter: 3.6.11 release notes 2020-02-05 10:10:37 +11:00
Randy Mackay 750a526109 Rover: fix version to be 4.0.0 2020-02-05 10:10:37 +11:00
Randy Mackay 37f0a101cb Rover: 4.0.0-rc1 release notes 2020-02-05 10:10:37 +11:00
Andy Piper 8afa87b32d Tools: add --upload-port option to waf 2020-02-05 10:10:37 +11:00
Andrew Tridgell 4e799be144 AP_Scheduler: use fill_nanf() on each scheduler function 2020-02-05 10:10:37 +11:00
Andrew Tridgell 161154bf05 AP_NavEKF2: fixed build
broken by recent common variable change
2020-02-05 10:10:37 +11:00
Andrew Tridgell 8984a8fa85 HAL_SITL: pre-fill stack on each loop with NaN
this allows us to catch use of uninitialised stack variables in SITL
without having valgrind running
2020-02-05 10:10:37 +11:00
Andrew Tridgell b1e0299a0f AP_NavEKF3: use parent class for intermediate static variables
this makes the code faster as well as using less memory when both EK2
and EK3 are enabled
2020-02-05 10:10:20 +11:00
Andrew Tridgell da7dc71195 AP_NavEKF2: use parent class for intermediate static variables
this makes the code faster as well as using less memory when both EK2
and EK3 are enabled
2020-02-05 10:10:20 +11:00
IamPete1 b5e78f9260 AP_Motors: add reversed tricopter option 2020-02-05 10:10:20 +11:00
Peter Barker 3939a24f95 AP_ADSB: move is_valid_octal to is_valid_callsign and add tests for it 2020-02-05 10:10:20 +11:00
Peter Barker 6e4813cc92 AP_Math: move is_valid_octal into adsb
This doesn't ensure the value is octal digits - there's more magic in
it.
2020-02-05 10:10:20 +11:00
mhefny 919208c47c SITL: removed unnecessary files of webots 2020-02-05 10:10:20 +11:00
Peter Barker dae920634f AP_Baro: exclude Sub pressure transducers from non-sub builds 2020-02-05 10:10:20 +11:00
Andrew Tridgell b142255a4c Tools: removed HAVE_OCLOEXEC check 2020-02-05 10:10:20 +11:00
Andrew Tridgell f5cd193f71 AP_Common: removed fcntl overrides
not needed with AP_Filesystem, and fixes lots of warnings with newer
compilers
2020-02-05 10:10:20 +11:00