Gazebo Sim

API Reference

9.0.0~pre1
Sensor.hh File Reference
#include <string>
#include <gz/sim/components/Factory.hh>
#include <gz/sim/components/Component.hh>
#include <gz/sim/components/Serialization.hh>
#include <gz/sim/config.hh>

Go to the source code of this file.

Namespaces

namespace  gz
 This library is part of the Gazebo project.
 
namespace  gz::sim
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 
namespace  gz::sim::components
 Components represent data, such as position information. An Entity usually has one or more associated components.
 

Typedefs

using Sensor = Component< NoData, class SensorTag >
 A component that identifies an entity as being a sensor.
 

Functions

 GZ_SIM_REGISTER_COMPONENT ("gz_sim_components.Sensor", Sensor) using SensorTopic
 Name of the transport topic where a sensor is publishing its data. For sensors that publish on more than one topic, this will usually be the prefix common to all topics of that sensor.