Skip to content

Commit

Permalink
Revert recent camera_server additions (#324)
Browse files Browse the repository at this point in the history
This reverts:
"camera server : add start stop video subscribe (#318)"

We will add it back in shortly. This is just because the PR following
this has not been merged.

This reverts commit 8966cf5.
  • Loading branch information
julianoes authored Oct 13, 2023
1 parent 8966cf5 commit 0d77229
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions protos/camera_server/camera_server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ service CameraServerService {

// Respond to an image capture request from SubscribeTakePhoto.
rpc RespondTakePhoto(RespondTakePhotoRequest) returns(RespondTakePhotoResponse) { option (mavsdk.options.async_type) = SYNC; }

// Subscribe to start video requests. Each request received should response to using StartVideoResponse
rpc SubscribeStartVideo(SubscribeStartVideoRequest) returns(stream StartVideoResponse) { option (mavsdk.options.async_type) = ASYNC; }

// Subscribe to stop video requests. Each request received should response to using StopVideoResponse
rpc SubscribeStopVideo(SubscribeStopVideoRequest) returns(stream StopVideoResponse) { option (mavsdk.options.async_type) = ASYNC; }
}

message SetInformationRequest {
Expand All @@ -44,20 +38,11 @@ message SetInProgressResponse {
}

message SubscribeTakePhotoRequest {}

message TakePhotoResponse {
int32 index = 1;
}

message SubscribeStartVideoRequest {}
message StartVideoResponse {
int32 stream_id = 1; // video stream id
}

message SubscribeStopVideoRequest {}
message StopVideoResponse {
int32 stream_id = 1; // video stream id
}

// Possible results when taking a photo.
enum TakePhotoFeedback {
TAKE_PHOTO_FEEDBACK_UNKNOWN = 0; // Unknown
Expand Down

0 comments on commit 0d77229

Please sign in to comment.