Skip to content

Commit

Permalink
added download function for geofence and rallypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
mattes-bru committed Sep 26, 2024
1 parent ecf7cd0 commit c88d446
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions protos/mission_raw/mission_raw.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c88d446

Please sign in to comment.