Commit Graph

56265 Commits

Author SHA1 Message Date
Andrew Tridgell 22a16f9672 AP_Common: added MultiHeap class
for scripting allocation with multiple heaps
2023-01-16 09:19:16 +11:00
Henry Wurzburg e96a55c1b6 SITL:add SIM param metadata 2023-01-15 21:58:12 +11:00
Andrew Tridgell a2b0bbffdb HAL_SITL: implement SIM_UART_LOSS 2023-01-15 21:57:15 +11:00
Andrew Tridgell d3ea7b0ca6 SITL: added SIM_UART_LOSS parameter 2023-01-15 21:57:15 +11:00
Andrew Tridgell dfdecc52c4 GCS_MAVLink: fixed FTP terminate session error
this caused ftp downloads to intermittently fail. The cause is the FTP
client may ask for a session terminate and then immediately afterwards
a ftp open. The open would fail as the ftp session was considered
active
2023-01-15 21:57:15 +11:00
Andrew Tridgell 9b2c7a90e7 Plane: fixed loiter.direction for VTOL approach
ensure the direction is setup correctly for both CW and CCW
2023-01-15 21:32:27 +11:00
Peter Barker 2b2bd2b85b autotest: add a test for VTOL land spiral code 2023-01-15 21:32:27 +11:00
Andrew Tridgell 77e63da4b3 Plane: added TKOFF_THR_MAX_T
time for max throttle on takeoff if no airspeed sensor
2023-01-15 12:17:27 +11:00
Andrew Tridgell abb3cdd6b8 AP_TECS: added max throttle time for takeoff with no airspeed sensor 2023-01-15 12:17:27 +11:00
Andrew Tridgell d15c5ce233 AP_Vehicle: added takeoff_throttle_max_t for fixed wing 2023-01-15 12:17:27 +11:00
Peter Barker ea167d5bd8 autotest: create fresh fly_mission suitable for other missions
the fly_mission in quadplane was very-much Dalby-specific
2023-01-15 10:16:17 +11:00
Peter Barker b441c24eaa autotest: use percentage error when determining if z is preserved
floating point storage means an absolute error doesn't work
2023-01-14 23:23:29 +11:00
Peter Barker 08f652fe2c AP_HAL_ChibiOS: ignore array bounds check while checking 0x0 for writes
Fixes compiler error on g++ 12

