From 2908b257c4e9abf1e890a00a51587ce910712167 Mon Sep 17 00:00:00 2001 From: Christopher Lee Date: Sun, 26 Jul 2026 22:23:37 -0700 Subject: [PATCH 1/2] chore: 1. suppress translation warnings 2. AFS-TERM-ACTION expects a different data type --- CMakeLists.txt | 1 + configs/dev.json | 2 +- src/network/mavlink.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 532d9de3..98745407 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) # Make sure that we are using the C++11 ABI, if not then there are some weird # inconsistencies with our precompiled headers add_compile_definitions(_GLIBCXX_USE_CXX11_ABI=1) +add_compile_options(-Wno-psabi) # Disable in-source builds to prevent source tree corruption. if(" ${CMAKE_SOURCE_DIR}" STREQUAL " ${CMAKE_BINARY_DIR}") diff --git a/configs/dev.json b/configs/dev.json index 8635cdb4..4c1607a8 100644 --- a/configs/dev.json +++ b/configs/dev.json @@ -4,7 +4,7 @@ }, "network": { "mavlink": { - "connect": "tcp://localhost:14552", + "connect": "tcp://127.0.0.1:14552", "log_params": false, "telem_poll_rate": 2.0 }, diff --git a/src/network/mavlink.cpp b/src/network/mavlink.cpp index 3dba2099..6aefd393 100644 --- a/src/network/mavlink.cpp +++ b/src/network/mavlink.cpp @@ -81,7 +81,7 @@ MavlinkClient::MavlinkClient(OBCConfig config) // get it wrong. auto result = mavsdk::Param::Result::Unknown; if (param == "FS_LONG_TIMEOUT" || param == "AFS_RC_FAIL_TIME" || - param == "FS_SHORT_TIMEOUT") { + param == "FS_SHORT_TIMEOUT" || param == "AFS_TERM_ACTION") { result = this->param->set_param_float(param, val); } else { result = this->param->set_param_int(param, val); From ec905d3cf0a231e5e2c914fce913e2f6d2169ee0 Mon Sep 17 00:00:00 2001 From: Christopher Lee <87111319+AskewParity@users.noreply.github.com> Date: Sun, 26 Jul 2026 22:26:37 -0700 Subject: [PATCH 2/2] revert: config --- configs/dev.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/dev.json b/configs/dev.json index 4c1607a8..e4b9e52a 100644 --- a/configs/dev.json +++ b/configs/dev.json @@ -4,7 +4,7 @@ }, "network": { "mavlink": { - "connect": "tcp://127.0.0.1:14552", + "connect": "tcp://localhost:14552", "log_params": false, "telem_poll_rate": 2.0 }, @@ -74,4 +74,4 @@ "mavlink": { "log_params": false } -} \ No newline at end of file +}