Commit Graph

60808 Commits

Author SHA1 Message Date
Peter Barker aa9bbd0fcb waf: invert ekf2-disable command-line option 2023-11-27 09:05:08 +11:00
Peter Barker f40250c073 AP_AHRS: compile EKF2 out by default on all boards 2023-11-27 09:05:08 +11:00
Peter Barker a84e9e8e6c Copter: don't send WINCH_STATUS message if winch not enabled 2023-11-26 20:59:14 +09:00
Tom Pittenger 6dcaf94c3d AP_BattMon: add AP_BATTERY_WATT_MAX_ENABLED 2023-11-26 11:57:14 +11:00
Tom Pittenger b468af81ac Plane: wrap Watt Limiiter in #if AP_BATTERY_WATT_MAX_ENABLED 2023-11-26 11:57:14 +11:00
Tom Pittenger 496125a8cb Tools: add AP_BATTERY_WATT_MAX_ENABLED to docs 2023-11-26 11:57:14 +11:00
Tom Pittenger 1f7b4d0938 AP_HAL_ChibiOS: set AP_BATTERY_WATT_MAX_ENABLED 0 for minimize 2023-11-26 11:57:14 +11:00
Tom Pittenger cd6a656acf AP_HAL_ChibiOS: set AP_BATTERY_WATT_MAX_ENABLED 0 for periph 2023-11-26 11:57:14 +11:00
Tom Pittenger f870b63851 AP_Periph: move Network Passthrough to it's own file 2023-11-26 11:28:57 +11:00
Tom Pittenger 0b60777db6 AP_Periph: add Networking-UART passthrough 2023-11-26 11:28:57 +11:00
Tom Pittenger 8ab3ad2777 AP_Networking: add support for AP_Periph 2023-11-26 11:28:57 +11:00
Andrew Tridgell afc112295c Tools: allow networking in SITL periph 2023-11-26 11:28:57 +11:00
Tom Pittenger e8c852f0d4 AP_HAL: Allow APMSockets to autodetect Broadcast IPs 2023-11-25 16:28:07 -08:00
Ryan Friedman bf6bd3a023 .github: Enable colcon tests in DDS CI
* Use checkout v4 to pull in ArduPilot into a subdir first
* Enable console cohesion during test since JUnit reporting is out of
  scope
* Install mavproxy separately as needed, alternative to --console
* Hide wget progress
* Install local pymavlink

