Commit Graph

31944 Commits

Author SHA1 Message Date
Peter Barker
1b75f564f0 AP_HAL_ChibiOS: specify compass feature enables for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
4755f76126 AP_Compass: specify compass feature enables for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
48ec224b8c AP_HAL_ChibiOS: specify AP_BATTERY_ESC_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
fab230cd50 AP_BattMonitor: specify AP_BATTERY_ESC_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
5ad5605bc8 AP_HAL: specify HAL_SUPPORT_RCOUT_SERIAL for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
f58f8841a1 AP_HAL_ChibiOS: specify HAL_SUPPORT_RCOUT_SERIAL for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
9fd72b6a68 AP_HAL: specify AP_STATS_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
18b574a400 AP_HAL_ChibiOS: specify AP_STATS_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
806f0bf97a AP_HAL_ChibiOS: specify HAL_GENERATOR_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
89a77f84f1 AP_Generator: specify HAL_GENERATOR_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker
56d6acf985 AP_Notify: remove pointless zeroing of memory
this is static memory
2023-03-12 08:34:05 +11:00
Andrew Tridgell
c35d1bd82e StorageManager: fixed startup crash
this crash was caused by AP_UAVCAN_DNA_Server declaring a storage
object on the stack, which meant file was not initialised to nullptr.
2023-03-12 07:15:01 +11:00
Tom Pittenger
d76901bd41 AP_Mission: jumptag optimize for sd card 2023-03-11 14:02:59 +11:00
Peter Barker
06e20761de SITL: improve IE24 simulated tank pressure
this is simply the inverse of what the flight code does
2023-03-11 11:50:20 +11:00
Peter Barker
e715e1e14e AP_Logger: factor Write_PSC[NED] methods to save bytes 2023-03-10 14:47:33 -08:00
Tom Pittenger
87cb40798f AP_Scripting: add docs to FWVersion:type() 2023-03-10 14:45:58 -08:00
Andrew Tridgell
615838a7d4 AP_Scripting: ensure new user data is zero
this prevents use of uninitialised data for user objects created in
lua, giving more predictable behaviour
2023-03-10 14:13:55 +11:00
Andrew Tridgell
c00e047d87 AP_Scripting: added mission_spiral.lua example
useful for creating very large missions with a distinctive pattern
2023-03-10 14:13:55 +11:00
Andrew Tridgell
ced130839c AP_Arming: check for failure to load mission.stg 2023-03-10 14:13:55 +11:00
Andrew Tridgell
86cf63fca4 AP_BoardConfig: add BRD_SD_MISSION parameter 2023-03-10 14:13:55 +11:00
Andrew Tridgell
9cef639a97 AP_Mission: support storage on microSD using mission.stg 2023-03-10 14:13:55 +11:00
Andrew Tridgell
182ab996b1 StorageManager: support microSD for additional storage 2023-03-10 14:13:55 +11:00
Peter Barker
10cb5d2151 hwdef: stop minimizing Nucleo-L496 - it's an AP_Periph
minimized builds and AP_Periph don't make sense together
2023-03-10 10:04:12 +11:00
Peter Barker
e20f8f5dcc AP_Airspeed: save some bytes by making conversion structure static 2023-03-10 08:49:36 +11:00
Peter Barker
b52f54d480 AP_HAL_ChibiOS: add defines for all battery backends 2023-03-10 08:48:24 +11:00
Peter Barker
85501f8219 AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
Peter Barker
ff0c4133c6 AP_Torqeedo: add and use AP_Generator_config.h 2023-03-10 08:48:24 +11:00
Peter Barker
adc4bf66f8 AP_Generator: add and use AP_Generator_config.h 2023-03-10 08:48:24 +11:00
Peter Barker
b931617650 AP_ESC_Telem: add and use an AP_ESC_Telem_config.h 2023-03-10 08:48:24 +11:00
Randy Mackay
a56b474b4a AP_Mission: remove unused do-control-video 2023-03-09 12:24:05 +11:00
Randy Mackay
a0723e6ef5 AP_Mission: fix ap-camera-enabled fallthrough 2023-03-09 12:24:05 +11:00
Peter Barker
2f95c5fa29 AP_Camera: save some bytes 2023-03-09 09:28:19 +11:00
Peter Barker
b55664034f GCS_MAVLink: use GCS_MAVLINK& when routing 2023-03-08 19:30:22 +11:00
Peter Barker
1035ec9f31 hwdef: skyviper can only have a mavlink-enabled camera 2023-03-08 19:11:30 +11:00
Peter Barker
86930592c4 AP_Camera: add and use AP_CAMERA_SERVO_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker
dea34086ac AP_Camera: add and use AP_CAMERA_RELAY_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker
5afbaea30b AP_Camera: tidy Solo Camera configuration 2023-03-08 19:11:30 +11:00
Peter Barker
020ef6d33a AP_Camera: add and use AP_CAMERA_MAVLINK_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker
9cf45f076b AP_HAL_ChibiOS: add and use AP_CAMERA_MOUNT_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker
a0d4706643 AP_Camera: add and use AP_CAMERA_MOUNT_ENABLED 2023-03-08 19:11:30 +11:00
Peter Barker
74d316f606 AP_Notify: disable ProfiLED SPI by default
this requires a SPI profiled line to function.  Unless that exists in the board's hwdef this driver can do nothing.  So require those drivers to turn the device on with a define, saving bytes in many places
2023-03-07 22:51:43 +11:00
Peter Barker
f353241375 AP_HAL_ChibiOS: disable ProfiLED SPI by default
this requires a SPI profiled line to function.  Unless that exists in the board's hwdef this driver can do nothing.  So require those drivers to turn the device on with a define, saving bytes in many places
2023-03-07 22:51:43 +11:00
Bob Long
ddd2d92d39 AP_EFI lua: add enum docs
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2023-03-07 20:35:13 +09:00
Andrew Tridgell
4ca0a0a997 AP_OpenDroneID: fixed mavlink enum 2023-03-07 20:35:13 +09:00
Bob Long
3616b41afc AP_EFI: use is_zero for fuel pressure
This is clearer than pragma shenanigans, and makes this consistent with
the the newly-added ignition_voltage handling above.
2023-03-07 20:35:13 +09:00
Bob Long
74279d9b32 AP_Scripting: add fuel_pressure_status binding 2023-03-07 20:35:13 +09:00
Bob Long
8c335be045 AP_EFI: added fuel pressure 2023-03-07 20:35:13 +09:00
Leonard Hall
6344faeb29 AC_WPNav: Provide terrain altitude for surface tracking 2023-03-07 13:41:35 +11:00
Peter Barker
518fece88d AP_Mount: remove redundant constructors
just copy in the one from the parent class
2023-03-07 13:40:54 +11:00
Andrew Tridgell
9cda7b5ccc AP_Compass: drop MMC5xx3 sample rate to 100Hz
this was consuming too much of the I2C bus sampling at 1kHz
2023-03-06 17:24:29 -08:00