From dbdbb232c59d70719a8defbc08e8f4c4c1c393ec Mon Sep 17 00:00:00 2001 From: henrykotze Date: Fri, 24 Nov 2023 12:45:02 +0200 Subject: [PATCH] Added sensible contents for message --- proto/gz/msgs/air_flow_sensor.proto | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/proto/gz/msgs/air_flow_sensor.proto b/proto/gz/msgs/air_flow_sensor.proto index ce0f4e83..23728983 100644 --- a/proto/gz/msgs/air_flow_sensor.proto +++ b/proto/gz/msgs/air_flow_sensor.proto @@ -18,27 +18,30 @@ syntax = "proto3"; package gz.msgs; option java_package = "com.gz.msgs"; -option java_outer_classname = "AirSpeedSensorProtos"; +option java_outer_classname = "AirFlowSensorProtos"; /// \ingroup gz.msgs -/// \interface AirSpeedSensor -/// \brief Definition of an air speed sensor +/// \interface AirFlowSensor +/// \brief Definition of an airflow sensor import "gz/msgs/header.proto"; import "gz/msgs/sensor_noise.proto"; -/// \brief Message that describes an air speed sensor. -message AirSpeedSensor +/// \brief Message that describes an airflow sensor. +message AirFlowSensor { /// \brief header data Header header = 1; - /// \brief Differential pressure (hPa). - double diff_pressure = 2; + /// \brief airflow speed Mag in the xy plane (m/s). + double xy_speed = 2; - /// \brief Temperature (kelvin). - double temperature = 3; + /// \brief airflow direction in xy plane (rad). + double xy_direction = 3; /// \brief Sensor speed noise. - SensorNoise pressure_noise = 4; + SensorNoise speed_noise = 4; + + /// \brief Sensor direction noise. + SensorNoise direction_noise = 5; }