Andrew Tridgell
db19bce1d2
AP_Common: wrap _malloc_r on cygwin
...
fixes dual allocation heap bug
See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
2024-07-07 07:11:59 +10:00
Andrew Tridgell
842a4f507b
AP_Scripting: added NMEA 2000 EFI driver
...
this has been tested on a marine engine, and correctly produces key
telemetry data
the NMEA_2000.lua module is broken out to make it easier to add other
NMEA 2000 based drivers
2024-07-06 07:19:25 +10:00
Peter Barker
9090420db0
SITL: remove duplicated crc code
...
same as one we already have
2024-07-05 23:02:18 +10:00
Peter Barker
c1c3580f8b
AP_Logger: remove unused _log_file_size_bytes variable
...
AP_Logger: comment corection
2024-07-05 21:42:21 +10:00
BLash
0e4124060c
SITL: VectorNav: Add support for sensors outside VN-100 and VN-300
...
Includes naming changes to match new broadened usage
2024-07-05 21:41:22 +10:00
BLash
271f08fc03
AP_ExternalAHRS: VectorNav: Add support for sensors outside VN-100 and VN-300
...
Includes naming changes to match new broadened usage
2024-07-05 21:41:22 +10:00
Peter Barker
1916490ae6
AC_Sprayer: create and use an AP_Sprayer_config.h
2024-07-05 14:27:45 +10:00
bugobliterator
b93c9256c7
AP_HAL_ChibiOS:hwdef/common: disable second core on dual core MCUs
2024-07-05 14:16:27 +10:00
bugobliterator
c8fe71b6b0
AP_HAL_ChibiOS: use debug option 3 which includes defines as well
2024-07-05 14:16:27 +10:00
Peter Barker
6ce7e179d7
RC_Channel: produce error if feature compiled out and aux func initialised
2024-07-04 19:41:07 +10:00
Peter Barker
ce48932f4d
AP_NavEKF3: remove storedRange member variable if rangefinder measurements disabled
2024-07-04 19:21:44 +10:00
Peter Barker
3dff46b2b2
AC_AutoTune: remove unused variables
2024-07-04 13:19:12 +10:00
Peter Barker
35bdadb8ec
AC_AutoTune: adjust variable names to include _cd postfix
2024-07-04 13:19:12 +10:00
Vincent Poon
fba47e641d
Update Pixhawk6C hwdef.dat
...
Fix https://github.com/ArduPilot/ardupilot/issues/25840
The overcurrent detection of the HIPOWER current limiting chip is connected to PC11 on the Pixhawk 6C.
2024-07-04 06:37:58 +10:00
George Zogopoulos
61c910b08b
AP_Scripting: Added script for Quad-X CoM compensation
...
The script uses the scripting matrix to produce non-equal
front and back thrust, compensating for the lever arm between the center
of thrust and the center of mass.
2024-07-03 18:44:36 +10:00
George Zogopoulos
2cd5413b0d
SITL: Documented SIM_WIND_DIR_Z
2024-07-03 18:13:11 +10:00
Willian Galvani
cb74ebbddd
EKF3: allow earth-frame fields to be estimated with an origin but no GPS
2024-07-03 16:49:27 +10:00
bnsgeyer
5fa2fcfa56
AC_AutoTune: return freqresp ring buffers to original implementation
2024-07-01 22:57:55 -04:00
bnsgeyer
475663e199
AC_AutoTune: use ring buffer only for dwells
2024-07-01 22:57:55 -04:00
bnsgeyer
bb6c52d508
AC_AutoTune: remove deletion of ring buffers
2024-07-01 22:57:55 -04:00
bnsgeyer
f50bb54112
AC_AutoTune: more suggested changes
2024-07-01 22:57:55 -04:00
bnsgeyer
088b7ec094
AC_AutoTune: incorporate suggested changes
2024-07-01 22:57:55 -04:00
Bill Geyer
41ed4d1321
AC_AutoTune: use new new macro
...
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-07-01 22:57:55 -04:00
bnsgeyer
c4f4067fd5
AC_AttitudeControl: add accessors to set rate limit
2024-07-01 22:57:55 -04:00
bnsgeyer
b13efc86af
AC_AutoTune: use attitude controller to enforce rate and accel limits
2024-07-01 22:57:55 -04:00
bnsgeyer
ad1b01cd56
AC_AutoTune: improve RFF dwell test and data processing
2024-07-01 22:57:55 -04:00
Bill Geyer
30c2e1f53b
AC_AutoTune: general cleanup and protect against freq exceedences
2024-07-01 22:57:55 -04:00
bnsgeyer
cc7e43d643
AC_AutoTune: max gain, rate p and d tuning use common search method
2024-07-01 22:57:55 -04:00
bnsgeyer
cf50aa1321
AC_AutoTune: trad heli variable cleanup
2024-07-01 22:57:55 -04:00
bnsgeyer
ad58f3e1f8
AC_AutoTune: reworked updating max gains
2024-07-01 22:57:55 -04:00
bnsgeyer
989f48f97a
AC_AutoTune: reworked updating angle p up
2024-07-01 22:57:55 -04:00
bnsgeyer
cd18607f25
AC_AutoTune: reworked updating rate p and d up
2024-07-01 22:57:55 -04:00
bnsgeyer
61182c0e96
AC_AutoTune: reworked dwell_test and updating ff up
2024-07-01 22:57:55 -04:00
bnsgeyer
2339c7daed
AC_AutoTune: moved more into dwell_test_init
2024-07-01 22:57:55 -04:00
bnsgeyer
7ff99a39f0
AC_AutoTune: fix tests to work better
2024-07-01 22:57:55 -04:00
bnsgeyer
3943a69b33
AC_AutoTune: fix object buffers to dynamically size
2024-07-01 22:57:55 -04:00
bnsgeyer
528b7eb438
AC_AutoTune: general cleanup to make code more efficient
2024-07-01 22:57:55 -04:00
bnsgeyer
9e4d118cc9
AC_AutoTune: remove sweep for Rate D up
2024-07-01 22:57:55 -04:00
bnsgeyer
32af6216b7
AC_Autotune: tradheli use dwell for FF test
2024-07-01 22:57:55 -04:00
bnsgeyer
dd1f0cdcf7
AC_AutoTune: make rate freq sweeps safer
2024-07-01 22:57:55 -04:00
Henry Wurzburg
48e27c382a
AP_RSSI: make metadata more consistent
2024-07-02 11:34:29 +10:00
Henry Wurzburg
f087e9d25d
AP_RangeFinder: make metadata more consistent
2024-07-02 11:34:29 +10:00
Henry Wurzburg
a03ccd1a8a
AP_BattMonitor: make metadata more consistent
2024-07-02 11:34:29 +10:00
Henry Wurzburg
59db5de78c
AP_Airspeed: make metadata more consistent
2024-07-02 11:34:29 +10:00
Thomas Watson
717c5ff863
AP_Scripting: ignore hidden Lua files
...
On macOS, sometimes ._script.lua is created to store metadata when the
user copies script.lua over to their SD card. Previously, the scripting
engine would barf since the file is not Lua. Now, these files are
ignored.
Also avoids a case where a hidden and valid script might be loaded
without the user's knowledge.
2024-07-02 11:07:40 +10:00
Peter Barker
0056ef2d90
AP_Logger: write formats out as required rather than at start of log
2024-07-02 10:59:55 +10:00
Andrew Tridgell
681e2d7993
AP_GPS: don't consider uBlox PVT time correct unless we have 2D fix
...
the time may be set by an offline assistance client and may not be
accurate
2024-07-02 10:25:03 +10:00
Peter Barker
f3a75661d9
AP_Frsky_Telem: avoid use if int16-t read call
2024-07-02 10:14:28 +10:00
Peter Barker
85f89812d5
AP_Generator: avoid use of int16_t-read
2024-07-02 10:13:24 +10:00
Peter Barker
42805aa892
AP_GPS: confine inter-instance DroneCAN state checks to DroneCAN GPSs
...
stop these looking at parameters/state for all GPSs, focus on DroneCAN GPSs
2024-07-02 09:56:40 +10:00