From 2fd3f21eec6209584d2062499be0f8cab05ac4e5 Mon Sep 17 00:00:00 2001 From: Adrian Dummermuth Date: Mon, 22 Jan 2024 07:40:11 +0100 Subject: [PATCH] Changed order of angles to MAVLink order --- protos/gimbal/gimbal.proto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/protos/gimbal/gimbal.proto b/protos/gimbal/gimbal.proto index f7de8e13..b4374c63 100644 --- a/protos/gimbal/gimbal.proto +++ b/protos/gimbal/gimbal.proto @@ -9,9 +9,9 @@ option java_outer_classname = "GimbalProto"; service GimbalService { /* * - * Set gimbal pitch, yaw and roll angles. + * Set gimbal roll, pitch and yaw angles. * - * This sets the desired pitch, yaw and roll angles of a gimbal. + * This sets the desired roll, pitch and yaw angles of a gimbal. * Will return when the command is accepted, however, it might * take the gimbal longer to actually be set to the new angles. */ @@ -81,9 +81,9 @@ service GimbalService { } message SetAnglesRequest { - float pitch_deg = 1; // Pitch angle in degrees (negative points down) - float yaw_deg = 2; // Yaw angle in degrees (positive is clock-wise, range: -180 to 180 or 0 to 360) - float roll_deg = 3; // Roll angle in degrees + float roll_deg = 1; // Roll angle in degrees + float pitch_deg = 2; // Pitch angle in degrees (negative points down) + float yaw_deg = 3; // Yaw angle in degrees (positive is clock-wise, range: -180 to 180 or 0 to 360) } message SetAnglesResponse { GimbalResult gimbal_result = 1;