Commit Graph

17442 Commits

Author SHA1 Message Date
Andrew Tridgell 820b2386c0 APM_Control: halve the default pitch D term for planes
this is based on feedback from the 3.9.1 release
2018-09-14 07:32:46 +10:00
Andrew Tridgell cdfef0bbeb HAL_ChibiOS: implement set_failsafe_pwm() 2018-09-13 08:16:10 +10:00
Andrew Tridgell 9db5d45d07 SRV_Channel: handle reversed channels in limit PWMs 2018-09-13 08:16:07 +10:00
Andrew Tridgell 098cf8dcb0 AP_IOMCU: implement failsafe PWM 2018-09-13 08:16:04 +10:00
Andrew Tridgell 239c18792a AP_AHRS: fixed dead-reckoning groundspeed vector
this is essential for RTL in planes on GPS loss
2018-09-12 16:26:36 +10:00
Leonard Hall 69138fea36 AC_PosControl: Fix divide by zero check in limit_vector_length 2018-09-12 14:15:13 +10:00
Leonard Hall 3fd270ff2a AC_AttitudeControl: Add minimum angle limit for get_althold_lean_angle_max 2018-09-12 14:15:09 +10:00
Andrew Tridgell 54c5b6e404 HAL_ChibiOS: fixed ADC bug
this caused bad analog readings when the number of channels being read
was more than the number of hw channels

thanks to @vierfuffzig for reporting!
2018-09-11 20:29:48 +10:00
s0up b53dfbc3d2 HAL_ChibiOS: Add speedybee hardware definition 2018-09-07 08:34:40 +10:00
Andrew Tridgell 536923585c AP_IOMCU: cope with IOMCU reset in flight
this copes with IOMCU reset when we have safety forced off
2018-09-04 15:24:33 +10:00
Andrew Tridgell e1bab160f7 AP_Notify: fixed oled probe on first bus
Thanks to Erwin Quilloy for helping to track this down
2018-09-03 18:06:47 +10:00
Andrew Tridgell 7897fbc3c1 HAL_ChibiOS: use a larger TX buffer on USB
this is needed for fast log download on vehicles with 50Hz main loop
2018-08-28 08:49:37 +10:00
Andrew Tridgell 3ae4cfbf22 HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix 2018-08-24 19:44:08 +10:00
Michael du Breuil 3292f049e7 SRV_Channel: Remove the trim_all interface, constrain failsafes to non motor outputs 2018-08-23 12:56:47 +10:00
Andrew Tridgell 860310ba7c AP_OSD: raise thread stack size to 1024
based on testing in SITL
2018-08-20 13:49:38 +10:00
Andrew Tridgell 1087da3d64 AP_TECS: set default pitch max to 15 2018-08-17 17:02:16 +10:00
Andrew Tridgell cb37f112cd AP_L1_Control: lower default L1 period 2018-08-17 17:02:06 +10:00
Andrew Tridgell 6fe07e5702 APM_Control: raised default PID gains for roll/pitch 2018-08-17 17:01:56 +10:00
Hwurzburg 5ba6f5a3a2 AP_OSD: Adding efficiency and climb efficiency
and new font characters
2018-08-17 16:34:23 +10:00
Peter Barker 50a53ae28a DataFlash: force messagewriters to completion
Setting a dataflash-file buffer size of less than or equal to 2kiB would
cause the startup-messagewriter to never push any messages other than
FMT out to the logs.

This is a combination of the return values of
critical_message_reserved_space and
non_messagewriter_message_reserved_space

