Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added download function for geofence and rallypoints #353

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading