Commit Graph

55516 Commits

Author SHA1 Message Date
Peter Barker
3400d5e4a5 ArduPlane: use fence singleton in afs check 2022-10-25 11:31:14 +11:00
Peter Barker
7ed190c163 ArduCopter: use fence singleton in afs check 2022-10-25 11:31:14 +11:00
Peter Barker
ad0df546a7 AP_AdvancedFailsafe: use fence singleton in afs check 2022-10-25 11:31:14 +11:00
Andy Piper
55aed98f81 AP_InertialSensor: ensure that hardware AAF and notch filter are enabled on 42605 and 42609 2022-10-25 11:06:02 +11:00
Iampete1
5382083452 SRV_Channel: pwm_from_angle: return trim for 0 high_out 2022-10-25 11:03:35 +11:00
Iampete1
623501d0d5 AP_Arming: allow scripting channels to be disabled 2022-10-25 11:02:21 +11:00
Henry Wurzburg
eee856b427 hwdef: limit to onboard BARO for low flash F4 boards 2022-10-25 10:33:24 +11:00
WillyZehnder
a7d5f8addc AP_Scripting: bindings: get_alt_frame included
bindings.desc + docs.lua: get_alt_frame included
2022-10-25 10:21:05 +11:00
Iampete1
7f4c12dc28 actions: only run single vehicle check for vehicle directory change 2022-10-25 10:20:15 +11:00
Andy Piper
35b138afb1 AP_HAL_ChibiOS: correctly default SERIAL7 to RCIN and SERIAL5 to ESC telem on MatekH743-bdshot 2022-10-25 10:18:57 +11:00
Andy Piper
7702e2ea99 AP_HAL_ChibiOS: support 8 bi-directional dshot channels on MatekH743 2022-10-25 10:18:57 +11:00
Peter Barker
4f0d301edb GCS_MAVLink: move defaulting of HAL_HIGH_LATENCY2_ENABLED to minimize_features.inc 2022-10-25 10:10:44 +11:00
Peter Barker
6dba092c52 AP_HAL_ChibiOS: move defaulting of HAL_HIGH_LATENCY2_ENABLED to minimize_features.inc 2022-10-25 10:10:44 +11:00
Iampete1
5db30b75e7 AP_Scripting: logging: move to char buffer from lua buffer 2022-10-25 10:09:14 +11:00
Randy Mackay
63a82b9738 Copter: 4.3.0-beta4 release notes 2022-10-24 22:27:37 +09:00
Randy Mackay
b31099f8da Rover: 4.3.0-beta4 release notes 2022-10-24 22:27:26 +09:00
Andrew Tridgell
1c868cac37 AP_Airspeed: add instance to hygrometer logging 2022-10-24 17:35:07 +11:00
Tom Pittenger
4e94046a4a AP_Periph: can_printf() to send longer strings using multiple packets 2022-10-23 21:47:42 -07:00
Tom Pittenger
02d92651f0 build_options: can_printf() to send longer strings using multiple packets in AP_Periph 2022-10-23 21:47:42 -07:00
Andrew Tridgell
d207e28de4 Plane: release notes for 4.3.1 2022-10-24 09:24:07 +11:00
Andrew Tridgell
6a005c893e Plane: cover more cases in fence breach mode change
we want to allow all landing sequence mode changes
2022-10-24 09:16:38 +11:00
alexklimaj
2ed679f0a8 AP_Baro: BMP390 2022-10-24 07:27:11 +11:00
alexklimaj
e5cd25ff98 hwdef: ARKV6X 2022-10-24 07:27:11 +11:00
Andrew Tridgell
71fdf37055 Plane: allow mode switch on fence breach for RTL_AUTOLAND
when we are in a fence breach we by default disallow mode changes, but
we need to allow for the switch to AUTO if the reason is we are
entering a landing sequence, which is part of the RTL process which is
the fence action
2022-10-23 20:37:40 +11:00
MatthewHampsey
bdce9d5cb3 AP_Scripting: improved trajectory tracking
with thanks to Paul Riseborough for the algorithmic improvements
2022-10-23 18:11:15 +11:00
Andrew Tridgell
5def680fb9 AP_Scripting: fixed binding for nav_script_time 2022-10-23 18:11:15 +11:00
Andrew Tridgell
ce77be9599 AP_Vehicle: updated nav_script_time 2022-10-23 18:11:15 +11:00
Andrew Tridgell
f57935d406 AP_Scripting: update examples for new nav_script_time 2022-10-23 18:11:15 +11:00
Andrew Tridgell
680278023f Rover: two more arguments to NAV_SCRIPT_TIME 2022-10-23 18:11:15 +11:00
Andrew Tridgell
90459ed6f4 Plane: two more arguments to NAV_SCRIPT_TIME 2022-10-23 18:11:15 +11:00
Andrew Tridgell
8c4732210c Copter: two more arguments to NAV_SCRIPT_TIME 2022-10-23 18:11:15 +11:00
Andrew Tridgell
bffc09eaf5 Plane: fixed yaw rate tuning in AUTOTUNE mode
don't reset yaw rate controller continuously while we are trying to
use it
2022-10-23 12:18:20 +11:00
Andrew Tridgell
8847ff8060 Rover: fix for float16 2022-10-23 12:14:14 +11:00
Andrew Tridgell
41bc08e132 AP_Mission: save flash space when scripting not enabled 2022-10-23 12:14:14 +11:00
Andrew Tridgell
d832b41262 AP_Mission: auto-convert NAV_SCRIPT_TIME from old to new format
this mechanism can be used for other structures in the future
2022-10-23 12:14:14 +11:00
Andrew Tridgell
cafed85872 AP_Mission: fixed climb_rate in ATTITUDE_TIME
need to stay within 10 byte limit
2022-10-23 12:14:14 +11:00
Andrew Tridgell
2b69124229 Plane: use Float16_t 2022-10-23 12:14:14 +11:00
Andrew Tridgell
5fd2decb2f Copter: use Float16_t 2022-10-23 12:14:14 +11:00
Andrew Tridgell
cc39bd08be AP_Mission: use Float16_t for NAV_SCRIPT_TIME 2022-10-23 12:14:14 +11:00
Andrew Tridgell
4121cc464d AP_Common: added Float16_t type 2022-10-23 12:14:14 +11:00
Andrew Tridgell
92f25150f6 AP_NavEKF3: fixed getLLH alt for local origin height
this fixes a bug introduced in #21834

