Commit Graph

36300 Commits

Author SHA1 Message Date
Andrew Tridgell ae448a6932 HAL_ChibiOS: enable DMA checking on H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 51b4d54f70 HAL_ChibiOS: disable show_stack_usage in bootloader 2019-02-26 16:18:26 +11:00
Andrew Tridgell a6e989e263 AP_IOMCU: fixed shadowed variable warning 2019-02-26 16:18:26 +11:00
Andrew Tridgell 2fee1ffba4 AP_Bootloader: first working bootloader for H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell 5201fdf653 HAL_ChibiOS: adjust for changed flash API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 565706cf7e HAL_ChibiOS: fixed H7 flash handling 2019-02-26 16:18:26 +11:00
Andrew Tridgell c2746ca9f9 HAL_ChibiOS: simplify H7 hwdef.dat 2019-02-26 16:18:26 +11:00
Andrew Tridgell 84ac98622c HAL_ChibiOS: fixed charset issue in H7 database 2019-02-26 16:18:26 +11:00
Andrew Tridgell 227ecc53ac HAL_ChibiOS: support mcuconf for STM32H7 MCU 2019-02-26 16:18:26 +11:00
Andrew Tridgell 972ae519a6 HAL_ChibiOS: added minimal hwdef for STM32H743 Nucleo board 2019-02-26 16:18:26 +11:00
Andrew Tridgell 4d3cbd95ac AP_Bootloader: support building on STM32H7 2019-02-26 16:18:26 +11:00
Andrew Tridgell aab911ac50 HAL_ChibiOS: added hwdef database for STM32H743 2019-02-26 16:18:26 +11:00
Andrew Tridgell b26d553807 ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell 1b06b0f41c HAL_ChibiOS: fixed F765 build 2019-02-26 16:18:26 +11:00
Andrew Tridgell ceb0ec70f9 HAL_ChibiOS: disable pipes API
not used
2019-02-26 16:18:26 +11:00
Andrew Tridgell bbd25350eb HAL_ChibiOS: support ChibiOS kernel major 6
preparing for STM32H7 support
2019-02-26 16:18:26 +11:00
Andrew Tridgell e79b7fb6d5 uavcan: submodule update
support ChibiOS kernel major 6
2019-02-26 16:18:26 +11:00
Andrew Tridgell 395f71f4ec ChibiOS: submodule update 2019-02-26 16:18:26 +11:00
Andrew Tridgell 908b444a50 HAL_ChibiOS: update halconf for VER_7_0 API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 247bb433ec HAL_ChibiOS: update chconf.h for VER_6_0 API 2019-02-26 16:18:26 +11:00
Andrew Tridgell 903926e63b ChibiOS: update to upstream master for STM32H7 support 2019-02-26 16:18:26 +11:00
Peter Barker 80e8f9cdd8 AP_HAL_SITL: read all available SITL RC input packets
MAVProxy runs on its own clock.  While our clock is stopped for whatever
reason MAVProxy will continue to send RC input.  This patch always gives
us the most recent RC input from MAVProxy.

Also add sanity check on packet received
2019-02-26 14:17:21 +11:00
Peter Barker 4d0ae8c371 Tools: autotest: add test for MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED 2019-02-26 14:09:21 +11:00
Peter Barker a48f461158 Copter: remove position-vector methods
Both were used in just one place
2019-02-26 14:09:21 +11:00
Peter Barker 6fc4086726 Tools: autotest: accept home position before or after ack
autopilot may be out of space or time to send home position packet after
we have requested it
2019-02-26 14:01:41 +11:00
Peter Barker 6fd687e861 AP_AHRS: retry sending home/origin if it fails 2019-02-26 14:01:41 +11:00
Peter Barker ace5192852 GCS_MAVLink: retry sending home/origin if it fails
Also grants us the ability to stream these messages
2019-02-26 14:01:41 +11:00
Arjun Vinod d02d897928 Copter: make LOITER_TIME send "Reached command" message to GCS 2019-02-26 10:19:37 +09:00
Arjun Vinod 8044d98382 Copter: do an early-return if the time hasn't been reached 2019-02-26 10:14:56 +09:00
murata 8644f4d76e Copter: Disable option code
Copter: Revert change

Copter: Change mistakes
2019-02-26 10:00:00 +09:00
IamPete1 4bb28eb63c AP_Windvane: add rpm wind speed snesor type 2019-02-26 09:58:56 +09:00
IamPete1 696953fb97 AP_RPM: create singleton 2019-02-26 09:58:56 +09:00
Peter Barker b9cd3a8a39 AP_Logger: add logging of mavlink stats 2019-02-26 11:23:57 +11:00
Peter Barker 9f27e91f33 GCS_MAVLink: add simple stats to dataflash 2019-02-26 11:23:57 +11:00
Peter Barker 4ae64416c3 AP_Logger: add instance unit type 2019-02-26 11:23:57 +11:00
Andrew Tridgell 136e10a781 Plane: handle VTOL landing with incorrect height
if landing above expected height then run landing detector to allow a
switch from LAND_DESCEND to LAND_FINAL

this prevents the plane sitting on the ground until the battery runs
out
2019-02-26 11:12:58 +11:00
Peter Barker 3959780999 AP_AHRS: ensure home is always stored in ALT_FRAME_ABSOLUTE 2019-02-26 10:35:39 +11:00
Peter Barker 138d93702a GCS_MAVLink: use Location to change alt frames 2019-02-26 10:35:39 +11:00
Peter Barker 97792d1774 Sub: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker dea75a87fd Plane: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker 693873fd04 Copter: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker 20e28acb16 Tracker: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker 75af170900 Rover: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker 63e894e7e1 AP_AHRS: rename set_orientation to update_orientation
set_ should be reserved for setters
2019-02-26 10:28:09 +11:00
Peter Barker 8e1b48ef1e Copter: use height-above-ground for landing gear deployment 2019-02-26 08:21:32 +09:00
Andrew Tridgell 078eef91cb 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-26 10:14:42 +11:00
Peter Barker 2aa0de49bb AP_GPS: remove pointless initialisers 2019-02-26 09:53:28 +11:00
Simon Schopferer 6beac98d4a fixed conversion of airspeed from ft/s to knots as defined in latest JSBSim versions 2019-02-26 09:14:42 +11:00
Peter Barker 11a70536eb AP_UAVCAN: correct Notify singleton getter call 2019-02-26 08:46:37 +11:00
Arjun Vinod f382a657bd AP_NavEKF3: fixed typos 2019-02-26 08:33:39 +11:00