Commit Graph

27359 Commits

Author SHA1 Message Date
yaapu f33d6c4ec1 AP_MSP: fix rssi rounding issue 2021-09-22 17:09:50 +10:00
Pierre Kancir d853d16c42 AP_Math: fix vectorN ctor warning by using C++11 brace initilization in all cases 2021-09-21 20:51:37 +10:00
Paul Riseborough e9c339a0a0 AP_NavEKF3: fix wind speed covariance initialisation bug 2021-09-21 17:16:36 +10:00
Andrew Tridgell 758ce2699e HAL_ChibiOS: added Hitec-Airspeed hwdef 2021-09-21 13:51:40 +10:00
Andrew Tridgell 7f59366cc0 HAL_ChibiOS: process AIRSPEED lines in hwdef.dat 2021-09-21 13:51:40 +10:00
Andrew Tridgell f65620f4f3 AP_Airspeed: allow for an AIRSPEED list in hwdef.dat
this saves a lot of flash by only including specific drivers
2021-09-21 13:51:40 +10:00
Peter Barker f07d40a570 AP_Mission: fix infinite loop with nav commands that won't start
Discovered this when trying to run the standard CMAC mission on Sub
2021-09-21 13:42:01 +10:00
Shiv Tyagi a24a8c110b SRV_Channel : Improved should_e_stop method by using switch
This method earlier used >=, <= and == operators which is less maintainable. Hence, I replaced it by switch.

Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-09-21 11:17:09 +10:00
Gone4Dirt 30589f9b29 AP_Generator: Make unhealthy driver message persist 2021-09-21 11:14:03 +10:00
Andy Piper e1fdab8423 AP_RCTelemetry: don't enter parameter mode while armed.
exit parameter mode quickly on ping
construct and respond to ping frames correctly
2021-09-21 10:41:58 +10:00
Iampete1 f541653502 SRV_Channel: fix override timeout without repeated calls 2021-09-21 10:24:04 +10:00
Iampete1 db6490818f AP_Button: update FUNx values 2021-09-21 09:36:24 +10:00
Iampete1 524ea39dfa RC_Channel: add convert_options function 2021-09-21 09:36:24 +10:00
Iampete1 c67705b02d RC_Channel: do_aux_function_armdisarm no longer needs to be virtual 2021-09-21 09:36:24 +10:00
Iampete1 39ca7dae1c RC_Channel: add two new ARMDISARM options and deprecate old 2021-09-21 09:36:24 +10:00
Josh Henderson 96cabfc423 SITL: add unit tests for SIM_MS5525 2021-09-21 09:30:58 +10:00
Josh Henderson 18a0632276 SITL: MS5XXX drivers use check_conversion_accuracy 2021-09-21 09:30:58 +10:00
Josh Henderson 2a2399c8f1 SITL: airspeed DLVR add atmosphere temperature model 2021-09-21 09:30:58 +10:00
Josh Henderson c454cea401 AP_Airspeed: fix MS5525 driver to allow copying driver to 64bit SITL 2021-09-21 09:30:58 +10:00
Josh Henderson 5e90649a6e SITL: fix MS5525 for temp <20C and negative pressures 2021-09-21 09:30:58 +10:00
Hwurzburg aa402d9a55 AP_Tuning: add options to prevent spamming tuning error messages 2021-09-21 07:56:19 +09:00
Hwurzburg 502aff27da AC_AttitudeControl: add options to prevent spamming tuning error messages 2021-09-21 07:56:19 +09:00
Iampete1 169375d14f RC_Channel: arming_check_throttle to virtual 2021-09-18 15:52:38 +01:00
Shiv Tyagi cdb4ec8ad0 Plane : Improved LAND_THEN_NEUTRL to work on all control surfaces
This fixes the issue #18593

Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2021-09-17 22:06:24 -05:00
Michelle Rossouw c9a3b16aa7 SITL: Blimp SITL add initial dynamics 2021-09-18 08:26:23 +10:00
Andrew Tridgell f77e64ac83 HAL_SITL: Fixed default PWMs for blimp 2021-09-18 08:26:23 +10:00
Andrew Tridgell 5dcfa95444 GCS_Mavlink: allow setting of AHRS_TRIM_Z 2021-09-17 14:07:14 +10:00
Andrew Tridgell 3715ce6d1a AP_AHRS: allow setting of AHRS_TRIM_Z 2021-09-17 14:07:14 +10:00
Andrew Tridgell fd86cb0591 AP_Vehicle: moved accel cal update handling from vehicles 2021-09-17 14:07:14 +10:00
Andrew Tridgell fefade783b AP_InertialSensor: allow accelcal with a rotation 2021-09-17 14:07:14 +10:00
Andrew Tridgell 3f043dd933 AP_AHRS: added get_view_rotation() 2021-09-17 14:07:14 +10:00
Andrew Tridgell 63fcb804b3 AP_UAVCAN: added CAN_Dn_UC_OPTION parameter
this allows for 2 ways of controlling conflicts in the UAVCAN DNA
database. The first is to set CAN_Dn_UC_OPTION to 1, which resets the
DNA database, thus clearing any node conflicts.