This patch forces the startup messages out to the logs by ignoring the
space constraints every 100ms
2018-08-16 17:41:47 +10:00
Andrew Tridgell 765e00faf1 HAL_ChibiOS: reduce memory used by serial buffers
this does not appear to affect log download speed. It saves about 27k
of memory
2018-08-16 17:01:01 +10:00
Andrew Tridgell e26028f572 AP_Stats: make singleton and add flighttime accessor 2018-08-16 16:54:31 +10:00
Hwurzburg ea3e523d28 AP_OSD: add flytime item 2018-08-16 16:54:21 +10:00
Hwurzburg c4c8e18f0c AP_OSD: Adding flight distance and summary panels for OSD 2018-08-16 16:54:19 +10:00
Alexander Malishev 5502bba9b4 AP_OSD: add waypoint and xtrack_error items 2018-08-16 16:54:17 +10:00
vierfuffzig f9ed94ed97 AP_OSD: add hdop display 2018-08-16 16:54:15 +10:00
Randy Mackay a158d8ec5f AP_OSD: fix compiler warnings 2018-08-16 16:54:12 +10:00
vierfuffzig b6bdcf594a AP_OSD: added temperature item 2018-08-16 16:54:10 +10:00
Alexander Malishev 0da7a7cbda HAL_ChibiOS: restore default dataflash buffer size
This fix log corruption in copter
2018-08-15 10:16:16 +10:00
Andrew Tridgell d183f19cad DataFlash: removed "no io thread heartbeat" msg 2018-08-15 09:52:30 +10:00
Andrew Tridgell e0ba1279fb AP_RSSI: allow override of RSSI pin 2018-08-15 09:51:50 +10:00
Peter Barker 8e4ee1ffa9 AP_Notify: make LED blink at constant rate in Rover 2018-08-15 09:46:23 +10:00
Andrew Tridgell a9d10fc78f AP_Notify: new LED drivers
update to current master
2018-08-08 07:53:11 +10:00
Andrew Tridgell f1fb1fd3fe AP_ROMFS: fixed error handling in tinflate
coverity CID308327
2018-08-07 13:25:29 +10:00
Andrew Tridgell 9c4e95a982 AP_RCProtocol: Fix out of bounds write, CID 308323 and 308333 2018-08-07 13:24:34 +10:00
Peter Barker 996278e5b6 RC_Channels: zero all channels before populating
Fix for CID 308365
2018-08-07 09:42:13 +10:00
Andrew Tridgell ea203520fa AP_Stats: use set_and_save_ifchanged()
if the board has no GPS then the values usually don't change
2018-08-06 21:45:20 +10:00
Andrew Tridgell 4f6a20ce9d HAL_ChibiOS: updated F745 and OmnibusNanoV6 2018-08-06 19:28:13 +10:00
Andrew Tridgell 6e6a47c0fd HAL_ChibiOS: added a DMA reserve heap
this ensures we keep some DMA-capable memory aside for when it is
needed
2018-08-06 16:01:36 +10:00
Andrew Tridgell 4554aee057 HAL_ChibiOS: raise timer thread priority
needs to be above main for guaranteed DShot and oneshot output periods
2018-08-06 11:41:11 +10:00
Andrew Tridgell 98104302a8 HAL_ChibiOS: fixed timing for older ChibiOS version 2018-08-06 11:38:58 +10:00
Andrew Tridgell 7f58c0a63d HAL_PX4: updated to new tonealarm system 2018-08-06 11:33:48 +10:00
Andrew Tridgell d9435261ce HAL_Linux: updated to new tonealarm system 2018-08-06 11:33:46 +10:00
Andrew Tridgell 40e8453967 HAL_ChibiOS: updated to new tonealarm system 2018-08-06 11:33:43 +10:00
Andrew Tridgell f487923851 AP_HAL: updated to new tonealarm system 2018-08-06 11:33:37 +10:00
Andrew Tridgell 07e1e8e753 AP_Notify: updated to new tonealarm system 2018-08-06 11:33:27 +10:00
Andrew Tridgell 55a129276d AP_BLHeli: pass motor mask to serial_setup_output() 2018-08-06 11:31:45 +10:00
Andrew Tridgell fce284a87d AP_BLHeli: improved reliability of pass-thru support
this uses a connection cache to prevent re-connecting to an ESC when
not needed, and allows for pass-thru comms on any port, using
SERVO_BLH_PORT parameter
2018-08-06 11:31:42 +10:00
Andrew Tridgell fa856f2191 HAL_ChibiOS: fixed dshot bad frames
adding a pre-bit on the DMAR, and ensuring that all groups are setup
for DMA together fixes the remaining bad frames reports in BLHeli32
2018-08-06 11:31:40 +10:00
Andrew Tridgell d832d4d311 HAL_ChibiOS: set min dshot separation to 100usec
this fixes a problem with BLHeli32 not recognising dshot
2018-08-06 11:31:39 +10:00