17 #ifndef _GAZEBO_SENSORS_SONARSENSOR_PRIVATE_HH_ 
   18 #define _GAZEBO_SENSORS_SONARSENSOR_PRIVATE_HH_ 
   22 #include <ignition/math/Pose3.hh> 
   37       typedef std::list<boost::shared_ptr<msgs::Contacts const> > ContactMsgs_L;
 
std::mutex mutex
Mutex used to protect reading/writing the sonar message. 
Definition: SonarSensorPrivate.hh:61
 
double rangeMin
Minimum range. 
Definition: SonarSensorPrivate.hh:70
 
ignition::math::Pose3d sonarMidPose
Pose of the sonar shape's midpoint. 
Definition: SonarSensorPrivate.hh:67
 
Definition: SonarSensorPrivate.hh:34
 
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
 
Forward declarations for transport. 
 
default namespace for gazebo 
 
physics::EntityPtr parentEntity
Parent entity of this sensor. 
Definition: SonarSensorPrivate.hh:49
 
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
 
double rangeMax
Maximum range. 
Definition: SonarSensorPrivate.hh:73
 
transport::SubscriberPtr contactSub
Subscription to contact messages from the physics engine. 
Definition: SonarSensorPrivate.hh:52
 
boost::shared_ptr< Entity > EntityPtr
Definition: PhysicsTypes.hh:80
 
int emptyContactCount
Counts the number of times there were no contacts. 
Definition: SonarSensorPrivate.hh:80
 
physics::MeshShapePtr sonarShape
Shape used to generate contact information. 
Definition: SonarSensorPrivate.hh:46
 
event::EventT< void(msgs::SonarStamped)> update
Update event. 
Definition: SonarSensorPrivate.hh:40
 
ContactMsgs_L incomingContacts
List of received contacts from the sonar collision shape. 
Definition: SonarSensorPrivate.hh:64
 
msgs::SonarStamped sonarMsg
Store current sonar info. 
Definition: SonarSensorPrivate.hh:58
 
physics::CollisionPtr sonarCollision
Collison object that holds the sonarShape. 
Definition: SonarSensorPrivate.hh:43
 
boost::shared_ptr< MeshShape > MeshShapePtr
Definition: PhysicsTypes.hh:176
 
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
 
transport::PublisherPtr sonarPub
Publishes the sonarMsg. 
Definition: SonarSensorPrivate.hh:55
 
double radius
Radius of the sonar cone at maximum range. 
Definition: SonarSensorPrivate.hh:76