Skip to content

Commit

Permalink
Split mission transfer into client and server
Browse files Browse the repository at this point in the history
This was weirdly mixed up in the same class before and required another
thread in the server plugin due to locking problems.

Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Oct 30, 2023
1 parent d380bb8 commit 7e6fc79
Show file tree
Hide file tree
Showing 21 changed files with 1,347 additions and 1,092 deletions.
6 changes: 4 additions & 2 deletions src/mavsdk/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ target_sources(mavsdk
mavlink_command_sender.cpp
mavlink_ftp_client.cpp
mavlink_ftp_server.cpp
mavlink_mission_transfer.cpp
mavlink_mission_transfer_client.cpp
mavlink_mission_transfer_server.cpp
mavlink_parameter_cache.cpp
mavlink_parameter_client.cpp
mavlink_parameter_server.cpp
Expand Down Expand Up @@ -154,7 +155,8 @@ list(APPEND UNIT_TEST_SOURCES
${PROJECT_SOURCE_DIR}/mavsdk/core/mavsdk_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavsdk_time_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavlink_channels_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavlink_mission_transfer_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavlink_mission_transfer_client_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavlink_mission_transfer_server_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavlink_statustext_handler_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/ringbuffer_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/safe_queue_test.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/mavsdk/core/flight_mode.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <cstdint>
#include "mavlink_mission_transfer.h" // FIXME: remove this dependency
#include "mavlink_include.h"
#include "autopilot.h"

namespace mavsdk {
Expand Down
Loading

0 comments on commit 7e6fc79

Please sign in to comment.