Skip to content

Anemometer Sensor

Rhys Mainwaring edited this page Feb 13, 2019 · 1 revision

A Gazebo anemometer sensor to measure wind speed and direction.

Usage

Add the SDF for the sensor to a <link> element of your model.

<sensor name="anemometer_sensor" type="anemometer">
  <always_on>true</always_on>
  <update_rate>50</update_rate>
  <topic>anemometer</topic>
</sensor>

Published Topics

  1. ~/anemometer (gazebo::msgs::Param_V)
  • time (gazebo::msgs::Time)
    The simulation time of the observation.

  • true_wind (gazebo::msgs::Vector3d)
    The true wind at the link origin.

  • apparent_wind (gazebo::msgs::Vector3d)
    The apparent wind at the link origin (i.e. true wind adjusted for the link velocity).

Parameters

  1. <always_on> (bool, default: false)
    Standard <sensor> parameter. See SDF documentation for details.

  2. <update_rate> (double, default: 0)
    Standard <sensor> parameter. See SDF documentation for details.

  3. <topic> (string, default: ~/anemometer)
    Standard <sensor> parameter. See SDF documentation for details.

Clone this wiki locally