../../libraries/AP_HAL_ChibiOS/Scheduler.cpp:568:20: error: array subscript 0 is outside array bounds of 'const uint8_t [0]' [-Werror=array-bounds]
  568 |         if (addr0[i] != 0) {
2023-01-12 23:30:15 +11:00
Peter Barker bba5b34c1e Copter: remove FS_OPTIONS parameter conversion
This code is in 4.0.7 but not 3.6.11 - i.e. after this someone upgrading from 3.6 to master (and presumably 4.4) won't get this conversion done.

This conversion is flawed in that someone configuring a default for a parameter in a configuration file will have that value over-ridden by this code.
2023-01-12 20:33:43 +11:00
Peter Barker 52f6810d50 Tools: param_parse.py: sort SIM_ parameters into the output files
primarily to make the Wiki look nicer
2023-01-12 13:46:22 +11:00
Peter Barker c42754b691 AP_AHRS: create an AP_AHRS_SIM backend 2023-01-12 13:11:40 +11:00
Henry Wurzburg c79672b96c SITL: add SITL param metadata and fix a few 2023-01-12 09:19:27 +11:00
Peter Barker 9cb3bfbe05 AP_HAL_ChibiOS: disable batch sampler on SkyViper-v2450
saves ~1.8kB
2023-01-11 19:08:41 +11:00
Peter Barker e5c3dd871c AP_InertialSensor: create explicit define for AP_INERTIALSENSOR_BATCHSAMPLER_ENABLED
this allows the batch sampler to be removed for size reasons, or because you don't have logging enabled
2023-01-11 19:08:41 +11:00
Andy Piper c620ba58df AP_Motors: use _dt instead of loop rate for throttle slew calculation 2023-01-11 18:59:52 +11:00
Andy Piper 80fb33fb8b AP_AHRS: add throttle slew to RATE
log PD scaling values
2023-01-11 18:59:52 +11:00
Andy Piper 53b7f96a5d AC_AttitudeControl: boost PD on roll and pitch when slew limit is hit
boost angle P when slew limit is hit
move to a single parameter for thrust-gain boosting
add PD scaling support
2023-01-11 18:59:52 +11:00
Andy Piper f3ecb4ee6c AC_PID: support PD boosting 2023-01-11 18:59:52 +11:00
Andy Piper d1b272fab7 autotest: anti-gravity test using THR_G_BOOST boost 2023-01-11 18:59:52 +11:00
Andy Piper ad94c5cab1 AP_Motors: calculate throttle slew rate
use derivative filter and apply filtering to slew detector
2023-01-11 18:59:52 +11:00
Andy Piper 9caf94b5e4 AP_HAL_ChibiOS: simple conversion tool for betaflight pin definitions 2023-01-11 18:57:33 +11:00
Andy Piper 13a55c9109 bootloaders: bootloader for FoxeerH743v1 2023-01-11 18:57:33 +11:00
Andy Piper 094a52e433 AP_HAL_ChibiOS: FoxeerH743 hwdef 2023-01-11 18:57:33 +11:00
Andy Piper 5b7f961cda AP_Bootloader: add FoxeerH743v1 to board types 2023-01-11 18:57:33 +11:00
Iampete1 15daff879e AP_Param: add shared Info defines 2023-01-11 18:41:34 +11:00
Iampete1 d82f79b492 Tools: Replay: use shared Param info defines 2023-01-11 18:41:34 +11:00
Iampete1 43e5ea43b7 Tools: AP_Periph: use shared Param info defines 2023-01-11 18:41:34 +11:00
Iampete1 ee2e711fe3 Rover: use shared param info defines 2023-01-11 18:41:34 +11:00
Iampete1 010144b2bd Blimp: use shared param info defines 2023-01-11 18:41:34 +11:00
Iampete1 30ba68e5c7 ArduSub: use shared param info defines 2023-01-11 18:41:34 +11:00
Iampete1 4e00a460fb ArduPlane: use shared param info defines 2023-01-11 18:41:34 +11:00
Iampete1 13818eac99 ArduCopter: use shared param info defines 2023-01-11 18:41:34 +11:00
Iampete1 1ea8a0c1a0 AntennaTracker: use shared param info defines 2023-01-11 18:41:34 +11:00
Iampete1 dd31742463 AP_Param: align param info structures to save flash 2023-01-11 18:41:34 +11:00
Iampete1 5c013552ed AP_OSD: align param info structures to save flash 2023-01-11 18:41:34 +11:00
Iampete1 57e35f39b1 AP_NMEA_Output: align param info structures to save flash 2023-01-11 18:41:34 +11:00
Peter Barker 37b54a7c9c AP_Param: correct compilation when debugging enabled
Correct passing through ov varargs from macro
2023-01-11 13:55:36 +11:00
MAD-CRAZY-MAN 63efa7e480 hwdef: update thepeach hwdef-bl.dat 2023-01-11 10:00:57 +11:00
Andrew Tridgell 5fba595001 Plane: update release notes for 4.3.3beta1 2023-01-10 15:14:26 +11:00
Peter Barker bd850b9034 param_parse.py: emit rst heading only for SIM_, no children 2023-01-10 14:39:45 +11:00
Peter Barker 8de890bc7d param_parse.py: emit SIM_ parameters along with everthing else 2023-01-10 14:39:45 +11:00
Bredemeier, Fabian (TD-M) bc3b923ff6 Tools: Remove legacy code from sid_pre.m
Fixes #22594
2023-01-10 14:39:08 +11:00
rishabsingh3003 1c49373088 Tools: Add autotest for checking terrain db pre arm for copter auto mission 2023-01-10 13:22:44 +11:00
rishabsingh3003 b397772ec6 Copter: update terrain db pre-arm checks 2023-01-10 13:22:44 +11:00
Randy Mackay 18c6bb0d67 Copter: update 4.3.3-rc1 release notes 2023-01-10 10:16:33 +09:00