Commit Graph

56258 Commits

Author SHA1 Message Date
Andrew Tridgell 786ae7c67f AP_InertialSensor: fixed flood of log with fast fifo reset 2023-01-19 15:44:13 +11:00
Akshat Upadhyay 928c3557af Copter: skip throttle high arm check when arming in AUTO 2023-01-19 08:26:00 +09:00
Nicholas (Nick) Kruzan 0dc878564f AP_Scripting:examples - rangefinder_test.lua : Minor Spelling Correction
Ratation -> Rotation
2023-01-18 12:01:40 +00:00
Andrew Tridgell c04d0a54e8 Tools: added HolybroG4_Compass bootloader 2023-01-18 19:30:30 +11:00
Andrew Tridgell 4dec8f849f hwdef: added HolybroG4_Compass
G4 based DroneCAN compass with RM3100
2023-01-18 19:30:30 +11:00
Andy Piper 0234c344ab AP_HAL_ChibiOS: add vanity and build requirements to betaflight converter 2023-01-18 19:17:22 +11:00
Andy Piper f9276f76e7 AP_HAL_ChibiOS: cope with sensor alignment not being set in betaflight config 2023-01-18 19:17:22 +11:00
Peter Barker 13e3556e18 autotest: document SIM_ESC_TELEM 2023-01-18 18:07:23 +11:00
Peter Barker 773d7cb65c autotest: disable simulated esc telemetry for FETtecESC tests 2023-01-18 18:07:23 +11:00
Peter Barker 591d587ed0 SITL: document SIM_ESC_TELEM
this is the perfect telemetry stream; we don't want to override other telemetry streams
2023-01-18 18:07:23 +11:00
Peter Barker ccf290246c AP_HAL_SITL: use parameter to enable/disable SITL ESC telem
this is the perfect telemetry stream; we don't want to override other telemetry streams
2023-01-18 18:07:23 +11:00
Peter Barker aa7ab28969 AP_AHRS: add a bool wind_estimate(...)
NavEKF3 can fail to return a wind estimate, and we lose that value
2023-01-18 11:20:32 +11:00
Peter Barker 96f359b4e3 AP_Logger: avoid logging duplicate FMT/UNIT/FMTU/MULT messages
Failing due to being out of time meant we wouldn't incremement the counter, even though we'd emitted the item.

it is important we try to send something, so move this check to be after we increment whichever counter we are using.
2023-01-18 10:09:43 +11:00
Peter Barker 8e33476bfd autotest: test EPM gripper 2023-01-18 10:09:23 +11:00
Peter Barker f429aae09e AP_ESC_Telem: correct esc telem debug
wrong format specifier
2023-01-18 07:17:51 +11:00
Peter Barker ccd700a990 autotest: fix whitelisted parameter list
move to whitelist crossed with another PR which breaks CI
2023-01-17 21:19:49 +11:00
Andrew Tridgell 863b4bf928 AP_Compass: fixed zero compass diagonals
this fixes a regression from 4.2 to 4.3.

previously we automatically set the diagnoals to 1,1,1 if they were
0,0,0. We don't do that any more. I was helping a user who had copied
an old config with 0,0,0 for diagonals and did not understand two
things:

- the compass did not work in 4.3
- large vehicle mag cal didn't work
2023-01-17 12:05:19 +11:00
Andrew Tridgell 8cabcfc750 Copter: allow for flight mode UI when FRAME_CLASS=0
this makes the user experience of a first time install nicer for
copters/helis. At the moment the user finds the GCS is not functional,
for example flight mode drop-downs don't display. This can be
confusing as the user doesn't know about the link between displaying
flight modes and the FRAME_CLASS
2023-01-17 09:40:12 +09:00
Peter Barker d91cbf08c8 Sub: include SIM_ parameters in documentation 2023-01-17 11:23:40 +11:00
Peter Barker 5078e6ea00 SITL: exclude SIM_SAIL_TYPE from non-Rover builds 2023-01-17 11:23:40 +11:00
Peter Barker 0c7ce291ec SITL: document the SIM_WOW_PIN parameter 2023-01-17 11:23:40 +11:00
Peter Barker d533517fc4 autotest: create whitelist for undocumented SIM_ parameters
Rather than creating a blanket exception for SIM_ parameters, have a whitelist of known-undocumented parameters.

This will create a ratchet where new SIM_ parameters must be documented.
2023-01-17 11:23:40 +11:00
Peter Barker 6c03134169 AP_HAL_SITL: use AP_CSVReader to read from Log serial-async dump 2023-01-17 11:21:48 +11:00
Peter Barker d08e3dec8a Tools: add simple CSV reader 2023-01-17 11:21:48 +11:00
Peter Barker 20fc2d091c AP_CSVReader: add simple CSV reader 2023-01-17 11:21:48 +11:00
Iampete1 c99c17f1ce AMP_Control: Roll and Pitch Controller: don't reset pid_info.I in reset_I calls 2023-01-17 11:19:39 +11:00
Iampete1 2371d83620 AC_PID: dont change pid_info.I in set/reset methods 2023-01-17 11:19:39 +11:00
Peter Barker 84d49d5a88 hwdef: skyviper-v2450: remove EK3 external nav and body-frame-odometry
Neither of these are applicable to SkyViper
2023-01-17 10:50:37 +11:00
Peter Barker d78ea08d24 AP_AHRS: move AP_AHRS_SIM::get_results into backend file 2023-01-17 10:49:56 +11:00
Iampete1 722ec745e9 AP_BattMoniter: don't allow equal low and critical FS thresholds 2023-01-17 10:36:09 +11:00
Andrew Tridgell ffb6a9fb7f AP_OpenDroneID: set EMERGENCY status on crash or chute deploy
RemoteID modules are required to set EMERGENCY status on uncontrolled
descent or crash. This fixes our implementation to do that, either via
existing vehicle crash checking code or via a parachute release
2023-01-17 10:31:26 +11:00
chobits f467acbe92 AP_HAL_ChibiOS: no dma for unused kakuteh7 uart2 2023-01-17 10:24:42 +11:00
Henry Wurzburg 71099c881d AP_Scripting: add error check to mission_load.lua 2023-01-17 10:24:08 +11:00
Henry Wurzburg 8865d79015 AP_Mission: add error check to mission_load.lua 2023-01-17 10:24:08 +11:00
Henry Wurzburg c8617ccf01 AP_Scripting:Add mission to Script_Controller and improve 2023-01-17 10:24:08 +11:00
Henry Wurzburg 8806088404 Tools: make MAG params consistent names 2023-01-17 08:45:30 +11:00
Henry Wurzburg 509d4b7fbf SITL:make MAG1 param consistent names 2023-01-17 08:45:30 +11:00
Andrew Tridgell 12c24df476 AP_HAL_SITL: added old_size to heap_realloc 2023-01-16 09:19:16 +11:00
Andrew Tridgell deb86be1da AP_HAL_Linux: added old_size to heap_realloc 2023-01-16 09:19:16 +11:00
Andrew Tridgell 13cbccc016 AP_HAL: added old_size to heap_realloc 2023-01-16 09:19:16 +11:00
Andrew Tridgell e255bbbd40 AP_HAL_ESP32: added old_size to heap_realloc 2023-01-16 09:19:16 +11:00
Andrew Tridgell 365de4b505 AP_HAL_ChibiOS: added old_size to heap_realloc 2023-01-16 09:19:16 +11:00
Andrew Tridgell b45be75a98 AP_Scripting: use MultiHeap class 2023-01-16 09:19:16 +11:00
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