Commit Graph

49327 Commits

Author SHA1 Message Date
Siddharth Purohit 8dff6dd27b AP_Bootloader: build FlashIface for bl with external flash support 2021-09-01 17:10:53 +10:00
Siddharth Purohit a039711628 AP_HAL_ChibiOS: prepare H757I_EVAL for external flash programming 2021-09-01 17:10:53 +10:00
Siddharth Purohit 32f91c4cb2 AP_FlashIface: add jedec test using bootloader config 2021-09-01 17:10:53 +10:00
Andrew Tridgell fdfa14c4c0 HAL_ChibiOS: adjust Swan-K1 tuning 2021-09-01 14:04:35 +10:00
Andrew Tridgell 3bb17697fd Plane: fixed params for Q_TAILSIT_ENABLE 2021-09-01 14:04:35 +10:00
Andrew Tridgell f4ad8f6ef5 HAL_ChibiOS: fix for HAL_PWM_COUNT zero
reported by Mallikarjun
2021-09-01 13:05:20 +10:00
Iampete1 7f8b7b66a9 Plane: tailsitter: add enable = 2 for force q assit and assisted flight airmode 2021-09-01 08:33:24 +10:00
Iampete1 f1477a6c29 Plane: quadplane: add assisted flight only airmode 2021-09-01 08:33:24 +10:00
Iampete1 4efa9866fa Plane: arming: do not disable asisted flight airmode on disarm 2021-09-01 08:33:24 +10:00
Iampete1 46670f7bd0 Plane: quadplane: move tailsitter items to dedicated setup 2021-09-01 08:33:24 +10:00
Peter Barker 5f980929d9 AP_Motors: use add_motors to save flash 2021-08-31 20:23:58 +10:00
nkruzan 0a236bc13d AP_Vehicle: log internal error and report bitmask to GCS
AP_Vehicle.cpp: cast parameter bitmask as (unsigned) per Peter B.

rework per Peter B.

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
remove unnecessary send_internal_error_statustext function

remove Write_InternalError function
2021-08-31 15:54:02 +10:00
Peter Barker 2be49cb42b AP_Airspeed: fix examples for AP_AHRS_DCM becoming backend 2021-08-31 14:28:53 +10:00
Peter Barker 875b6331a4 AP_Compass: fix examples for AP_AHRS_DCM becoming backend 2021-08-31 14:28:53 +10:00
Peter Barker acc595ff57 AP_Mission: fix examples for AP_AHRS_DCM becoming backend 2021-08-31 14:28:53 +10:00
Peter Barker 522c05fcc9 AP_Module: fix examples for AP_AHRS_DCM becoming backend 2021-08-31 14:28:53 +10:00
Peter Barker 29d2eed9e4 Sub: view update does not take skip_ins_update 2021-08-31 14:28:53 +10:00
Peter Barker 9dbd9d1e06 AP_AHRS: call INS update in AP_AHRS::update w/o holding data sem
We shouldn't be holding the data semaphore while waiting for the samples
- lots of things might be unnecessarily blocked

DCM's update function doesn't need to take the semaphore as it is
already taken by AP_AHRS
2021-08-31 14:28:53 +10:00
TunaLobster c20914c0c6 SITL: Add C++ library for JSON interface
Includes examples for a 1-D rover, minimum, and a copy of Socket as SocketExample.
2021-08-31 14:28:03 +10:00
Iampete1 700a92f036 plane: quadplane: tailsitter: run FW transition check and assist immediately 2021-08-31 10:34:33 +10:00
Iampete1 970d0ea2a3 AP_BoardConfig: make sure heater is left off if disabled 2021-08-31 10:32:25 +10:00
Josh Henderson b1028035bc AP_UAVCAN: cleanup comments in BatteryInfoAux dsdl message 2021-08-31 10:30:28 +10:00
Andrew Tridgell 584fb7cd7b HAL_ChibiOS: use more USB buffers on higher end F7 chips 2021-08-31 10:12:00 +10:00
Andrew Tridgell 4fdc1ebc30 AP_InertialSensor: fixed locking issue in delta accumulation
this fixes a bug in calculating delta velocity and delta acceleration
between threads.
2021-08-31 10:10:18 +10:00
Peter Hall 657fcb7f59 Plane: quadplane: set `last_pidz_init_ms` 2021-08-31 09:58:03 +10:00
Iampete1 3c44a4fe6b Plane: radio: remove recompute_pwm_no_deadzone calls in training mode 2021-08-31 09:48:59 +10:00
Iampete1 e28650c8bd RC_Channel: remove recompute_pwm_no_deadzone 2021-08-31 09:48:59 +10:00
Peter Barker 81fc725435 Blimp: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker 80a56a5fdf ArduSub: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker a38879f77e ArduCopter: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker 34ff53f158 AntennaTracker: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker 3a5062c90b AP_NMEA_Output: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Peter Barker cc514af158 AP_AHRS: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Iampete1 09f1a3da8a Copter: auto RTL: don't switch modes if already in auto 2021-08-31 08:40:08 +09:00
TunaLobster d31f3eb4c5 Plane: Add TRIM_PITCH_CD FLIGHT_OPTIONS bits for GCS and OSD 2021-08-31 09:32:10 +10:00
TunaLobster 4b67490fca .gitignore: Add ParametersLatex.rst 2021-08-31 09:28:03 +10:00
TunaLobster 1df66731c8 Tools: Add rstlatexpdf emitter 2021-08-31 09:28:03 +10:00
Andrew Tridgell a412795045 AP_Terrain: make TERRAIN_MARGIN a float
it turns out very large margins are needed for some locations
2021-08-31 09:25:36 +10:00
Randy Mackay e5bde1a085 AP_VisualOdom: use AP_AHRS::using_extnav_for_yaw to protect against aligning to oneself 2021-08-31 09:20:17 +10:00
Randy Mackay 1c08866342 AP_AHRS: add using_extnav_for_yaw 2021-08-31 09:20:17 +10:00
Randy Mackay 63e579d738 AP_NavEKF3: add using_extnav_for_yaw 2021-08-31 09:20:17 +10:00
Randy Mackay b984f1370c AP_VisualOdom: integrate rename to using_noncompass_for_yaw 2021-08-31 09:20:17 +10:00
Randy Mackay b4e073d6f7 Copter: AP_Arming integrates rename to using_noncompass_for_yaw 2021-08-31 09:20:17 +10:00
Randy Mackay e7be608a4a AP_AHRS: rename is_ext_nav_used_for_yaw to using_noncompass_for_yaw 2021-08-31 09:20:17 +10:00
Randy Mackay 0edfd2634f AP_NavEKF3: rename using_external_yaw to using_noncompass_for_yaw 2021-08-31 09:20:17 +10:00
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