Commit Graph

32632 Commits

Author SHA1 Message Date
Peter Barker
2c00813aab AP_RCProtocol: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Peter Barker
49879ab28c AP_HAL_ESP32: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Peter Barker
2d7123fcff AP_HAL_ChibiOS: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Peter Barker
b7f3d25bed SITL: add simulator for LM2755 RGBLED 2023-05-15 22:02:07 +10:00
Peter Barker
f67f025c92 AP_AHRS: pre-declare Location object
we don't need to know the storage, and if you cut enough stuff out then we don't end up transitively including the required header for this.
2023-05-15 16:34:23 +10:00
Ryan Friedman
29a6ae4ea1 AP_GPS: Add missing const to the rest of the headers
* Related to #23743, but I missed this since I didn't realize the buffer was not modified in-place

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-15 12:25:34 +10:00
Nicholas Kruzan
761184d645 AP_HAL_ESP32: add board esp32nick 2023-05-15 12:22:17 +10:00
Nicholas Kruzan
2171fff91b AP_HAL: esp32 - add board esp32nick 2023-05-15 12:22:17 +10:00
Nicholas Kruzan
8967ed0ad1 AP_HAL_ESP32: idf-v4.4 updates
update wifi drivers

nick: fix build warning

In file included from ../../libraries/AP_HAL_ESP32/WiFiUdpDriver.cpp:26:
../../modules/esp_idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
 #warning "esp_event_loop.h is deprecated, please include esp_event.h instead"

AP_HAL_ESP32: idf-v4.4 updates

AP_HAL_ESP32: sdkconfig updates
2023-05-15 10:27:25 +10:00
Peter Barker
26dd210be6 AP_Filesystem: remove unused header 2023-05-15 10:17:47 +10:00
Peter Barker
1aa5a8f789 AC_Avoidance: make _output_level AP_Enum
Also remove namespacing from OA_DbOutputLevel
2023-05-15 09:25:57 +10:00
bugobliterator
75ef9a27cb AP_HAL_ChibiOS: fix battery monitor params for CubeRed 2023-05-15 07:14:57 +10:00
Peter Barker
aac43a2302 SITL: guard against LP5562 not being included
... not included on SIMOnHardware, for  example
2023-05-14 18:25:36 +10:00
Rhys Mainwaring
fd775bf08d AP_DDS: update README
- Update list of available topics.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Rhys Mainwaring
56ed76f479 AP_DDS: add publisher for rosgraph_msgs/msg/Clock
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Rhys Mainwaring
371c19bb32 AP_DDS: rename topic name for builtin_interfaces/msg/Time
- Rename to ap/time as ap/clock should be for rosgraph_msgs/msg/Clock

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Rhys Mainwaring
c60796a0df AP_DDS: add IDL for rosgraph_msgs/msg/Clock
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Peter Barker
1452dc0c54 AP_RPM: prefer AP_Generator_config.h
.... otherwise include chain on bootloaders can try to include mavlink
2023-05-14 06:17:33 +10:00
Ferruccio Vicari
d5918c5205 AP_OSD: support for main rotor rpm
displays main rotor rpm in OSD
2023-05-14 06:17:33 +10:00
Peter Barker
67537b1806 SITL: add simulator for RDS02UF rangefinder 2023-05-13 20:05:18 +10:00
Peter Barker
4ed4c2d554 AP_HAL_SITL: add simulator for RDS02UF rangefinder 2023-05-13 20:05:18 +10:00
Peter Barker
6943ea59b1 AP_HAL: add simulator for RDS02UF rangefinder 2023-05-13 20:05:18 +10:00
Andrew Tridgell
7e84028a91 HAL_ChibiOS: fixed sdcard lockup with SPI sdcard
this affects boards that share sdcard on the same bus as another SPI
device. In this case it was a QiotekZealotH743 where logging stopped

