Commit Graph

34885 Commits

Author SHA1 Message Date
Andrew Tridgell 987b556299 Plane: disable crash detection if no GPS and no airspeed 2018-11-19 07:32:20 +11:00
Andrew Tridgell b660022b20 Plane: handle long GPS loss in crash detector
fixes issue #9349
2018-11-19 07:32:20 +11:00
Andrew Tridgell 09dde518df AP_AHRS: fixed dead-reckoning groundspeed vector
this is essential for RTL in planes on GPS loss
2018-11-19 07:32:20 +11:00
Andrew Tridgell 62be29fbcf HAL_ChibiOS: added board docs for KakuteF4 2018-11-18 21:37:56 +11:00
Andrew Tridgell 39003905b9 HAL_ChibiOS: re-arrange KakuteF4 UARTs
this allows for FrSky S.PORT on Telem2, and enables it by default
2018-11-18 21:37:56 +11:00
Andrew Tridgell cfb401995f AP_SerialManager: allow override of SERIAL2_PROTOCOL 2018-11-18 21:37:56 +11:00
Andrew Tridgell da402f4fb7 HAL_ChibiOS: fixed KakuteF7 UART order 2018-11-18 15:56:42 +11:00
Andrew Tridgell fa487fe1bc HAL_ChibiOS: added Pixhawk1 docs 2018-11-18 15:56:42 +11:00
Eugene Shamaev 9cba4b2e70 AP_LandingGear: Helper for landing 2018-11-17 20:31:01 -08:00
Eugene Shamaev 2c8d96145f AP_Landing: Check deployment of gear 2018-11-17 20:31:01 -08:00
Andrew Tridgell 774cea0dd5 HAL_ChibiOS: added KakuteF7 docs 2018-11-18 14:59:04 +11:00
DOMINATOR\Eugene c56188d081 AP_Baro: read temperature from AP_Airspeed singleton 2018-11-17 07:52:42 +11:00
DOMINATOR\Eugene c81f9e6baa AP_Airspeed: update data with logging 2018-11-17 07:52:42 +11:00
DOMINATOR\Eugene 802ae94e2c ArduPlane: move airspeed update to library 2018-11-17 07:52:42 +11:00
DOMINATOR\Eugene cdbffb4ecc APMrover2: move airspeed update to library 2018-11-17 07:52:42 +11:00
z120ts 4bec75dd44 Tools: add name to Git_Success 2018-11-16 20:24:18 +09:00
kjm104 e0bb2ede9d Tools: update GIT_Success.txt 2018-11-16 20:22:17 +09:00
Andrew Tridgell d84bc9f556 HAL_ChibiOS: fixed STM32F7 RXINV flag 2018-11-16 15:48:21 +11:00
Peter Barker cb7eec8fbe Tools: autotest: rover1.txt: ArduPilot doesn't use the current-wp param 2018-11-16 10:06:25 +11:00
Peter Barker d604515e79 Tools: autotest: copter_mission: remove value in unused parameter in RTL 2018-11-16 10:06:25 +11:00
Peter Barker 84bd1868be Tools: autotest: copter_mission: zero p3; Copter does not use it 2018-11-16 10:06:25 +11:00
Peter Barker 7f434cc14f Tools: autotest: copter_mission: zero unused land parameter 2018-11-16 10:06:25 +11:00
Peter Barker a781f088fd Tools: autotest: copter_glitch_mission: zero unused land parameter 2018-11-16 10:06:25 +11:00
Peter Barker 5a88483a81 Tools: autotest: ap1.txt remove content from unused field
ArduPilot doesn't use the value from this field
2018-11-16 10:06:25 +11:00
Peter Barker f84370bb04 Tools: autotest: consolidate mission-loading functions
Also add sanity checks for mission loading

