Commit Graph

58464 Commits

Author SHA1 Message Date
Peter Barker ae6b1ffc8f SITL: factor RPLidar simulation to allow for subclassing 2023-05-16 10:15:23 +10:00
Peter Barker 5ba3260870 SITL: rename SIM_PS_RPLidarA2 to SIM_PS_RPLidar 2023-05-16 10:15:23 +10:00
Peter Barker 811dcebe4f AP_Proximity: RPLidarA2: interpret DEVICE_INFO response to determine model 2023-05-16 10:15:23 +10:00
Peter Barker 4ffdc7239c AP_Proximity: rewrite RPLidarA2 to use more efficient read() method 2023-05-16 10:15:23 +10:00
Peter Barker 742416c2aa SITL: RPLidar: add support for GET_DEVICE_INFO command 2023-05-16 10:15:23 +10:00
Peter Barker 76cf605e11 autotest: add test for RPLidar driver 2023-05-16 10:15:23 +10:00
Peter Barker 537fc19bb5 AP_HAL_ChibiOS: do not build ChibiOS with debug symbols unless debug build
debug symbols subtly change the compiler output which can lead to problems with repeatable builds
2023-05-16 09:55:47 +10:00
Peter Barker b19035b9a7 autotest: integrate features.json generation to build_binaries.py
we have to run the extract_features.py that corresponds to the branch being built.  We may say a feature is presnet when it isn't or vice-versa if we don't.
2023-05-16 09:53:11 +10:00
Hayden 10038a64be AP_BoardConfig: Added ignore board validation
Added the ability to ignore board validation. This has been added to the 7th bit in BRD_OPTIONS
2023-05-16 09:18:54 +10:00
Peter Barker 530e665c4d AP_SerialManager: add missing include for GCS 2023-05-16 09:16:37 +10:00
Peter Barker 0da4e3c9f3 Tools: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Peter Barker ef657438fc AP_SerialManager: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
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 2df27560c0 Tools: size_compare_branches - 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
Nicholas Kruzan e807d2a34a Tools: 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 baae2fd7b4 Tools: size_compare_branches.py: add option to hide lines with no binary changes 2023-05-14 18:26:07 +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 628473c42e Tools: ROS 2 update tests for time messages
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +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
Peter Barker 96ae4367a2 autotest: correct behaviour when process dies
interacting with the dead process isn't going to work
2023-05-13 20:04:50 +10:00
Peter Barker 2d862758e7 Tools: size_compare_branches: avoid elf_diff when not requested 2023-05-13 20:04:25 +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
Andrew Tridgell ec4b465fea ChibiOS: added sdcard SPI bus acquire hooks 2023-05-13 18:18:14 +10:00
Iampete1 a2f2437434 Tools: web: FilterReview: move to tensorflow FFT for 3x speedup 2023-05-13 18:04:13 +10:00
Iampete1 d54503346f Tools: Web: FilterReview: move to array functions to remove loops where posible 2023-05-13 18:04:13 +10:00
Iampete1 20d4274e24 Tools: Web: FilterReview: fix bug with none continuous sensor instances 2023-05-13 18:04:13 +10:00
Iampete1 819b867b00 Tools: Web: FilterReview: update to latest version on of parser from https://github.com/Williangalvani/JsDataflashParser 2023-05-13 18:04:13 +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
Tom Pittenger a47e125c1f Tools: add ./waf --upload-force arg to allow uploader.py to do --force 2023-05-12 07:14:52 +10:00
Peter Barker 5483f07d28 Tools: size_compare_branches.py: add --parallel option 2023-05-12 07:12:41 +10:00