18 #ifndef _WIRELESS_TRANSMITTER_HH_
19 #define _WIRELESS_TRANSMITTER_HH_
22 #include "gazebo/physics/physics.hh"
57 protected:
virtual bool UpdateImpl(
bool _force);
60 public:
virtual void Load(
const std::string &_worldName);
63 public:
virtual void Init();
67 public: std::string GetESSID()
const;
71 public:
double GetFreq()
const;
75 public:
double GetSignalStrength(
const math::Pose &_receiver,
79 private:
static const double Step;
83 private:
static const double MaxRadius;
86 private: std::string essid;
96 private:
bool visualize;
Sensor class for receiving wireless signals.
Definition: WirelessTransceiver.hh:36
Encapsulates a position and rotation in three space.
Definition: Pose.hh:40
Forward declarations for transport.
Transmitter to send wireless signals.
Definition: WirelessTransmitter.hh:36
double freq
Reception frequency (MHz).
Definition: WirelessTransmitter.hh:89
static const double ModelStdDesv
Std desv of the Gaussian random variable used in the propagation model.
Definition: WirelessTransmitter.hh:48
static const double NEmpty
Constant used in the propagation model when there are no obstacles between transmitter and receiver...
Definition: WirelessTransmitter.hh:40
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
boost::shared_ptr< RayShape > RayShapePtr
Definition: PhysicsTypes.hh:114
static const double NObstacle
Constant used in the propagation model when there are obstacles between transmitter and receiver...
Definition: WirelessTransmitter.hh:44