From bbb1ba3525ab6fe36ba1a1435d192ae55c449bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 22 May 2024 11:47:53 -0300 Subject: [PATCH] omniscan450: Fix template style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/definitions/omniscan450.json | 40 ++++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/definitions/omniscan450.json b/src/definitions/omniscan450.json index ae6fca6a..06b80b82 100644 --- a/src/definitions/omniscan450.json +++ b/src/definitions/omniscan450.json @@ -1,6 +1,18 @@ { "messages": { - "control": { + "control": { + "set_speed_of_sound": { + "id": 1002, + "description": "Set the speed of sound.", + "payload": [ + { + "name": "speed_of_sound", + "type": "u32", + "description": "The speed of sound in the measurement medium. ~1,500,000 mm/s for water.", + "units": "mm/s" + } + ] + }, "os_ping_params": { "id": 2197, "payload": [ @@ -27,7 +39,7 @@ { "name": "pulse_len_percent", "type": "float" - } , + }, { "name": "filter_duration_percent", "type": "float" @@ -43,26 +55,14 @@ { "name": "enable", "type": "u8" - } , + }, { "name": "reserved", "type": "u8" - } - ] - }, - "set_speed_of_sound": { - "id": 1002, - "description": "Set the speed of sound.", - "payload": [ - { - "name": "speed_of_sound", - "type": "u32", - "description": "The speed of sound in the measurement medium. ~1,500,000 mm/s for water.", - "units": "mm/s" } ] } - }, + }, "get": { "os_mono_profile": { "id": 2198, @@ -90,13 +90,13 @@ "type": "u32", "description": "msec since power up at time of ping", "units": "ms" - }, + }, { "name": "ping_hz", "type": "u32", "description": "Frequency of acoustic signal", "units": "hz" - }, + }, { "name": "gain_index", "type": "u16", @@ -139,11 +139,11 @@ { "name": "transducer_heading_deg", "type": "float" - }, + }, { "name": "vehicle_heading_deg", "type": "float" - }, + }, { "name": "pwr_results", "type": "vector",