this fix in #21834 was correct for getPosD, but should not have been
applied to getLLH

this caused cruise mode in plane to descend/ascend by the difference
between the public and local origins on mode entry

fixes #21984
2022-10-23 11:23:48 +11:00
Peter Barker
6d19f77325 autotest: add missing unpause_sitl() calls 2022-10-22 15:14:55 +11:00
Peter Barker
cafce7671d autotest: slow down specific tests so they pass 2022-10-22 15:14:55 +11:00
Peter Barker
02a6f71df4 autotest: change Copter default speedup time to 100 2022-10-22 15:14:55 +11:00
Andrew Tridgell
9fa3a433f5 Revert "AP_InertialSensor: disable temperature based fifo check on ICM20602"
This reverts commit 05f8e3c18d.

this leads to bad IMU data on ICM20602
2022-10-22 13:01:39 +11:00
Pierre Kancir
64774a2f92 GCS_MAVLink: fix always 0 division.
7/8 into array range bracket will be integral type, therefore 7/8 is reported as always 0.
2022-10-22 11:11:52 +11:00
Andrew Tridgell
1596516283 Tools: added new baro types 2022-10-22 08:15:36 +11:00
Andrew Tridgell
b96677c70d AP_Arming: use baro arming checks call 2022-10-22 08:15:36 +11:00
Andrew Tridgell
13893d3ed5 AP_Baro: added option to treat MS5611 as MS5607
and add arming check for pressure altitude error
2022-10-22 08:15:36 +11:00
Andrew Tridgell
bb1b2dafae AP_InternalError: only panic in SITL if debug enabled
a user recently had a flow of control panic in quadplane in
cygwin/missionplanner SITL. The panic this caused means we don't get
logging information on what line of code was triggered

the panic in SITL for internal errors is only useful if you have debug
information and can then attach a debugger. Without debug information
it is much better to behave the same as a real vehicle and report an
internal error (with line number)
2022-10-21 22:14:39 +11:00