Commit Graph

28266 Commits

Author SHA1 Message Date
Peter Barker 89478d5a28 Copter: ensure logging is working as part of arming checks 2017-07-19 16:37:28 +01:00
Peter Barker 954eda990a AP_Arming: prepare log for arming and check it is ready
Also add comment that this should be the last check to be made
2017-07-19 16:37:28 +01:00
Peter Barker 0769432e63 DataFlash: move log-write-started logic to be backend-specific 2017-07-19 16:37:28 +01:00
Peter Barker 1f0a14ab33 DataFlash: add PrepForArming method 2017-07-19 16:37:28 +01:00
Peter Barker 31083653b2 DataFlash: examples: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker dff026e30c Tools: Replay: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker fa39f315c6 Plane: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker 9173c7caaf Rover: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker c9c1f3ea29 Tracker: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker 342d95ad2f Sub: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker e45efeb829 Copter: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Francisco Ferreira a1115ba5d0
DataFlash: move some code from WritesOK into a new ShouldLog method 2017-07-19 16:37:21 +01:00
Peter Barker b572c13ca9 DataFlash: move starting of new logs into DataFlash 2017-07-19 16:37:16 +01:00
Peter Barker 4234f4ef7a DataFlash: move _initialised into DataFlash_Backend 2017-07-19 16:37:16 +01:00
Peter Barker 999a5e6cda AP_Arming: correct bit used to indicate blended-gps-checking 2017-07-19 16:34:57 +01:00
Peter Barker cbde87b390 Copter: remove pointless pre_arm_gps_checks function 2017-07-19 16:34:57 +01:00
Peter Barker baaad8df94 Copter: use common board_voltage_checks code 2017-07-19 16:34:57 +01:00
Peter Barker b8ddf8a289 AP_Arming: use HAL_HAVE_BOARD_VOLTAGE rather than magic-0 2017-07-19 16:34:57 +01:00
Peter Barker a7bc111485 Copter: use common baro arming check function 2017-07-19 16:34:57 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas b791fef7cb AP_GPS: Publish the number of satellites in the RTK correction messages, and the age of the RTK correction messages 2017-07-19 20:42:23 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas ae47ac5a09 AP_GPS: implement missing "RTK number of satellites" and "RTK correction age" information in the GPS2_RAW MAVLink message 2017-07-19 20:42:23 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 059c213d19 AP_GPS: Improve comments and documentation (NFC) 2017-07-19 20:42:23 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas efa59d47f2 Rover: fix FS_THR_VALUE min range 2017-07-19 20:33:07 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 916a2e8fca Rover: Failsafe parameters default values macros are not used, so delete them
@OXINARF told me that they existed.
@tridge told me I should delete them, now that we have run-time parameters
2017-07-19 20:31:48 +09:00
Randy Mackay 285653da30 Rover: fix init order to clear compile warning
no functional change
2017-07-19 15:26:33 +09:00
Randy Mackay cf47a0d563 AP_AdvancedFailsafe: minor formatting fix 2017-07-19 15:24:21 +09:00
Randy Mackay 55a1c9afdf Rover: add advanced failsafe to make build 2017-07-19 15:24:19 +09:00
Andrew Tridgell 732dc5984a AP_Compass: added COMPASS_TYPEMASK parameter
this allows driver type to be disabled, to avoid probing them and
wasting CPU on sensors that are not being used

This also moves UAVCAN compass to be detected last, as discussed in the
dev call
2017-07-19 15:53:22 +10:00
khancyr 918992eb10 Rover: remove unimplemented functions 2017-07-19 11:00:34 +09:00
Michael du Breuil 5684a5dd36 AP_GPS: Only setup state's instance field during init 2017-07-18 21:21:50 +01:00
Michael du Breuil 52ddaa3e72 DataFlash: POS.RelOriginAlt should be NaN if unknown 2017-07-18 21:21:17 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas aee82db204 Sub: add to the main makefile 2017-07-18 19:18:28 +01:00
Andrew Tridgell 82e7e44cc3 AP_GPS: fixed UAVCAN as 2nd GPS
This fixes the issue here:

  https://discuss.ardupilot.org/t/ac3-6-dev-dual-gps-issues/19172

thanks to Francisco for spotting the issue

this is tested with UAVCAN as 2nd GPS, ublox as primary
2017-07-18 18:57:55 +01:00
Peter Barker d2c57860fd Sub: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker ea892d278f Plane: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker eb0edc9b5b Copter: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker d9c4e1ad8e Tracker: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker f1c3e16354 Rover: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker eb1cf0e73a GCS_MAVLink: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Francisco Ferreira 81aa41ab51
travis: split param check for each vehicle
the param_parse Python script has bugs when trying to parse all vehicles at once, so make each one at a time
use the new option so that only validation is performed
2017-07-18 14:15:39 +01:00
Francisco Ferreira eda5d9265f
Tools: add new no-emit option to param_parse.py so that only validation is done 2017-07-18 14:15:39 +01:00
Francisco Ferreira 83359e898a
Tools: update CI ccache version to 3.3.4
ccache 3.3.x uses CPP2 enabled by default so remove enabling it
2017-07-18 14:15:39 +01:00
Francisco Ferreira 540548f0aa
Tools: CI: only set shell to verbose after including profile
Travis has a very long .profile script, which is already shown in configure step, so there is no need to log it again in the build step
2017-07-18 14:15:38 +01:00
khancyr 2e451eb2bc Rover: fix motor test for pilot passthrough of steering 2017-07-18 10:15:44 +09:00
Randy Mackay b6033df457 Rover: intergrate motor test motor seq enum change 2017-07-18 10:15:44 +09:00
Randy Mackay e5b746c7dd AP_MotorsUGV: fix motor test sequence
motor test sequence starts from 1
2017-07-18 10:15:44 +09:00
Randy Mackay 8a86b64776 Rover: motor test accepts negative percentages 2017-07-18 10:15:44 +09:00
Randy Mackay ebeb0923cb Rover: motor test gets improved failure explanations
Also fix pass through for steering channel
2017-07-18 10:15:44 +09:00
khancyr 5208466629 Rover: add motor test 2017-07-18 10:15:44 +09:00
Randy Mackay 7bfb79a4b7 AP_MotorsUGV: add motor_output_test_pwm
this allows the ground station to test a motor by requesting a specific pwm value
2017-07-18 10:15:44 +09:00