Tools: autotest: add missing import for arduplane.py
2018-11-16 10:06:25 +11:00
Peter Barker 8b36565b6c Tools: autotest: disable terrain in optical flow test
It is possible this is the cause of the unreliability of this test; the
rangefinder sees step-jumps in its readings.
2018-11-16 09:02:15 +11:00
Andrew Tridgell 03f1deca9f Plane: support REVERSE_THROTTLE rc option
this provides a more convenient way to setup for reverse throttle
2018-11-16 08:33:35 +11:00
Andrew Tridgell 285935f8b3 RC_Channel: added reverse throttle RC option
used in plane for reverse on a switch
2018-11-16 08:33:35 +11:00
Andrew Tridgell da69bf3391 Plane: added an abstraction for reverse thrust
use have_reverse_thrust() and get_throttle_input()
2018-11-16 08:33:35 +11:00
Andrew Tridgell f71013928a AP_Motors: force PWM range for DShot to 1000 to 2000 2018-11-16 08:33:35 +11:00
Andrew Tridgell fbcbbb72b1 SRV_Channel: support reversible DShot motors
force the PWM MIN/MAX to 1000/2000
2018-11-16 08:33:35 +11:00
Andrew Tridgell 8dd58b4181 HAL_ChibiOS: support reversible DShot motors 2018-11-16 08:33:35 +11:00
Andrew Tridgell f2cd6e9a05 AP_HAL: added set_reversible_mask() 2018-11-16 08:33:35 +11:00
Andrew Tridgell 1910f266a6 AP_BLHeli: added SERVO_BLH_REMASK for reversible motors
this allows the user to specify which motors are configured as
reversible (3D)
2018-11-16 08:33:35 +11:00
Andrew Tridgell adf7fefc2e HAL_ChibiOS: detect stuck I2C bus and clear with SCL
This detects the I2C bus becoming stuck with SDA low after a timeout
and clears the bus by toggling SCL. Many thanks to @jhw84 for the
suggestion
2018-11-16 08:30:40 +11:00
Andrew Tridgell a0ed658fcc HAL_ChibiOS: added palReadLineMode() function
used to change and restore line modes
2018-11-16 08:30:40 +11:00
Andrew Tridgell c8efff7ddc Tools: updated IO firmware for DSM fix 2018-11-15 19:54:36 +11:00
Andrew Tridgell b4c551b56c AP_RCProtocol: expand DSM test to 8 channels 2018-11-15 19:54:36 +11:00
Andrew Tridgell da0301c208 AP_RCProtocol: fixed DSM parser for 8 channels
this ensures we remember channels from the previous frame, avoiding a
bug with more than 7 channels
2018-11-15 19:54:36 +11:00
Peter Barker a75d678e7f Tools: autotest: add tests for precision loiter and landing 2018-11-15 19:03:01 +11:00
Andrew Tridgell a4c532edff AP_HAL: fixed typo in fmax macro 2018-11-15 14:39:11 +11:00
Andrew Tridgell e6651b01bb waf: use direct import of mavgen for mavlink generation
this avoids a path problem on windows under eclipse
2018-11-15 14:39:11 +11:00
Randy Mackay 6cacc738b3 Copter: 3.6.2-rc2 release notes 2018-11-15 10:58:07 +09:00
Randy Mackay 6b0b3f987b Copter: 3.6.2-rc1 release notes 2018-11-15 10:58:04 +09:00
Kristian Klausen d7f529d3c6 AP_HAL_SITL: Use double point precision when converting langitudes and longitudes from degrees to radians.
See #9536
2018-11-15 11:22:56 +11:00
Randy Mackay e9c1abfc3c AP_RangeFinder: fix benewake checksum check 2018-11-15 09:18:45 +09:00
Randy Mackay 3cc84173e3 DataFlash: log rangefinder status in RFND msg 2018-11-15 09:18:45 +09:00
Randy Mackay 123e10c058 AP_RangeFinder: benewake returns at least 12m or 22m when out-of-range
value logged and shown to the user will be at least 12m for TFmini or 22m for TF02 which ensure the user won't see the range drop even if they have configured a very short useable distance
2018-11-15 09:18:45 +09:00
Andrew Tridgell 304eaa7782 waf: fixed typo 2018-11-15 09:55:14 +11:00
Peter Barker 1d2f8555c0 Tools: ardupilotwaf: adjust for new location of uploader.py 2018-11-15 09:55:14 +11:00