Skip to content

Commit

Permalink
Added API for receiving status notifications on outgoing mission requ…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
Jon Reeves committed Dec 9, 2024
1 parent 11dbf8c commit c6089e7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 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 when a new mission download request completes (asynchronous)
*/
rpc SubscribeOutgoingMission(SubscribeOutgoingMissionRequest) returns(stream OutgoingMissionResponse) { option (mavsdk.options.async_type) = ASYNC; }

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

message SubscribeOutgoingMissionRequest {}
message OutgoingMissionResponse {
MissionRawServerResult mission_raw_server_result = 1;
MissionPlan mission_plan = 2; // The mission plan that was requested
}

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

0 comments on commit c6089e7

Please sign in to comment.