Commit Graph

58843 Commits

Author SHA1 Message Date
Andrew Tridgell
086d0907dd Plane: fixed TECS state reset in VTOL auto
this fixes a bug where TECS maintains its slow integrator while in a
VTOL hover mode in AUTO or GUIDED.

Among other things this affects PAYLOAD_PLACE and
DO_VTOL_TRANSITION. In those states the height can change while
hovering outside the control of TECS. When TECS regains control in a
fwd transition then can lead to a very large height loss or gain until
the TECS integrator can catch up
2023-07-03 07:03:14 +10:00
Henry Wurzburg
670873da75 AC_WPNav: add roi circle_option metadata 2023-07-02 13:15:20 +10:00
Randy Mackay
3388e6f25d AP_Mount: remove xacti debug 2023-07-01 18:32:20 +10:00
Peter Barker
32c2dc73b5 autotest: tidy checking of received MISSION_ACK messages 2023-07-01 14:46:31 +10:00
Peter Barker
48224892e1 autotest: add a get_cached_message method
saves looking up where to get these from all the time
2023-07-01 14:46:31 +10:00
Peter Barker
ce9117a296 autotest: add a assert_cached_message_field_values method
also allow polling for messages when asserting receipt of a message
2023-07-01 14:46:31 +10:00
Peter Barker
a5ed5f4f82 autotest: improve diagnostics for bad field values
print out enumeration name and enumeration value name when
ng comparisons
2023-07-01 14:46:31 +10:00
Iampete1
2d42028db3 AP_BattMonitor: fix missing INA2xx param descriptions 2023-07-01 07:34:36 +10:00
Henry Wurzburg
f71826a992 AP_Logger:correct blk rate param metadata 2023-06-30 15:13:52 +01:00
Iampete1
5fa8b887a2 Tools: Param Parse: add reference name to vehicle parameter table 2023-06-30 09:46:47 +10:00
Henry Wurzburg
53a4194297 Rover: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Henry Wurzburg
2e1b7897fd Blimp: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Henry Wurzburg
f59293c5a4 ArduSub: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Henry Wurzburg
979d810912 ArduPlane: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Henry Wurzburg
d0a0fd730c ArduCopter: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Henry Wurzburg
78e44ebf3a SRV_Channel: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Henry Wurzburg
5510dcc45d RC_Channel: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Martin Luessi
12527f0426 Tools: Added RADIX2HD 2023-06-29 20:33:57 +10:00
jfbblue0922
f990bb7374 AP_HAL_ChibiOS: jfb100 gets shorter EXT_WDOG_INTERVAL_MS 2023-06-29 19:30:14 +09:00
Andy Piper
19770c0c35 AP_Bootloader: add board id for HeeWing F405 2023-06-29 19:04:27 +10:00
Michael du Breuil
25a118cbda AP_ADSB: Fix spam of lost transciever message at update() rate 2023-06-28 09:35:35 -07:00
Iampete1
6fafb26549 Rover: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Iampete1
61682f6551 Plane: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Iampete1
678017c577 Copter: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Iampete1
df8aee1567 AP_Vehicle: Add FLTMODE_GCSBLOCK parameter and helper function 2023-06-28 12:56:25 +01:00
Andy Piper
75afe88e47 bootloaders: bootloader for iFlight BlitzF745AIO 2023-06-28 17:23:19 +10:00
tiralonghipol
c4b7bc9d8c AP_HAL_ChibiOS: add new board BlitzF745AIO 2023-06-28 17:23:19 +10:00
Andy Piper
1553fe3c33 AP_Bootloader: add iFlight BlitzF7 2023-06-28 17:23:19 +10:00
rishabsingh3003
4957785fef AP_HAL_STIL: add simulated nooploop tofsense rangefinder 2023-06-28 17:16:22 +10:00
rishabsingh3003
89d4ba6a5d AP_HAL: add simulated nooploop tofsense rangefinder 2023-06-28 17:16:22 +10:00
rishabsingh3003
5500cb97c7 autotest: add simulated nooploop tofsense rangefinder 2023-06-28 17:16:22 +10:00
rishabsingh3003
6b8dfdfc10 SITL: Add simulated nooploop tofsense 2023-06-28 17:16:22 +10:00
rishabsingh3003
9e5b75be31 AP_RangeFinder: Add UART driver for NoopLoop rangefinder 2023-06-28 17:16:22 +10:00
Henry Wurzburg
6afb16d10f Tools:add brake mode to build options 2023-06-28 15:59:22 +10:00
Randy Mackay
8adfd7e6ad Tools: custom build server support for Xacti gimbal 2023-06-27 21:12:20 +10:00
Randy Mackay
3bada154e6 AP_DroneCAN: remove unused semaphore 2023-06-27 21:12:20 +10:00
Randy Mackay
b975310fda AP_DroneCAN: add xacti gimbal support 2023-06-27 21:12:20 +10:00
Randy Mackay
bb8319e914 AP_Mount: frontend instantiates Xacti backend 2023-06-27 21:12:20 +10:00
Randy Mackay
a4f34811a0 AP_Mount: add Xacti DroneCAN backend 2023-06-27 21:12:20 +10:00
Randy Mackay
2a30bc7ce1 AP_Mount: add devid parameter and setter 2023-06-27 21:12:20 +10:00
Randy Mackay
b0de3b57bf DroneCAN: update DSDL to latest 2023-06-27 21:12:20 +10:00
Randy Mackay
e213e7e428 AP_RTC: add get_date_and_time_utc 2023-06-27 21:12:20 +10:00
Randy Mackay
cf77a564fd AP_Mount: minor comment fix 2023-06-27 21:12:20 +10:00
Randy Mackay
c7b64dc448 AP_Mount: Siyi health check avoids race condition 2023-06-27 21:12:20 +10:00
Randy Mackay
5d97a4b3d6 AP_Mount: Siyi loses unused center method 2023-06-27 21:12:20 +10:00
Randy Mackay
98310d861e AP_Airspeed: minor spelling fix 2023-06-27 21:12:20 +10:00
Andrew Tridgell
ccd38ddee0 Plane: improved fwd throttle during VTOL landing
this sets up the vwd integrator more reasonably when we are in
POSITION1 stage of VTOL landing. We need to have enough throttle to
cope with a headwind, but want it lower when we are at or above our
target closing speed so can minimise the amount of pitch up

This also makes the landing_desired_closing_velocity() consistent with
the landing speed used in approach, using average of airspeed min and
cruise speed if TECS_LAND_ARSPD is not set

The target airspeed for TECS during airbraking is now set to
ARSPD_FBW_MIN, on the basis we are trying to slow down to min speed,
and we have VTOL support which should prevent a stall.

To cope with a high headwind where ARSPD_FBW_MIN is below the headwind
we now check for too low achieved closing speed and switch to
POSITION1 which can use vfwd to get to the landing location
2023-06-27 11:40:55 +10:00
Iampete1
9b54dee7a6 AP_BattMonitor: DroneCAN: allow battery reset if not using CAN SoC 2023-06-27 11:38:15 +10:00
Iampete1
7e94eb39ff AP_BoardConfig: fix conflicting param indexs 2023-06-27 11:27:08 +10:00
Peter Barker
b6b73d674f AP_RTC: move implemenation of ap_mktime (NFC) 2023-06-27 11:25:11 +10:00