this issue is that the SPI hooks for MMC SPI did not do a DMA channel
lock before the SPI device lock. So when the RAMTRON driver on the
QiotekZealotH743 which is on the same SPI2 bus as the sdcard did an
operation we had a lock order violation
2023-05-13 18:18:14 +10:00
Ryan Friedman
925e9d8cbc AP_HAL: Add reference to sparse endian manpage
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-13 11:32:38 +10:00
Ryan Friedman
b8f59b0df5 AP_GPS: Remove unused member variable in gsof driver
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-12 19:19:43 +10:00
Ryan Friedman
4b2687352c AP_GPS: Add const and WARN_IF_UNUSED to AP_GPS_GSOF
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-11 10:41:17 -07:00
Henry Wurzburg
b4f9992ab7 AP_SerialManager: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg
2ddaa65b23 AP_HAL: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg
71992d4604 AP_HAL_ESP32: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg
d0ac8f3016 AP_HAL_ChibiOS: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Peter Barker
8ac9a7561c AP_Notify: add driver for LP5562 LED 2023-05-11 11:08:50 +10:00
Peter Barker
19d2659179 SITL: add simulator for LP5562 RGBLED 2023-05-11 11:08:50 +10:00
Andrew Tridgell
b019978e22 hwdef: use zero address for INA2XX to allow for different sensors 2023-05-10 18:15:52 +10:00
Andrew Tridgell
e2041e10b5 AP_BattMonitor: auto-probe INA2XX address if address is zero
this makes life easier for users who don't know which device they have
2023-05-10 18:15:52 +10:00
Andrew Tridgell
5227b99a39 AP_BattMonitor: support INA228 and INA238 battery monitor
I2C monitors with similar functionality to INA226
2023-05-10 18:15:52 +10:00
Andrew Tridgell
2b45b235ad AP_ICEngine: fixed a bug engine control when running
if you have a mission item for engine control with delayed start at
height and the engine is already running them it would put the ICE
subsystem into a state where it would no longer start the engine

It was actually 2 bugs:

 - an engine control to do a height delayed start should be ignored if
   the engine is already running. This prevents an engine control to
   start the engine from stopping the engine

 - a start_chan high should always try to start the engine
   immediately, even if in the wait state
2023-05-10 18:01:21 +10:00
Randy Mackay
d6eb11d27e AP_HAL_ChibiOS: JFB100 LED definition fix 2023-05-10 17:24:02 +10:00
Randy Mackay
217ba502ac AP_InertialSensor: SCHA63T comment fix 2023-05-10 17:24:02 +10:00
Randy Mackay
9c44d79241 AP_HAL_ChibiOS: JFB100 board def fixup 2023-05-10 17:24:02 +10:00
Randy Mackay
9d9de678a5 AP_InertialSensor: SCHA63T loses unused ret bool 2023-05-10 17:24:02 +10:00
jfbblue0922
79f5cdaf04 AP_HAL_ChibiOS: add JFB100 board definition 2023-05-10 17:24:02 +10:00
Randy Mackay
7c2a173f30 AP_InertialSensor: formatting fixes 2023-05-10 17:24:02 +10:00
jfbblue0922
458fbb7f90 AP_InertialSensor: add SCHA63T IMU support 2023-05-10 17:24:02 +10:00
jfbblue0922
7d924f10e2 AP_Math: add crc8_sae 2023-05-10 17:24:02 +10:00
Peter Barker
db6deee9e1 hwdef: chibios_hwdef.py becomes a library 2023-05-10 17:14:43 +10:00
Andrew Tridgell
84b52374f6 RC_Channel: fixed build on cygwin with conflicting POINT 2023-05-10 17:10:20 +10:00
Andrew Tridgell
7175318fbb AP_Camera: fixed build on cygwin with conflicting POINT 2023-05-10 17:10:20 +10:00
Andy Piper
99e6958e36 AP_HAL_ChibiOS: FoxeerH743 GA release 2023-05-10 17:07:45 +10:00
Pierre Kancir
442d4ba4e0 SITL: fix memory leak on multi fcu json sim 2023-05-09 20:39:04 +10:00
Jonathan Challinger
28598e82c0 AP_HAL_SITL: fix sitl_periph_gps build 2023-05-09 11:42:09 +10:00