Skip to content

Commit 4b3ff32

Browse files
authored
added download function for geofence and rallypoints (#353)
* added download function for geofence and rallypoints
1 parent 7c28ab7 commit 4b3ff32

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

protos/mission_raw/mission_raw.proto

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,15 @@ service MissionRawService {
3131
/*
3232
* Download a list of raw mission items from the system (asynchronous).
3333
*/
34-
rpc DownloadMission(DownloadMissionRequest) returns(DownloadMissionResponse) {}
34+
rpc DownloadMission(DownloadMissionRequest) returns(DownloadMissionResponse) {}
35+
/*
36+
* Download a list of raw geofence items from the system (asynchronous).
37+
*/
38+
rpc DownloadGeofence(DownloadGeofenceRequest) returns(DownloadGeofenceResponse) {}
39+
/*
40+
* Download a list of raw rallypoint items from the system (asynchronous).
41+
*/
42+
rpc DownloadRallypoints(DownloadRallypointsRequest) returns(DownloadRallypointsResponse) {}
3543
/*
3644
* Cancel an ongoing mission download.
3745
*/
@@ -129,6 +137,18 @@ message DownloadMissionResponse {
129137
repeated MissionItem mission_items = 2; // The mission items
130138
}
131139

140+
message DownloadGeofenceRequest {}
141+
message DownloadGeofenceResponse {
142+
MissionRawResult mission_raw_result = 1;
143+
repeated MissionItem geofence_items = 2; // The geofence items
144+
}
145+
146+
message DownloadRallypointsRequest {}
147+
message DownloadRallypointsResponse {
148+
MissionRawResult mission_raw_result = 1;
149+
repeated MissionItem rallypoint_items = 2; // The rallypoint items
150+
}
151+
132152
message CancelMissionDownloadRequest {}
133153
message CancelMissionDownloadResponse {
134154
MissionRawResult mission_raw_result = 1;

0 commit comments

Comments
 (0)