The second is to set CAN_Dn_UC_OPTION to 2, which ignores node
conflicts in the DNA database

These options are useful for vehicles with UAVCAN smart batteries
where the node ID is fixed but the hwid changes and you want to do
battery swapping (possibly without rebooting)
2021-09-17 12:32:59 +10:00
Andrew Tridgell 17f8b0b11a AP_Param: disable debug code by default
found on EU dev call
2021-09-16 21:05:48 +10:00
Andrew Tridgell 119df09c44 SITL: cope with a socket error in FlightAxis
this fixes an issue that has arisen with the new threading approach
where RF would occasionally freeze
2021-09-16 14:31:10 +10:00
yaapu 94aba33d10 AP_OSD: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
yaapu 9f0d9a5652 AP_MSP: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
Iampete1 934a4e26c9 AR_Motors: re-work omni output to scale evenly at saturation 2021-09-16 08:48:47 +09:00
Iampete1 7ec7b478f0 AC_WPNav: add getter for wp_radius_cm 2021-09-15 20:36:56 +10:00
Iampete1 0a41cdaa24 SRV_Channel: add ignore reversed flag to set_trim_to_min_for 2021-09-15 18:59:07 +09:00
Iampete1 950dcf9242 AP_MotorsUGV: ignore servo reverse when setting trim for brushed with relay 2021-09-15 18:59:07 +09:00
Iampete1 85e57a3bd8 AP_Avoidance: correct ADSB vertical velocity conversion 2021-09-15 17:55:50 +10:00
Peter Barker 16c11fc4fa AP_Airspeed: allow zero offset if we are skipping calibration 2021-09-15 17:52:34 +10:00
Iampete1 bf695e4eeb AP_HAL_ChibiOS: atof to strtof 2021-09-15 17:36:12 +10:00
Iampete1 34f5b800b6 AP_Generator: atof to strtof 2021-09-15 17:36:12 +10:00
Iampete1 17e8ea0136 AP_RangeFinder_Params: update PIN discription 2021-09-15 17:31:54 +10:00
yaapu 53ea385291 AP_MSP: removed unnecessary pure virtual methods 2021-09-15 17:28:56 +10:00
yaapu e1b12fbee3 AP_MSP: use const structures and brace initialization where possible
saves ane extra 130bytes
2021-09-15 17:28:56 +10:00
yaapu 3bbf2c1f70 AP_MSP: removed unstructured writes to msp dst buffer 2021-09-15 17:28:56 +10:00
yaapu a2b83d675f AP_Scripting: added a frsky battery example 2021-09-15 17:21:41 +10:00
Peter Barker 305a8ad48a AP_Scripting: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00