Commit Graph

49282 Commits

Author SHA1 Message Date
Iampete1 ce56bfe786 AP_Arming: check status and health of all GPS 2021-08-31 09:13:57 +10:00
Peter Barker de9f8a9320 AP_Logger: specify frames on PSC fields 2021-08-31 09:09:02 +10:00
Andy Piper 8035b92e6e AP_RCProtocol: increase CRSF frame timeout to account for scheduling delays 2021-08-31 08:18:32 +10:00
Andrew Tridgell 39f44147b8 HAL_ChibiOS: reduce the impact of UART DMA contention
this changes the heuristics for UART TX DMA allocation to greatly
reduce the chances of DMA contention causing long delays on other
devices

This fixes issues with FETTec driver output and gimbal status messages
as reported by Amilcar and OlliW. The problem is particularly bad when
no GPS is connected to GPS1 on fmuv3 and derived boards (such as
CubeBlack)

key changes:

 - remember the contention_counter across begin() calls, as the GPS
   calls begin with new baudrates regularly

 - added a is_shared() API to Shared_DMA, allowing the UART driver to
   avoid TX DMA on shared streams when at low baudrates.
2021-08-31 07:55:27 +10:00
Andrew Tridgell dc252aa8f5 GCS_MAVLink: check for null comm_port before writing
this was found when adding debug code to write to a specific channel
2021-08-31 07:55:27 +10:00
Randy Mackay 8102629dfb Copter: refactor/rename precland methods 2021-08-30 14:08:44 +09:00
Rishabh ee176d26e9 AC_PrecLand: Raise internal error if state machine is running while precland is disabled 2021-08-30 14:08:44 +09:00
Rishabh 40adad743e Copter: Disable Prec Land State Machine when Prec Land disabled 2021-08-30 14:08:44 +09:00
Iampete1 7d536666b4 SITL: SIM_Sailboat: remove use of AHRS 2021-08-30 13:40:37 +10:00
Marek Łukasiewicz 5de6c690d8 HAL_ChibiOS: Rename STM32F412 hw definition file 2021-08-30 10:27:45 +10:00
Pierre Kancir 60155a7fec Filter: add more unittests 2021-08-30 09:51:25 +10:00
Pierre Kancir fd38be843a Filter: finish modefilter test 2021-08-30 09:51:25 +10:00
Andrew Tridgell a39a948c57 Plane: updated releases notes for 4.1.0beta6 2021-08-29 11:35:08 +10:00
Peter Barker 0792caab83 AP_AHRS: factor out an update_notify_from_filter_status 2021-08-28 23:11:09 +10:00
Peter Barker ca6d214bb3 AP_AHRS: remove unused getGpsGlitchStatus method 2021-08-28 19:46:13 +10:00
Randy Mackay 5f8237d1ab Rover: 4.1.0-rc1 release notes 2021-08-28 17:14:12 +09:00
Randy Mackay b54821f608 Copter: 4.1.0-beta8 release notes 2021-08-28 17:14:02 +09:00
Iampete1 dd031dd43e Tools: autotest: default_params: tri: set MOT_YAW_SV_ANGLE to 60 2021-08-28 10:32:59 +09:00
Iampete1 6628fd2837 SITL: swap rotation direciton of motor 2 for lower yaw offset 2021-08-28 10:32:59 +09:00
Teo 4988f72ee2 RC_Channel: removed dead code 2021-08-28 10:29:06 +09:00
bugobliterator fd95c32d88 AP_HAL_ChibiOS: add CubeOrange Periph Heavy build 2021-08-27 09:17:30 -07:00
Peter Barker 3d1ed896c8 Tools: make_intel_hex.py: show required size in error message 2021-08-27 17:26:28 +10:00
Pierre Kancir cc39eafe02 AP_GyroFFT: ensure we got float division when there are needed instead of integer divisions 2021-08-27 13:42:03 +10:00
Pierre Kancir 23a67a9e60 AP_GyroFFT: checking that uint16_t is negative is useless 2021-08-27 13:42:03 +10:00
Pierre Kancir 39fd32aa9e AP_GyroFFT: reduce first_harmonic scope 2021-08-27 13:42:03 +10:00
Marcelo Rodrigues 92b179e0f3 AP_Bootloader: add SKYSTARSF405DJI 2021-08-27 08:54:37 +10:00
Andrew Tridgell 858a6b7e87 HAL_ChibiOS: allow FlywooF745 to build again 2021-08-27 07:45:58 +10:00
Patrick José Pereira 24713326a2 Tools: scripts: Improve help text to make it clear which format is accepted
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Patrick José Pereira 47d2021780 Tools: scripts: Add PIE support in firmware_version_decoder
Calculate pointer offset for PIE (Position Independent Executables) binaries.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Pierre Kancir bcfb07b39f AP_Rangefinder: fix override in constructor 2021-08-26 21:48:19 +10:00
Pierre Kancir 8a6661eeeb Modules: update gsoap 2021-08-26 14:24:35 +10:00
Randy Mackay b524094216 AP_NavEKF2: init rngOnGnd to 5cm to avoid div-by-zero 2021-08-26 12:23:32 +09:00
Leonard Hall ff58054d1b AC_AttitudeControl: AC_PosControl: Clean up to use .xy() 2021-08-26 12:22:52 +09:00
Leonard Hall 8223d664a7 AC_AttitudeControl: AC_PosControl: Non functional clean up 2021-08-26 12:22:52 +09:00
Leonard Hall 520883b504 AC_WPNav: Fix Jerk units 2021-08-26 12:22:52 +09:00
Leonard Hall 9c097dd6be AC_AttitudeControl: AC_PosControl: limit initial acceleration 2021-08-26 12:22:52 +09:00
Leonard Hall 445e52b821 AC_AttitudeControl: AC_PosControl: fix stopping point initialization 2021-08-26 12:22:52 +09:00
Randy Mackay b396169084 AP_Scripting: copter-fast-descent.lua example script 2021-08-26 11:25:54 +09:00
Randy Mackay da12593bd8 Copter: implement new set_target methods 2021-08-26 11:25:54 +09:00
Randy Mackay 1a7826295f AP_Vehicle: add virtual set_target methods 2021-08-26 11:25:54 +09:00
Randy Mackay e8155bc47c AP_Scripting: add AP_Vehicle set_target_pos_NED and posvelaccel_NED bindings 2021-08-26 11:25:54 +09:00
Randy Mackay a3b4c8efd8 AP_Scripting: minor reorder of AP_Vehicle bindings
this is a slightly better grouping
2021-08-26 11:25:54 +09:00
Randy Mackay 5eb65c9a1f AP_Scripting: add AHRS:get_relative_position_NED_origin binding 2021-08-26 11:25:54 +09:00
Randy Mackay 0b4e926215 Copter: fix ModeGuided::set_destination_posvel 2021-08-26 11:25:54 +09:00
Pierre Kancir ec03c9eaf4 AP_Scheduler: correct pointer checking 2021-08-26 10:17:22 +10:00
Andrew Tridgell 1655beeca9 AP_MSP: fixed build without MSP
found by custom.ardupilot.org
2021-08-26 10:01:35 +10:00
olliw42 617024bdfa GCS_Mavlink: scale across full valid range 2021-08-26 09:44:59 +10:00
olliw42 1856722b65 Rover: remove send_servo_out() method 2021-08-26 09:44:59 +10:00
olliw42 2fecc02aa6 Rover/GCS_MAVLINK: add send_servo_out() method and use GCS_MAVLINK::receiver_rssi() 2021-08-26 09:44:59 +10:00
olliw42 bacfe82c66 GCS_MAVLINK: add receiver_rssi() method, and use it 2021-08-26 09:44:59 +10:00