From ddf1ee962db74edea27a6edb65d45351170a938f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Folles=C3=B8?= Date: Fri, 17 Jan 2025 14:01:41 +0100 Subject: [PATCH 1/2] Improve documentation for MotionInput --- protobuf_definitions/message_formats.proto | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index db93410f..5b9483ea 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -26,6 +26,11 @@ message BinlogRecord { // Used to indicate the desired motion in each direction. // Typically these values map to the left and right joystick for motion, // and the left and right trigger for the slow and boost modifiers. +// +// You can use the slow and boost modifiers to increase or decrease the speed +// of the motion, from the default baseline. + +// If you use both values at the same time they cancel each other out. message MotionInput { float surge = 1; // Forward (positive) and backwards (negative) movement. (-1..1) float sway = 2; // Right (positive) and left (negative) lateral movement (-1..1) @@ -33,8 +38,8 @@ message MotionInput { float roll = 7; // Roll left (negative) or right (positive). (-1..1) float pitch = 8; // Pitch down (negative) or up (positive). (-1..1) float yaw = 4; // Left (positive) and right (negative) movement (-1..1) - float slow = 5; // Multiplier used to reduce the speed of the motion (0..1) - float boost = 6; // Multiplier used to increase the speed of the motion (0..1) + float slow = 5; // Modifier used to reduce the speed of the motion (0..1) + float boost = 6; // Modifier used to increase the speed of the motion (0..1) } // Lights message used to represent the intensity of the main light or external lights. From 3aa6b08122e61be5c752c914f08f5247699ee7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Folles=C3=B8?= Date: Fri, 17 Jan 2025 14:01:50 +0100 Subject: [PATCH 2/2] Bump dotnet version and update packages --- Blueye.Protocol.Protobuf.csproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Blueye.Protocol.Protobuf.csproj b/Blueye.Protocol.Protobuf.csproj index 44a7564d..a0c4fe66 100644 --- a/Blueye.Protocol.Protobuf.csproj +++ b/Blueye.Protocol.Protobuf.csproj @@ -5,7 +5,7 @@ true 13.0 Blueye.Protocol.Protobuf - 4.6.0 + 4.7.0 Blueye Robotics AS True Library with dotnet representation of the ProtocolDefinition protobuf files. @@ -13,12 +13,12 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all