From 5524f43c336552dfcfeb645174c96741ae986241 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Mon, 29 Jul 2024 19:51:34 +1200 Subject: [PATCH] telemetry: remove camera attitude (#350) This was always confusing. The data should instead be queried from the gimbal plugin. --- protos/telemetry/telemetry.proto | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/protos/telemetry/telemetry.proto b/protos/telemetry/telemetry.proto index 767f781c..59cc1789 100644 --- a/protos/telemetry/telemetry.proto +++ b/protos/telemetry/telemetry.proto @@ -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. @@ -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. @@ -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) @@ -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) }