Commit Graph

31916 Commits

Author SHA1 Message Date
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
Peter Hall bbb9e66196 AP_Motors: add method for scripting to set external limit flags 2023-03-07 10:12:30 +11:00
Peter Hall 23fb73085a AP_Scripting: add bindings to get throttle, forward, lateral and spool state from motors 2023-03-07 10:12:30 +11:00
Andrew Tridgell bc3fc9a317 AP_Scripting: added bindings for motors roll, pitch, yaw outputs 2023-03-07 10:12:30 +11:00
Peter Barker f8c2ceced7 GCS_MAVLink: add support for MAV_CMD_DO_SET_ROI_NONE 2023-03-07 08:06:01 +09:00
Andrew Tridgell eae518329d AP_RAMTRON: added MB85RS256TY
new 32k FRAM
2023-03-07 07:57:46 +11:00
Andrew Tridgell 7be6fe9841 hwdef: use AP_PERIPH_PROBE_CONTINUOUS for dedicated rangefinders
these are used with sensors that may take a long time to startup and
the delay won't cause any issues as there are no other sensors
supported
2023-03-06 19:48:07 +11:00
Andrew Tridgell e300db5be0 AP_RangeFinder: allow re-init if no sensors found
needed for AP_Periph with slow startup sensors or sensors that power
on separately to the CAN node
2023-03-06 19:48:07 +11:00
Peter Barker 05c996bfcc SITL: correct use of uninitialised stack data in SIM_Gimbal 2023-03-06 14:18:59 +11:00
Peter Barker 93cb56b5f2 AP_Mount: create and use AP_Mount_config.h 2023-03-06 14:03:00 +11:00
Andrew Tridgell 6770982a98 GCS_MAVLink: support rename in FTP 2023-03-05 09:42:48 +11:00
Andrew Tridgell cf79843661 AP_Filesystem: support file rename 2023-03-05 09:42:48 +11:00
Iampete1 a021489580 AP_Scripting: lua_bindings: use local varable for AP_Scripting, don't get every time 2023-03-05 09:42:05 +11:00
Iampete1 36498cb4a0 AP_HAL: GPIO: PWMSource: add destructor to detach interurupt 2023-03-05 09:42:05 +11:00
Iampete1 54a9239e62 AP_Scripting: fix PWMSource deletion crash 2023-03-05 09:42:05 +11:00
Tarik Agcayazi 2bb8294685 AP_Winch: Fix baud rate handling
Correct baud rate is 38400. Confirmed with manufacturer, and with a winch on v1.02. Also confirmed w/ manufacturer that newest winches on v1.04 also use 38400. Removed if statement forcing baud rate of 115200 to be consistent with documentation, and to avoid issues in future if manufacturer changes baud rate again.
2023-03-04 07:59:23 +09:00