Commit Graph

58056 Commits

Author SHA1 Message Date
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
Tom Pittenger
3b9c2bb185 Tools: WSL2 python.exe uploader.py stdout to be unbuffered via -u 2023-05-12 07:12:07 +10:00
Rhys Mainwaring
21ea0d9794 Tools: ROS 2 update launch scripts and tests
Add launch module to ardupilot_sitl package
- Move body of launch scripts into package for reuse.
- Add utilities module.

Update launch scripts
- Provide type hints.
- Add arguments to sitl.launch.py.
- Fix formatting bug in sitl.launch.py home argument.

Update micro_ros_agent launch script
- Modify import for lauch_ros.actions.Node.
- Change argument order in node initialiser.
- Add args for UDP transport and set as default.

Update ROS 2 DDS default params
- Add default params for both serial and UDP transports.
- Add DDS_ENABLE.

Rename ROS 2 sitl_dds launch script
- Rename sitl_dds launch script with serial suffix.
- Add launch script for UDP transport.

Update ROS 2 launch test fixtures
- Make common test fixtures more granular.
- Add fixtures and tests for UDP transport.
- Update ROS 2 package.xml dependencies
- Use yield rather than return in test fixtures.
- Use ardupilot_sitl launch module directly.
- Correct return type descriptions.
- Fix flake8 failure.

Update ROS 2 README
- Update launch instructions.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-12 07:11:25 +10:00
Rhys Mainwaring
af534b5b91 Tools: ROS 2 move python package directory
- Move the Python package for ardupilot_sitl into src.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-12 07:11:25 +10:00
Rhys Mainwaring
bb8f53742d Tools: ROS 2 add debug config
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-12 07:11:25 +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
Iampete1
c1fe95f726 Tools: Web: Add FFT batch log review tool 2023-05-11 21:16:21 +10: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