17 #ifndef _GAZEBO_SENSORS_SONARSENSOR_HH_    18 #define _GAZEBO_SENSORS_SONARSENSOR_HH_    33     class SonarSensorPrivate;
    51       public: 
virtual void Load(
const std::string &_worldName);
    54       public: 
virtual void Init();
    57       public: 
virtual std::string Topic() 
const;
    66       public: 
double RangeMin() 
const;
    75       public: 
double RangeMax() 
const;
    84       public: 
double Radius() 
const;
   105       public: 
double Range();
   109       public: 
virtual bool IsActive() 
const;
   115                   std::function<
void (msgs::SonarStamped)> _subscriber);
   122       protected: 
virtual bool UpdateImpl(
const bool _force);
   125       protected: 
virtual void Fini();
   128       private: 
void OnContacts(ConstContactsPtr &_msg);
   132       private: std::unique_ptr<SonarSensorPrivate> dataPtr;
 Forward declarations for the common classes. 
Definition: Animation.hh:33
 
Sensor with sonar cone. 
Definition: SonarSensor.hh:42
 
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:48
 
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
 
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message. 
 
Base class for sensors. 
Definition: Sensor.hh:50
 
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system.hh:59