Co-authored-by: Pierre Kancir <khancyr@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-26 10:36:20 +11:00
Ryan Friedman 07cfd14828 Tools: remove enable-networking
* This flag was already removed, but the flags were left around

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-26 10:36:20 +11:00
olliw42 8f9df5a62e AP_Arming: Reduce response time when checks go from true to false 2023-11-25 14:59:04 -08:00
Ryan Friedman 4ffcc56cdb .git-blame-ignore-revs: Ignore black format change
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-25 13:49:05 -08:00
yjuav 8d4611f22f AP_Bootloader: reserve board id for YJUAV_A6Ultra 2023-11-25 13:47:52 -08:00
Peter Barker 27f836b66e hwdef: correct ARK_CANNODE compilation
this was turning SPI on when there aren't any devices...
2023-11-25 13:47:13 -08:00
alexklimaj ddba794420 hwdef: ark_rtk_gps fix safety led 2023-11-25 13:45:56 -08:00
Andrew Tridgell ee592476ce AP_HAL: implement multicast for UDP sockets 2023-11-25 12:19:43 -08:00
Andrew Tridgell 3f76a55275 ChibiOS: submodule update
fixed multicast receive and update lwip to 2.2.0
2023-11-25 12:19:43 -08:00
Andrew Tridgell 68e2bb1f15 AP_Networking: enable receive of multicast packets 2023-11-25 12:19:43 -08:00
Andrew Tridgell 58cf4f65a9 HAL_SITL: use SocketAPM for CAN multicast and SITL_Periph state 2023-11-25 12:19:43 -08:00
Ryan Friedman ea237724c7 Tools: autotest: Fix junit printing for double str
* Can't concetenate a double to a string without fstring or a type
  change

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-24 18:08:53 +11:00
Andy Piper 8718261f27 AP_Periph: add CAN_TERMINATE for software driven termination 2023-11-23 12:18:29 -08:00
Peter Barker a8e2908e8b autotest: build AP_Periph parameters in autotest 2023-11-23 12:17:49 -08:00
Ryan Friedman 14aeb831fb AP_DDS: Add instructions for running HW test
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 21:44:35 -08:00
Peter Barker 6809f243f1 Tools: CI: build AP_Periph parameters in CI 2023-11-22 21:43:53 -08:00
Peter Barker 47a18596db AP_Periph: correct parameter documentation 2023-11-22 21:43:53 -08:00
bugobliterator 4b61b3d64e AP_Stats: initialise parameter defaults 2023-11-22 21:43:00 -08:00
Peter Barker 4fd54dccaf autotest: correct python function typing bug around Dict vs dict 2023-11-23 10:02:26 +11:00
Ryan Friedman 61e2c5fda1 Tools: ros2: Enforce black instead of flake8
* Removed dependency on ament_lint_common
* Removed all flake8 artifacts
* Ordered linters alphabetically

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 11:50:39 -08:00
Ryan Friedman d4c7601b1b .pre-commit: Add Tools/ros2 to list of black formatted files
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 11:50:39 -08:00
Ryan Friedman 85172b5646 Tools: ros2: Run ament_black on all files
* This commit is files changed automatically by the black linter

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 11:50:39 -08:00
Tom Pittenger b5e2f9aa0a AP_Scripting: change some _INFO msgs to _CRITICAL/ERROR 2023-11-22 00:07:05 -08:00
Pierre Kancir d98a400d9e AP_Logger: Prepare the maximum number of log files in the config parameter 2023-11-22 18:35:21 +11:00
Pierre Kancir 8cd91b4789 Tools: add more tests for log downloads 2023-11-22 18:35:21 +11:00
Pierre Kancir 879937fffe .github: update actions/checkout to v4 2023-11-22 18:32:19 +11:00
Pierre Kancir aeed2c113c .github: move containers to v0.1.3 to include latest python stuff 2023-11-22 18:32:19 +11:00
Pierre Kancir 92c338f5d4 Tools: fix junit report and add firmware version on report 2023-11-22 18:32:19 +11:00
Pierre Kancir c1c730a9bb Tools: fix flake8 issue 2023-11-22 18:32:19 +11:00
Pierre Kancir 63a836e013 .github: move containers to v0.1.1 to include junitparser 2023-11-22 18:32:19 +11:00
Pierre Kancir 1d7d6328bb Tools: make CI output junit xml results 2023-11-22 18:32:19 +11:00
Pierre Kancir 507c27b5a4 .ignore: remove junit xml files 2023-11-22 18:32:19 +11:00
Pierre Kancir aaa56699dd Tools: add junitparser to default install
skip-checks: true
2023-11-22 18:32:19 +11:00
Pierre Kancir 3d379c2b07 Tools: add junit output for autotest 2023-11-22 18:32:19 +11:00
Pierre Kancir d5584fe703 Copter: fix USER_PARAMS_ENABLED includes 2023-11-22 18:16:32 +11:00
Peter Barker e9fc99b1bf AP_HAL_ChibiOS: base HAL_USE_SPI on devices not buses
fixes compilation problem with gcc 10.3

../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp: In static member function 'static void ChibiOS::SPIDeviceManager::__static_initialization_and_destruction_0(int, int)':
../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp:76:18: error: statement has no effect [-Werror=unused-value]
   76 | ChibiOS::SPIDesc SPIDeviceManager::device_table[] = { HAL_SPI_DEVICE_LIST };
      |                  ^~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors
2023-11-22 18:14:00 +11:00
Andrew Tridgell d23c633b2c Tools: added a test for serial over CAN
download a log with mavproxy from a serial over CAN port which then
comes out as UDP
2023-11-22 17:19:12 +11:00