Commit Graph

33345 Commits

Author SHA1 Message Date
Randy Mackay afea0353c8 Copter: stop at waypoint depending upon next command 2019-02-27 20:06:18 +09:00
Randy Mackay 92b68d516b Copter: remove unused auto_spline_start declaration 2019-02-27 20:06:16 +09:00
Andrew Tridgell a9b5a0fea0 AC_WPNav: prevent I term buildup during landing
this prevents I term buildup in the XY velocity controller during
landing. This to account for the EKF giving a non-zero horizontal
velocity when we have touched down. The I term buildup in the XY
velocity controller can lead to the attitude error going above the
level for disabling the relax function as the throttle mix is
changed. That results in large motor outputs which can tip over the
vehicle after touchdown.

Thanks to Leonard for the suggestion
2019-02-27 20:06:15 +09:00
Andrew Tridgell 6668a2e602 AP_RangeFinder: fixed lightware serial with LW20 lidar
it needs a longer serial write to force it to serial mode from i2c
2019-02-27 20:06:06 +09:00
Andrew Tridgell f04efe7985 HAL_ChibiOS: allocate threads from any heap
this fixes a failure on MatekF405-Wing where it fails to allocate the
SPI thread for the IMU
2019-02-27 11:59:45 +11:00
Randy Mackay 6b88b2ba97 Copter: version to 3.6.6 2019-02-15 12:56:43 +09:00
Randy Mackay ff6a1c0b4b Copter: 3.6.6 release notes 2019-02-15 12:56:30 +09:00
Randy Mackay 4e740de44a Copter: version to 3.6.6-rc2 2019-02-09 16:02:08 +11:00
Randy Mackay 0526df1192 Copter: 3.6.6-rc2 release notes 2019-02-09 16:02:08 +11:00
Andrew Tridgell 26a38e206f autotest: added defaults for compass3 offsets 2019-02-09 16:02:08 +11:00
Andrew Tridgell 5ce1c14674 AP_NavEKF3: fixed EKF compass switching
when we had 3 compasses the lack of the 'break' meant when we switched
compass in flight we would always switch back instantly to the one
that we had just rejected.
2019-02-09 16:02:08 +11:00
Andrew Tridgell 95522b5486 AP_NavEKF2: fixed EKF compass switching
when we had 3 compasses the lack of the 'break' meant when we switched
compass in flight we would always switch back instantly to the one
that we had just rejected.
2019-02-09 16:02:08 +11:00
Andrew Tridgell f614dcbb18 AP_Compass: change to 3 compasses in SITL 2019-02-09 16:02:08 +11:00
Randy Mackay bed8774e1a Copter: Guided_NoGPS does not require GPS 2019-02-09 16:02:08 +11:00
Andrew Tridgell 30d11f6a40 Filter: fixed crash on zero cutoff frequency
this fixes #10435
2019-02-09 16:02:08 +11:00
Andrew Tridgell 5a0e0179d8 HAL_ChibiOS: fixed mini-pix uart order 2019-02-09 16:02:08 +11:00
Andrew Tridgell 2f7121a073 HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini
the silent pins floating disabled CAN
2019-02-09 16:02:08 +11:00
Andrew Tridgell 2e0b0aa14c waf: fixed git hash in generated APJ file
# Conflicts:
#	Tools/ardupilotwaf/chibios.py
2019-02-09 16:02:08 +11:00
Andrew Tridgell b72378db9c HAL_ChibiOS: setup APJ board IDs in environment 2019-02-09 12:27:35 +09:00
Randy Mackay 0163460489 Copter: version to 3.6.6-rc1 2019-02-02 12:03:00 +09:00
Randy Mackay 748afad925 Copter: 3.6.6-rc1 release notes 2019-02-02 12:02:58 +09:00
Randy Mackay 835c0d8991 AC_PosControl: remove unnecessary init of last_update_xy_ms 2019-02-02 11:34:38 +09:00
hongle 44da0d03d7 AP_RSSI: add V5 Nano to the RSSI_ANA_PIN param description 2019-02-02 10:34:49 +09:00
Michael du Breuil d93eb0306d AP_RSSI: Remove APM doc references 2019-02-02 10:34:48 +09:00
Randy Mackay df4dcf3c8f AC_PosControl: constify dt calcs 2019-02-02 10:34:47 +09:00
Randy Mackay 0929d0333b AC_WPNav: use dt from pos controller 2019-02-02 10:34:46 +09:00
Randy Mackay 4f74075e53 AC_PosControl: increase accuracy of dt calcs 2019-02-02 10:34:45 +09:00
bnsgeyer 0be7a7cf2d Copter: Tradheli-fixes hover roll trim ramp time 2019-02-02 10:34:45 +09:00
Andrew Tridgell f044627895 waf: fixed ROMFS compression to use zero timestamp
this makes the apj file indepenent of build date, which fixes this
issue:

