Skip to content

Commit

Permalink
added download function for geofence and rallypoints (#353)
Browse files Browse the repository at this point in the history
* added download function for geofence and rallypoints
  • Loading branch information
mattes-bru authored Sep 30, 2024
1 parent 7c28ab7 commit 4b3ff32
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion protos/mission_raw/mission_raw.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 geofence items from the system (asynchronous).
*/
rpc DownloadGeofence(DownloadGeofenceRequest) returns(DownloadGeofenceResponse) {}
/*
* Download a list of raw rallypoint items from the system (asynchronous).
*/
rpc DownloadRallypoints(DownloadRallypointsRequest) returns(DownloadRallypointsResponse) {}
/*
* Cancel an ongoing mission download.
*/
Expand Down Expand Up @@ -129,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 4b3ff32

Please sign in to comment.