diff --git a/include/gz/sensors/AirFlowSensor.hh b/include/gz/sensors/AirFlowSensor.hh index f3a5ec44..960de5e3 100644 --- a/include/gz/sensors/AirFlowSensor.hh +++ b/include/gz/sensors/AirFlowSensor.hh @@ -69,9 +69,11 @@ namespace gz public: gz::math::Vector3d Velocity() const; /// \brief Update the velocity of the sensor + /// \param[in] _vel The velocity of the sensor [m/s] public: void SetVelocity(const gz::math::Vector3d &_vel); - /// \brief Update the wind velocity in which the sensor is + /// \brief Update the wind velocity + /// \param[in] _vel The wind velocity [m/s] public: void SetWindVelocity(const gz::math::Vector3d &_vel); using Sensor::Update; diff --git a/src/AirFlowSensor.cc b/src/AirFlowSensor.cc index 04dea1d9..e68699a3 100644 --- a/src/AirFlowSensor.cc +++ b/src/AirFlowSensor.cc @@ -50,16 +50,7 @@ class gz::sensors::AirFlowSensorPrivate /// \brief true if Load() has been called and was successful public: bool initialized = false; - /// \brief Pressure in pascals. - public: double pressure = 0.0; - - /// \brief Resolution of: [deg] - public: double direction_resolution = 0.0; - - /// \brief Pressure in pascals. - public: double speed_resolution = 0.0; - - /// \brief Velocity of the air coming from the sensor + /// \brief Velocity of the sensor public: gz::math::Vector3d vel; /// \brief Velocity of the wind @@ -67,7 +58,7 @@ class gz::sensors::AirFlowSensorPrivate /// \brief Noise added to speed measurement public: std::map speed_noises; - + /// \brief Noise added to directional measurement public: std::map dir_noises; }; diff --git a/test/integration/air_flow.cc b/test/integration/air_flow.cc index c2ce0351..2dac6830 100644 --- a/test/integration/air_flow.cc +++ b/test/integration/air_flow.cc @@ -35,7 +35,7 @@ sdf::ElementPtr AirFlowToSdf(const std::string &_name, std::ostringstream stream; stream << "" - << "" + << "" << " " << " " << " " @@ -67,7 +67,7 @@ sdf::ElementPtr AirFlowToSdfWithNoise(const std::string &_name, std::ostringstream stream; stream << "" - << "" + << "" << " " << " " << " "