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 outgoing mission response subscription API #356

Closed
wants to merge 2 commits into from
Closed
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
10 changes: 10 additions & 0 deletions protos/mission_raw_server/mission_raw_server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ service MissionRawServerService {
*/
rpc SubscribeIncomingMission(SubscribeIncomingMissionRequest) returns(stream IncomingMissionResponse) {}

/*
* Subscribe to the result of outgoing mission download requests (air to ground)
*/
rpc SubscribeOutgoingMissionResult(SubscribeOutgoingMissionRequest) returns(stream OutgoingMissionResponse) {}

/*
* Subscribe to when a new current item is set
*/
Expand All @@ -37,6 +42,11 @@ message IncomingMissionResponse {
MissionPlan mission_plan = 2; // The mission plan
}

message SubscribeOutgoingMissionRequest {}
message OutgoingMissionResponse {
MissionRawServerResult mission_raw_server_result = 1;
}

message SubscribeCurrentItemChangedRequest {}
message CurrentItemChangedResponse {
MissionItem mission_item = 1;
Expand Down