#include <SonarSensorPrivate.hh>
Public Attributes | |
transport::SubscriberPtr | contactSub |
Subscription to contact messages from the physics engine. More... | |
int | emptyContactCount |
Counts the number of times there were no contacts. More... | |
ContactMsgs_L | incomingContacts |
List of received contacts from the sonar collision shape. More... | |
std::mutex | mutex |
Mutex used to protect reading/writing the sonar message. More... | |
physics::EntityPtr | parentEntity |
Parent entity of this sensor. More... | |
double | radius |
Radius of the sonar cone at maximum range. More... | |
double | rangeMax |
Maximum range. More... | |
double | rangeMin |
Minimum range. More... | |
physics::CollisionPtr | sonarCollision |
Collison object that holds the sonarShape. More... | |
ignition::math::Pose3d | sonarMidPose |
Pose of the sonar shape's midpoint. More... | |
msgs::SonarStamped | sonarMsg |
Store current sonar info. More... | |
transport::PublisherPtr | sonarPub |
Publishes the sonarMsg. More... | |
physics::MeshShapePtr | sonarShape |
Shape used to generate contact information. More... | |
event::EventT< void(msgs::SonarStamped)> | update |
Update event. More... | |
transport::SubscriberPtr gazebo::sensors::SonarSensorPrivate::contactSub |
Subscription to contact messages from the physics engine.
int gazebo::sensors::SonarSensorPrivate::emptyContactCount |
Counts the number of times there were no contacts.
This is used to reduce the range value jumping.
ContactMsgs_L gazebo::sensors::SonarSensorPrivate::incomingContacts |
List of received contacts from the sonar collision shape.
std::mutex gazebo::sensors::SonarSensorPrivate::mutex |
Mutex used to protect reading/writing the sonar message.
physics::EntityPtr gazebo::sensors::SonarSensorPrivate::parentEntity |
Parent entity of this sensor.
double gazebo::sensors::SonarSensorPrivate::radius |
Radius of the sonar cone at maximum range.
double gazebo::sensors::SonarSensorPrivate::rangeMax |
Maximum range.
double gazebo::sensors::SonarSensorPrivate::rangeMin |
Minimum range.
physics::CollisionPtr gazebo::sensors::SonarSensorPrivate::sonarCollision |
Collison object that holds the sonarShape.
ignition::math::Pose3d gazebo::sensors::SonarSensorPrivate::sonarMidPose |
Pose of the sonar shape's midpoint.
msgs::SonarStamped gazebo::sensors::SonarSensorPrivate::sonarMsg |
Store current sonar info.
transport::PublisherPtr gazebo::sensors::SonarSensorPrivate::sonarPub |
Publishes the sonarMsg.
physics::MeshShapePtr gazebo::sensors::SonarSensorPrivate::sonarShape |
Shape used to generate contact information.
event::EventT<void(msgs::SonarStamped)> gazebo::sensors::SonarSensorPrivate::update |
Update event.