Commit Graph

36704 Commits

Author SHA1 Message Date
Peter Barker 4f136512f0 Tools: autotest: fix balancebot RTL test 2019-03-15 12:22:22 +11:00
Andrew Tridgell 0215e08f86 Tools: add option to configure_all.py to do builds 2019-03-15 11:54:57 +11:00
Andrew Tridgell b754d56ecb HAL_ChibiOS: fixed revo-mini build 2019-03-15 11:54:57 +11:00
Andrew Tridgell 69edd5a544 HAL_ChibiOS: fixed typos in hwdef.dat files 2019-03-15 11:54:57 +11:00
Andrew Tridgell 9c3e606076 CI: added configure-all.py to travis testing
make sure all hwdef.dat files can be used
2019-03-15 11:54:57 +11:00
Andrew Tridgell e67ccbe13d Tools: added bootloader configure to configure_all.py 2019-03-15 11:54:57 +11:00
Andrew Tridgell cd27e3022f HAL_ChibiOS: check for prefix match on peripherals 2019-03-15 11:54:57 +11:00
Andrew Tridgell 3fd3e88d04 HAL_ChibiOS: fixed typo
thanks to Malcolm Churn for noticing
2019-03-15 08:51:52 +11:00
Andrew Tridgell b3f48a1477 HAL_ChibiOS: added CS line for Pixhawk4Pro temp sensor 2019-03-14 16:10:40 +11:00
Andrew Tridgell 880a55c6a2 AP_InertialSensor: fixes for BMI088 on SPI
The sensor has an unusual SPI interface, with a pad byte on read, and
retries needed on write
2019-03-14 16:10:40 +11:00
IamPete1 836adb6b0b Tracker: use pitch-min and pitch-max in place of constants 2019-03-14 13:19:32 +11:00
IamPete1 a967caa924 Tracker: add parameters for yaw and pitch scan speed 2019-03-14 11:36:20 +11:00
Peter Barker 9ca2c9d692 Tools: autotest: python3 fixes
Tools: autotest: use inbuilt zip on Python3
2019-03-13 20:26:24 +11:00
Peter Barker fa082df040 AP_HAL_SITL: add missing CLOEXECs on tcp ports 2019-03-13 18:02:48 +11:00
Peter Barker 841c222a12 Tools: autotest: add check that GPS is good before arming 2019-03-13 17:13:10 +11:00
Peter Barker 72aeb26e86 Tools: autotest: allow more time for gps-glitch-in-auto test to run 2019-03-13 16:03:30 +11:00
Peter Barker 3a6298db9b Tools: autotest: loosen maximum distance allowed on loiter-to-ne 2019-03-13 14:51:04 +11:00
Peter Barker 0aeb6c0e26 Tools: autotest: ensure initial home position is similar to sitl start pos 2019-03-13 13:20:29 +11:00
Peter Barker 2d16c37844 AP_Compass: examples: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker 4fa04e730b AP_AHRS: examples: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker d489d9a585 Plane: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker 069a2d0e35 Sub: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker b933f050b8 Tracker: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker 144f4e08b8 APMrover2: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker 6d87b9316f ArduCopter: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker f8be4efed4 AP_Compass: init never fails; return void rather than bool 2019-03-13 13:06:50 +11:00
Peter Barker d53f787a14 Tools: factor init up into parent class
Tools: autotest: use speedup 8 for all suites

for reliability
2019-03-13 08:20:20 +11:00
Peter Barker 844999c458 Tools: autotest: get accuracy before doing RTL
It can take a very long time to get our parameter value, so get it while
we're NOT moving away from the RTL location!
2019-03-13 08:20:20 +11:00
Peter Barker c48042424b Sub: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker 5bd0db4117 Rover: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker ca7566fff9 Plane: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker f189860162 Copter: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker 0dacf78c12 AP_Arming: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
L Kurt Shaw 8d75e8c5bb INS: AP_InertialSensor.cpp
Fix typo in comments should be NFC
2019-03-12 15:56:55 +09:00
Peter Barker f7ecba1a36 Tools: autotest: shove resets shove-time to zero; eliminate race condition 2019-03-12 16:09:03 +11:00
Peter Barker 65d0443c26 Tools: autotest: drain mav either side of initialising-after-reboot 2019-03-12 12:15:39 +11:00
Peter Barker fcff818a23 Tools: autotest: increase timeout allowed for getting first nav-controller-output message 2019-03-12 12:15:39 +11:00
Peter Barker f71f100d6a Tools: autotest: make drain_mav truly drain the mavlink connection 2019-03-12 12:15:39 +11:00
Peter Barker 281dbfcef8 Copter: support send_extended_sys_state 2019-03-12 09:16:13 +09:00
Peter Barker 34e09a55be GCS_MAVLink: support send_extended_sys_state 2019-03-12 09:16:13 +09:00
Peter Barker e045f61473 Tools: autotest: add test for throw mode 2019-03-12 11:09:37 +11:00
Peter Barker 4db011f530 SITL: add SIM_SHOVE_* options to shove the simulated vehicle
The parameter values are time in milliseconds and body-frame
acceleration in m/s/s

So to test throw mode:
 mode throw
 param set SIM_SHOVE_Z -30
 arm throttle
 param set SIM_SHOVE_TIME 500
2019-03-12 11:09:37 +11:00
Mark Whitehorn 8c84fa5c64 AP_AHRS: apply AHRS trim in SITL 2019-03-12 10:52:55 +11:00
Michael du Breuil 0bf2fc004e AP_AHRS: Warn if the return value on (get, set)_origin is not checked 2019-03-12 08:27:42 +09:00
Michael du Breuil 281d3b1189 AC_Fence: check the return value of fetching the EKF origin 2019-03-12 08:27:42 +09:00
Peter Barker cbb0bfb809 Plane: is_flying_vtol: if spool mode is shut down we are not flying
The subsequent check for get_throttle passes if you switch from QHOVER
to MANUAL on the ground while armed.  get_throttle returns > 0.01 - but
the motors are shut down so no output occurs.
2019-03-12 10:21:11 +11:00
Peter Barker b47b97a981 Tools: autotest: add test for QuadPlane controller pre-arm checks 2019-03-12 10:14:14 +11:00
Peter Barker cf45b54070 Plane: quadplane use prearm checks from Attitude and Position controllers 2019-03-12 10:14:14 +11:00
Mark Whitehorn f7bf10fcfc ArduPlane: add rudder to tailsitter gain scaling 2019-03-12 10:12:23 +11:00
Peter Barker 499cc45ac0 AP_Math: move longitude_scale into Location class 2019-03-12 10:11:12 +11:00