17 #ifndef _GAZEBO_WIRELESS_TRANSMITTER_HH_
18 #define _GAZEBO_WIRELESS_TRANSMITTER_HH_
21 #include "gazebo/physics/physics.hh"
56 protected:
virtual bool UpdateImpl(
bool _force);
59 public:
virtual void Load(
const std::string &_worldName);
62 public:
virtual void Init();
66 public: std::string GetESSID()
const;
70 public:
double GetFreq()
const;
78 public:
double GetSignalStrength(
const math::Pose &_receiver,
85 public:
double SignalStrength(
const ignition::math::Pose3d &_receiver,
86 const double _rxGain);
89 private:
static const double Step;
93 private:
static const double MaxRadius;
96 private: std::string essid;
106 private:
bool visualize;
Sensor class for receiving wireless signals.
Definition: WirelessTransceiver.hh:37
Encapsulates a position and rotation in three space.
Definition: Pose.hh:37
Forward declarations for transport.
Transmitter to send wireless signals.
Definition: WirelessTransmitter.hh:35
double freq
Reception frequency (MHz).
Definition: WirelessTransmitter.hh:99
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:47
static const double ModelStdDesv
Std desv of the Gaussian random variable used in the propagation model.
Definition: WirelessTransmitter.hh:47
static const double NEmpty
Constant used in the propagation model when there are no obstacles between transmitter and receiver...
Definition: WirelessTransmitter.hh:39
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:66
boost::shared_ptr< RayShape > RayShapePtr
Definition: PhysicsTypes.hh:120
static const double NObstacle
Constant used in the propagation model when there are obstacles between transmitter and receiver...
Definition: WirelessTransmitter.hh:43