From ecf7cd08e17c023bf01aa881f400f4a674009695 Mon Sep 17 00:00:00 2001 From: Matthias Kollmann Date: Thu, 26 Sep 2024 09:10:31 +0200 Subject: [PATCH 1/2] added download function for geofence and rallypoints --- protos/mission_raw/mission_raw.proto | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/protos/mission_raw/mission_raw.proto b/protos/mission_raw/mission_raw.proto index bd4007081..2b5235f4a 100644 --- a/protos/mission_raw/mission_raw.proto +++ b/protos/mission_raw/mission_raw.proto @@ -31,7 +31,15 @@ service MissionRawService { /* * Download a list of raw mission items from the system (asynchronous). */ - rpc DownloadMission(DownloadMissionRequest) returns(DownloadMissionResponse) {} + rpc DownloadMission(DownloadMissionRequest) returns(DownloadMissionResponse) {} + /* + * Download a list of raw mission items from the system (asynchronous). + */ + rpc DownloadGeofence(DownloadMissionRequest) returns(DownloadMissionResponse) {} + /* + * Download a list of raw mission items from the system (asynchronous). + */ + rpc DownloadRallypoints(DownloadMissionRequest) returns(DownloadMissionResponse) {} /* * Cancel an ongoing mission download. */ From c88d4469d2f0c53de85c8410d95012088b9b75ad Mon Sep 17 00:00:00 2001 From: Matthias Kollmann Date: Thu, 26 Sep 2024 10:14:56 +0200 Subject: [PATCH 2/2] added download function for geofence and rallypoints --- protos/mission_raw/mission_raw.proto | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/protos/mission_raw/mission_raw.proto b/protos/mission_raw/mission_raw.proto index 2b5235f4a..6e226942d 100644 --- a/protos/mission_raw/mission_raw.proto +++ b/protos/mission_raw/mission_raw.proto @@ -33,13 +33,13 @@ service MissionRawService { */ rpc DownloadMission(DownloadMissionRequest) returns(DownloadMissionResponse) {} /* - * Download a list of raw mission items from the system (asynchronous). + * Download a list of raw geofence items from the system (asynchronous). */ - rpc DownloadGeofence(DownloadMissionRequest) returns(DownloadMissionResponse) {} + rpc DownloadGeofence(DownloadGeofenceRequest) returns(DownloadGeofenceResponse) {} /* - * Download a list of raw mission items from the system (asynchronous). + * Download a list of raw rallypoint items from the system (asynchronous). */ - rpc DownloadRallypoints(DownloadMissionRequest) returns(DownloadMissionResponse) {} + rpc DownloadRallypoints(DownloadRallypointsRequest) returns(DownloadRallypointsResponse) {} /* * Cancel an ongoing mission download. */ @@ -137,6 +137,18 @@ message DownloadMissionResponse { repeated MissionItem mission_items = 2; // The mission items } +message DownloadGeofenceRequest {} +message DownloadGeofenceResponse { + MissionRawResult mission_raw_result = 1; + repeated MissionItem geofence_items = 2; // The geofence items +} + +message DownloadRallypointsRequest {} +message DownloadRallypointsResponse { + MissionRawResult mission_raw_result = 1; + repeated MissionItem rallypoint_items = 2; // The rallypoint items +} + message CancelMissionDownloadRequest {} message CancelMissionDownloadResponse { MissionRawResult mission_raw_result = 1;