Peter Barker
bad755f4a5
AP_HAL: add support for simulated GPIO LEDs
2024-07-11 20:08:13 +10:00
Clyde McQueen
630d3fa8a7
AP_NavEKF3: log mag fusion selection to XKFS
2024-07-11 16:16:27 +10:00
Andrew Tridgell
24a6e6bfa1
waf: Revert "waf: use debug option 3 which records defines as well"
...
this change made use of gdb so slow it is completely unusable for
ArduPilot. Far too many macros, loading gdb takes forever
2024-07-11 14:20:04 +10:00
Iampete1
a551b4f296
AP_SerialManager: remove Volz port config
2024-07-11 13:07:24 +10:00
Iampete1
8eceff2d7a
AP_Volz_Protocol: move output to thread
2024-07-11 13:07:24 +10:00
Iampete1
0c5160f05c
AP_Volz_Protocol: add range parameter allowing smaller range for improved PWM resolution
2024-07-11 13:07:24 +10:00
Iampete1
71f3dbf098
AP_Volz_Protocol: use popcount
2024-07-11 13:07:24 +10:00
Iampete1
871e9101ff
AP_Volz_Protocol: add CMD union helper
2024-07-11 13:07:24 +10:00
Andrew Tridgell
b34d0c9c87
AP_HAL: removed vector based I2C get_device
...
this is unused and prevents building on QURT
2024-07-11 11:20:47 +10:00
Andrew Tridgell
dbba4559ee
HAL_Linux: removed unused I2C vector get_device
2024-07-11 11:20:47 +10:00
Andrew Tridgell
192972e502
AP_HAL: avoid vector include in I2C API
...
this doesn't work on QURT build and is unused
2024-07-11 11:20:47 +10:00
emshibuya
0b866a4bec
Tools: add name to GIT_Success.txt
2024-07-11 08:45:54 +09:00
Andrew Tridgell
ebc7cc2daf
AP_OpticalFlow: cleanup printf warnings
2024-07-11 09:34:29 +10:00
Andrew Tridgell
c40099a162
AP_Rangefinder: cleanup printf warnings
2024-07-11 09:34:29 +10:00
Andrew Tridgell
991ea6326d
AP_Compass: cleanup warnings in printf calls
2024-07-11 09:34:29 +10:00
Peter Barker
f4f79905cc
AP_Notify: example: do not instantiate AP_BoardLED unless the board supports it
2024-07-11 09:34:00 +10:00
Peter Barker
71332dd039
AP_GPS: example: do not instantiate AP_BoardLED unless the board supports it
2024-07-11 09:34:00 +10:00
Peter Barker
ab43668c45
AP_Notify: adjust hwdef files for define renames
2024-07-11 09:34:00 +10:00
Peter Barker
3b764c5812
AP_HAL: adjust hwdef files for define renames
2024-07-11 09:34:00 +10:00
Peter Barker
956ac243e1
AP_HAL_ChibiOS: adjust hwdef files for define renames
2024-07-11 09:34:00 +10:00
Peter Barker
8370e0b08b
AP_Notify: create sanity in GPIO-based LED defines
2024-07-11 09:34:00 +10:00
Andrew Tridgell
096cfdcb61
waf: fixed ESP32 build
2024-07-11 09:28:17 +10:00
Andrew Tridgell
393cd3252b
AP_HAL_SITL: switched ENABLE_HEAP to an #if
2024-07-11 09:28:17 +10:00
Andrew Tridgell
3980cbbb82
AP_HAL_Linux: switched ENABLE_HEAP to an #if
2024-07-11 09:28:17 +10:00
Andrew Tridgell
f235b71f6b
AP_HAL: switched ENABLE_HEAP to an #if
2024-07-11 09:28:17 +10:00
Andrew Tridgell
15ef6b1192
AP_HAL_ESP32: switched ENABLE_HEAP to an #if
2024-07-11 09:28:17 +10:00
Andrew Tridgell
64f6abd4d4
AP_HAL_ChibiOS: switched ENABLE_HEAP to an #if
2024-07-11 09:28:17 +10:00
Andrew Tridgell
429294fa1d
AP_Baro: avoid i2c errors with ICP101XX
...
this sensor doesn't like reading at higher than expected rate
2024-07-11 09:27:33 +10:00
Andrew Tridgell
a02cd4b432
AP_Baro: fixed link with clang for shared library
...
avoid unused symbols
2024-07-11 09:27:09 +10:00
Andrew Tridgell
3608a78398
AP_Baro: fixed build with clang
2024-07-11 09:27:09 +10:00
Andrew Tridgell
60f582a6b2
AP_BattMonitor: support I2C INA231 battery monitor
2024-07-11 09:26:17 +10:00
Andrew Tridgell
75ebf96adb
AP_Filesystem: allow for filesystem with no dtype
2024-07-11 09:25:05 +10:00
Andrew Tridgell
64ed86a82e
GCS_MAVLINK: cope with dirent not having dtype
2024-07-11 09:25:05 +10:00
Andrew Tridgell
c2e52af1e2
AP_Filesystem: make fgets() much more efficient
...
normally fgets is on a buffered FILE handle. For AP_Filesystem we use
an unbuffered file descriptor. This means we were reading one byte at
a time from the file
this uses lseek to make fgets() much more efficient by reading the max
buffer size at a time in the file
2024-07-11 09:24:38 +10:00
Peter Barker
0d12cc7693
Tools: build_options.py: add AP_BARO_PROBE_EXTERNAL_COMPASSES
2024-07-11 09:22:42 +10:00
Peter Barker
b2a7fcda5c
AP_GPS: resolve compilation problem with timeval
...
./../libraries/AP_GPS/AP_GPS_SITL.cpp:37:27: error: aggregate 'timeval first_tv' has incomplete type and cannot be defined
37 | static struct timeval first_tv;
| ^~~~~~~~
compilation terminated due to -Wfatal-errors.
Waf: Leaving directory `/ardupilot/src/build/sitl'
Build failed
-> task in 'objs/AP_GPS' failed (exit status 1):
{task 135805090486368: cxx AP_GPS_SITL.cpp -> AP_GPS_SITL.cpp.0.o}
2024-07-11 09:22:12 +10:00
Andrew Tridgell
7477c4e205
AP_Scripting: fixed remove call
...
need to use AP_Filesystem
2024-07-11 07:43:35 +10:00
Andrew Tridgell
ffc78722f7
HAL_ESP32: removed run_debug_shell
2024-07-11 07:42:54 +10:00
Andrew Tridgell
c4addb7dd0
AP_HAL_SITL: removed run_debug_shell
2024-07-11 07:42:54 +10:00
Andrew Tridgell
2374d6f444
AP_HAL_Linux: removed run_debug_shell
2024-07-11 07:42:54 +10:00
Andrew Tridgell
d54b69a5fe
AP_HAL: removed run_debug_shell
2024-07-11 07:42:54 +10:00
Andrew Tridgell
04bd5aa010
AP_HAL_Empty: removed run_debug_shell
2024-07-11 07:42:54 +10:00
Andrew Tridgell
e86e012896
AP_HAL_ChibiOS: removed run_debug_shell
2024-07-11 07:42:54 +10:00
Andrew Tridgell
4d5095cea1
AP_DDS: fixed cell voltages
...
the std:copy was copying from uint16_t to float
2024-07-11 07:25:33 +10:00
Peter Barker
7f0f851243
hwdef: remove bogus EK2_RPRIMARY from Cube defaults files
...
looks likely, but hasn't ever existed
2024-07-10 22:35:51 +10:00
Peter Barker
4231275f50
AP_Compass: remove default clause from set_status switch
...
forces someone to consider what they need to do for any new state
2024-07-10 18:18:31 +10:00
Peter Barker
afd8d8255f
AP_Compass: use switch statement in failed() method
2024-07-10 18:18:31 +10:00
Thomas Watson
dc58d0406c
AP_Periph: add ESC_RATE parameter to RC_OUT peripherals
...
Like other vehicles (which use RC_SPEED), ESC_RATE is used to set the
PWM output rate for outputs whose functions are set to MotorN so that
ESCs can be driven at a fast speed (400Hz, same default as aerial
vehicles) while servos still run at normal speed (50Hz, controlled by
OUT_RATE).
2024-07-10 18:17:41 +10:00
Peter Barker
ef0de65347
AP_InertialSensor: tidy IMU killing
2024-07-10 18:17:00 +10:00
muramura
d6a79c0e02
RC_Channel: Add a MOUNT2 retract
...
Update libraries/RC_Channel/RC_Channel.cpp
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-07-10 17:45:28 +10:00