17 #ifndef _GAZEBO_SENSORS_WIRELESSTRANSCEIVER_HH_
18 #define _GAZEBO_SENSORS_WIRELESSTRANSCEIVER_HH_
21 #include <ignition/math/Pose3.hh>
46 public:
virtual std::string
Topic()
const;
49 public:
virtual void Load(
const std::string &_worldName);
52 public:
virtual void Init();
55 public:
virtual void Fini();
59 public:
double Gain()
const;
69 protected:
double power = 14.5;
72 protected:
double gain = 2.5;
default namespace for gazebo
sensors
Definition: SensorManager.hh:35
Forward declarations for transport.
Base class for sensors.
Definition: Sensor.hh:53
Sensor class for receiving wireless signals.
Definition: WirelessTransceiver.hh:38
~WirelessTransceiver()
Constructor.
virtual void Fini()
Finalize the sensor.
WirelessTransceiver()
Constructor.
virtual void Init()
Initialize the sensor.
ignition::math::Pose3d referencePose
Sensor reference pose.
Definition: WirelessTransceiver.hh:78
virtual void Load(const std::string &_worldName)
Load the sensor with default parameters.
virtual std::string Topic() const
Returns the topic name as set in SDF.
double Power() const
Returns the receiver power (dBm).
boost::weak_ptr< physics::Link > parentEntity
Parent entity which the sensor is attached to.
Definition: WirelessTransceiver.hh:75
double Gain() const
Returns the antenna's gain of the receiver (dBi).
transport::PublisherPtr pub
Publisher to publish propagation model data.
Definition: WirelessTransceiver.hh:66
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
Forward declarations for the common classes.
Definition: Animation.hh:27