Commit Graph

31931 Commits

Author SHA1 Message Date
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
Tom Pittenger 3c65b5e5a0 RC_Channel: add AUX_FUNC::BATTERY_MPPT_ENABLE 2023-03-07 11:42:24 +11:00
Tom Pittenger f413f82345 AP_BattMonitor: add external MPPT on-off control 2023-03-07 11:42:24 +11:00
Henry Wurzburg eeb72637ec AP_GPS:make Unicore reset to rover in all cases 2023-03-07 10:57:20 +11:00
Iampete1 77540dff07 AP_inertialSensor: BatchSampler: add enabled and initalised getters 2023-03-07 10:56:16 +11:00
Iampete1 89e5a7a300 AP_Arming: INS: add batchsampler init check 2023-03-07 10:56:16 +11:00
Andy Piper 3607709d16 AP_HAL_ChibiOS: bdshot version of Pixhawk6C 2023-03-07 10:35:08 +11:00
Andy Piper 7cdbc6169f AP_HAL_ChibiOS: bdshot version of QioTekZealotH743 2023-03-07 10:35:08 +11:00
Andrew Tridgell 1d0bcbf3a1 hwdef: force enable heater on PixPilot-V6 2023-03-07 10:33:24 +11:00
Andrew Tridgell 2f1c38e13a AP_IOMCU: support forcing heater to enabled with a feature bit 2023-03-07 10:33:24 +11:00
Peter Barker 9fd4298377 AP_SerialLED: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Barker d9aa0c9cf0 AP_Notify: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Barker a647f79371 AP_HAL_ChibiOS: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Hall 9ac488d500 AP_Scripting: add binding to set motors external limits 2023-03-07 10:12:30 +11:00