Skip to content

Commit

Permalink
telemetry: remove camera attitude (#350)
Browse files Browse the repository at this point in the history
This was always confusing. The data should instead be queried from the
gimbal plugin.
  • Loading branch information
julianoes authored Jul 29, 2024
1 parent 48f658d commit 5524f43
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions protos/telemetry/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ service TelemetryService {
rpc SubscribeAttitudeEuler(SubscribeAttitudeEulerRequest) returns(stream AttitudeEulerResponse) {}
// Subscribe to 'attitude' updates (angular velocity)
rpc SubscribeAttitudeAngularVelocityBody(SubscribeAttitudeAngularVelocityBodyRequest) returns(stream AttitudeAngularVelocityBodyResponse) {}
// Subscribe to 'camera attitude' updates (quaternion).
rpc SubscribeCameraAttitudeQuaternion(SubscribeCameraAttitudeQuaternionRequest) returns(stream CameraAttitudeQuaternionResponse) {}
// Subscribe to 'camera attitude' updates (Euler).
rpc SubscribeCameraAttitudeEuler(SubscribeCameraAttitudeEulerRequest) returns(stream CameraAttitudeEulerResponse) {}
// Subscribe to 'ground speed' updates (NED).
rpc SubscribeVelocityNed(SubscribeVelocityNedRequest) returns(stream VelocityNedResponse) {}
// Subscribe to 'GPS info' updates.
Expand Down Expand Up @@ -96,7 +92,6 @@ service TelemetryService {
// Set rate to 'attitude quaternion' updates.
rpc SetRateAttitudeEuler(SetRateAttitudeEulerRequest) returns(SetRateAttitudeEulerResponse) {}
// Set rate of camera attitude updates.
rpc SetRateCameraAttitude(SetRateCameraAttitudeRequest) returns(SetRateCameraAttitudeResponse) {}
// Set rate to 'ground speed' updates (NED).
rpc SetRateVelocityNed(SetRateVelocityNedRequest) returns(SetRateVelocityNedResponse) {}
// Set rate to 'GPS info' updates.
Expand Down Expand Up @@ -181,16 +176,6 @@ message AttitudeAngularVelocityBodyResponse {
AngularVelocityBody attitude_angular_velocity_body = 1; // The next angular velocity (rad/s)
}

message SubscribeCameraAttitudeQuaternionRequest {}
message CameraAttitudeQuaternionResponse {
Quaternion attitude_quaternion = 1; // The next camera attitude (quaternion)
}

message SubscribeCameraAttitudeEulerRequest {}
message CameraAttitudeEulerResponse {
EulerAngle attitude_euler = 1; // The next camera attitude (Euler)
}

message SubscribeVelocityNedRequest {}
message VelocityNedResponse {
VelocityNed velocity_ned = 1; // The next velocity (NED)
Expand Down Expand Up @@ -362,20 +347,6 @@ message SetRateAttitudeAngularVelocityBodyResponse {
TelemetryResult telemetry_result = 1;
}

message SetRateCameraAttitudeQuaternionRequest {
double rate_hz = 1; // The requested rate (in Hertz)
}
message SetRateCameraAttitudeQuaternionResponse {
TelemetryResult telemetry_result = 1;
}

message SetRateCameraAttitudeRequest {
double rate_hz = 1; // The requested rate (in Hertz)
}
message SetRateCameraAttitudeResponse {
TelemetryResult telemetry_result = 1;
}

message SetRateVelocityNedRequest {
double rate_hz = 1; // The requested rate (in Hertz)
}
Expand Down

0 comments on commit 5524f43

Please sign in to comment.