Skip to content

Commit

Permalink
Merge branch 'ArduPilot:master' into fc_support
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodSakura3774 authored Oct 4, 2024
2 parents 2929897 + be1c87f commit e381d3b
Show file tree
Hide file tree
Showing 624 changed files with 16,470 additions and 6,573 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@

# Tools: ros2: Run ament_black on all files
85172b56467668bee9fa0e68081027b13bc18c4a

# Tools: ros2: Reformat
4d9822131354dc7dc3351f24660969f58720a1de
4 changes: 2 additions & 2 deletions .github/problem-matchers/autotestfail.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"__comment": "by buzz try to match common autotest warnings and errors that arent caught by gcc.json or python.json",
"__comment": "by buzz try to match autotest test failures",
"problemMatcher": [
{
"owner": "autotest-fail-matcher",
"severity": "error",
"pattern": [
{
"regexp": "^(.*)(TIMEOUT|Build failed|FAILED STEP):(.*)$",
"regexp": "^(.*)(TIMEOUT|Build failed|FAILED STEP|FAILED):(.*)$",
"column": 1,
"code": 2,
"message": 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/colcon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
shell: 'bash'
run: |
source install/setup.bash
colcon test --packages-select ardupilot_dds_tests --event-handlers=console_cohesion+
colcon test --executor sequential --parallel-workers 0 --base-paths src/ardupilot --event-handlers=console_cohesion+
- name: Report colcon test results
run: |
colcon test-result --all --verbose
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cygwin_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
fail: true

- name: Archive build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binaries
path: artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/esp32_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
ls bootloader* partition* Ardu*.elf Ardu*.bin >> $GITHUB_STEP_SUMMARY
- name: Archive artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: esp32-binaries -${{matrix.config}}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qurt_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
cp -a build/QURT/bin/ardurover build/QURT/ArduPilot_Rover.so
- name: Archive build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: qurt-binaries
path: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_chibios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ jobs:
build-options-defaults-test,
signing,
CubeOrange-PPP,
CubeRed-EKF2,
SOHW,
Pixhawk6X-PPPGW,
new-check,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_dds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test_linux_sbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ jobs:
toolchain: armhf-musl
- config: linux
toolchain: base # GCC
- config: navigator64
toolchain: aarch64
- config: linux
toolchain: base # GCC
exclude:
- config: navigator
toolchain: armhf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{ matrix.toolchain }}-${{matrix.config}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
python ./libraries/AP_Scripting/tests/docs_check.py "./libraries/AP_Scripting/docs/docs.lua" "./libraries/AP_Scripting/docs/current_docs.lua"
- name: Upload docs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Docs
path: ScriptingDocs.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_blimp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -261,7 +261,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down Expand Up @@ -226,6 +227,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand All @@ -251,7 +265,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -265,7 +279,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down Expand Up @@ -347,7 +361,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -361,7 +375,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ jobs:
fail-fast: false # don't cancel if a job from the matrix fails
matrix:
config: [
sitltest-plane,
sitltest-plane-tests1a,
sitltest-plane-tests1b,
sitltest-quadplane,
]

Expand Down Expand Up @@ -247,7 +248,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -261,7 +262,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand All @@ -249,7 +262,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -263,7 +276,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down Expand Up @@ -223,6 +224,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand All @@ -248,7 +262,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -262,7 +276,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{matrix.config}}
Expand All @@ -262,7 +262,7 @@ jobs:
retention-days: 14

- name: Archive .bin artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
Tools/autotest/unittest/annotate_params_unittest.py
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{ matrix.toolchain }}-${{matrix.config}}
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,7 @@ ENV/
env.bak/
venv.bak/
autotest_result_*_junit.xml

# Ignore ESP-IDF SDK defines
/libraries/AP_HAL_ESP32/targets/esp32/esp-idf/sdkconfig
/libraries/AP_HAL_ESP32/targets/esp32s3/esp-idf/sdkconfig
3 changes: 3 additions & 0 deletions AntennaTracker/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ static const ap_message STREAM_RAW_SENSORS_msgs[] = {
MSG_SCALED_PRESSURE,
MSG_SCALED_PRESSURE2,
MSG_SCALED_PRESSURE3,
#if AP_AIRSPEED_ENABLED
MSG_AIRSPEED,
#endif
};
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_SYS_STATUS,
Expand Down
4 changes: 1 addition & 3 deletions AntennaTracker/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
// Write an attitude packet
void Tracker::Log_Write_Attitude()
{
Vector3f targets;
targets.y = nav_status.pitch * 100.0f;
targets.z = wrap_360_cd(nav_status.bearing * 100.0f);
const Vector3f targets{0.0f, nav_status.pitch, nav_status.bearing};
ahrs.Write_Attitude(targets);
AP::ahrs().Log_Write();
}
Expand Down
27 changes: 27 additions & 0 deletions AntennaTracker/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
Antenna Tracker Release Notes:
------------------------------------------------------------------
Release 4.5.7-beta1 26 Sep 2024

Changes from 4.5.6

1) Bug fixes and minor enhancements

- VUAV-V7pro support
- CUAV-7-Nano correction for LEDs and battery volt and current scaling
- DroneCAN deadlock and saturation of CAN bus fixed
- DroneCAN DNA server init fix (caused logging issues and spam on bus)
- F4 boards with inverter support correctly uninvert RX/TX
- Nanoradar M72 radar driver fix for object avoidance path planning
- RC support for latest version of GHST
- Septentrio GPS sat count correctly drops to zero when 255 received

2) ROS2/DDS and other developer focused enhancements

- AP quaternions normalised for ROS2 to avoid warnings
- Dependencies fixed for easier installation
- ROS2 SITL launch file enhancements including displaying console and map
- ROS_DOMAIN_ID param added to support multiple vehicles or instances of ROS2
- Python 3.12 support
------------------------------------------------------------------
Release 4.5.6 03 Sep 2024

No changes from 4.5.6-beta1
------------------------------------------------------------------
Release 4.5.6-beta1 20 Aug 2024

Changes from 4.5.5
Expand Down
Loading

0 comments on commit e381d3b

Please sign in to comment.