https://discuss.ardupilot.org/t/arducopter-waf-build-repeatability/37182
2019-02-02 10:02:46 +09:00
Peter Barker 2550c9922d AP_RSSI: make RSSI work on ChibiOS 2019-02-01 14:01:10 +09:00
Rob Ratcliff 6af9be44a7 RC_Channel: treat UINT16_MAX as a value of 0 in set_override
Addresses ignore R/C override issue documented here:
https://github.com/ArduPilot/ardupilot/issues/1667
2019-01-24 11:20:10 +09:00
Randy Mackay d37125bd78 Copter: version to 3.6.5 2019-01-24 10:15:19 +09:00
Randy Mackay 7fdeff7e4b Copter: 3.6.5 release notes 2019-01-24 10:15:01 +09:00
Randy Mackay 40dd9f597a Copter: version to 3.6.5-rc3 2019-01-21 09:31:24 +09:00
Randy Mackay eaa50edb9a Copter: 3.6.5-rc3 release notes 2019-01-21 09:30:28 +09:00
Andrew Tridgell fa365b6f8d HAL_ChibiOS: disable USART6_TX on fmuv5
this prevents it acting as a pullup on SBUS input for Pixhawk4. Thanks
to David Sidrane for the suggestion.

This also enables the extra 3 PWMs for PH4-mini
2019-01-18 09:45:00 +11:00
Randy Mackay 3314b62f3a Copter: version to 3.6.5-rc2 2019-01-15 10:03:34 +09:00
Randy Mackay 0581867e72 Copter: 3.6.5-rc2 release notes 2019-01-15 10:03:27 +09:00
Michael du Breuil b88821a99f Tools: updated ChibiOS IO firmware for Pixhawk4 2019-01-15 10:36:13 +11:00
Andrew Tridgell 55e362e470 AP_HAL_ChibiOS: Fix FMUv2 LED lighting up 2019-01-14 12:22:47 +11:00
Andrew Tridgell d9b6c6e0c9 AP_RCProtocol: on DSM sync error don't reset channel count
this fixes the issue noticed by Andreyl in 3.6.5rc1
2019-01-14 12:05:29 +11:00
Randy Mackay d8752f0c83 Copter: version to 3.6.5-rc1 2019-01-11 10:39:35 +09:00
Randy Mackay 596cb3ccba Copter: 3.6.5-rc1 release notes 2019-01-11 10:39:29 +09:00
Andrew Tridgell bbe09c4b59 AP_BoardConfig: fixed build 2019-01-11 12:02:59 +11:00
Andrew Tridgell ee87621ed4 HAL_ChibiOS: fixes for DrotekP3Pro 2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez 71412f4deb AP_BoardConfig: add ChibiOS FMUv4pro defines 2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez 85e79f87f6 AP_HAL: add ChibiOS FMUv4pro 2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez dd66c8919c HAL_ChibiOS: add MCU tables for STM32F469 2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez 3a06e866a7 HAL_ChibiOS: add DrotekP3Pro hardware definitions 2019-01-11 12:02:59 +11:00
Andrew Tridgell 992f36f4a4 Copter: implement get_wp() for follow
this allows the GCS to plot the position target
2019-01-11 09:53:42 +09:00