Sick LMS 200 lase controller. More...
#include <gazebo_ros_ir.h>
Public Member Functions | |
GazeboRosIr (Entity *parent) | |
Constructor. | |
virtual | ~GazeboRosIr () |
Destructor. | |
Protected Member Functions | |
virtual void | FiniChild () |
Finalize the controller. | |
virtual void | InitChild () |
Init the controller. | |
virtual void | LoadChild (XMLConfigNode *node) |
Load the controller. | |
virtual void | UpdateChild () |
Update the controller. | |
Private Member Functions | |
void | DeprecatedIrConnect () |
void | DeprecatedIrDisconnect () |
double | GaussianKernel (double mu, double sigma) |
Gaussian noise generator. | |
void | IrConnect () |
void | IrDisconnect () |
void | IrQueueThread () |
void | PutIRData () |
Put IR data to the iface. | |
Private Attributes | |
boost::thread | callback_queue_thread_ |
ros::Publisher | deprecated_pub_ |
int | deprecatedIrConnectCount |
std::string | deprecatedTopicName |
ParamT< std::string > * | deprecatedTopicNameP |
double | fov |
ParamT< double > * | fovP |
Max Range. | |
std::string | frameName |
ParamT< std::string > * | frameNameP |
frame transform name, should match link name | |
double | gaussianNoise |
ParamT< double > * | gaussianNoiseP |
Gaussian noise. | |
ros::CallbackQueue | ir_queue_ |
int | irConnectCount |
Keep track of number of connctions. | |
libgazebo::IRIface * | irIface |
sensor_msgs::Range | irMsg |
ros message | |
boost::mutex | lock |
A mutex to lock access to fields that are used in message callbacks. | |
double | maxRange |
ParamT< double > * | maxRangeP |
Max Range. | |
double | minRange |
ParamT< double > * | minRangeP |
Min Range. | |
IRSensor * | myParent |
The parent sensor. | |
ros::Publisher | pub_ |
std::string | radiation |
ParamT< std::string > * | radiationP |
std::string | robotNamespace |
ParamT< std::string > * | robotNamespaceP |
for setting ROS name space | |
ros::NodeHandle * | rosnode_ |
pointer to ros node | |
std::string | topicName |
ParamT< std::string > * | topicNameP |
topic name |
Sick LMS 200 lase controller.
This is a controller that simulates a ir array
Definition at line 85 of file gazebo_ros_ir.h.
gazebo::GazeboRosIr::GazeboRosIr | ( | Entity * | parent | ) |
Constructor.
parent | The parent entity, must be a Model or a Sensor |
Definition at line 51 of file gazebo_ros_ir.cpp.
gazebo::GazeboRosIr::~GazeboRosIr | ( | ) | [virtual] |
Destructor.
Definition at line 76 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::DeprecatedIrConnect | ( | ) | [private] |
Definition at line 190 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::DeprecatedIrDisconnect | ( | ) | [private] |
Definition at line 198 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::FiniChild | ( | ) | [protected, virtual] |
double gazebo::GazeboRosIr::GaussianKernel | ( | double | mu, |
double | sigma | ||
) | [private] |
Gaussian noise generator.
Definition at line 219 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::InitChild | ( | ) | [protected, virtual] |
void gazebo::GazeboRosIr::IrConnect | ( | ) | [private] |
Definition at line 173 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::IrDisconnect | ( | ) | [private] |
Definition at line 180 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::IrQueueThread | ( | ) | [private] |
void gazebo::GazeboRosIr::LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual] |
Load the controller.
node | XML config node |
Definition at line 91 of file gazebo_ros_ir.cpp.
void gazebo::GazeboRosIr::PutIRData | ( | ) | [private] |
Put IR data to the iface.
Definition at line 268 of file gazebo_ros_ir.cpp.
virtual void gazebo::GazeboRosIr::UpdateChild | ( | ) | [protected, virtual] |
Update the controller.
boost::thread gazebo::GazeboRosIr::callback_queue_thread_ [private] |
Definition at line 175 of file gazebo_ros_ir.h.
Definition at line 128 of file gazebo_ros_ir.h.
int gazebo::GazeboRosIr::deprecatedIrConnectCount [private] |
Definition at line 118 of file gazebo_ros_ir.h.
std::string gazebo::GazeboRosIr::deprecatedTopicName [private] |
Definition at line 137 of file gazebo_ros_ir.h.
ParamT<std::string>* gazebo::GazeboRosIr::deprecatedTopicNameP [private] |
Definition at line 136 of file gazebo_ros_ir.h.
double gazebo::GazeboRosIr::fov [private] |
Definition at line 160 of file gazebo_ros_ir.h.
ParamT<double>* gazebo::GazeboRosIr::fovP [private] |
Max Range.
Definition at line 159 of file gazebo_ros_ir.h.
std::string gazebo::GazeboRosIr::frameName [private] |
Definition at line 141 of file gazebo_ros_ir.h.
ParamT<std::string>* gazebo::GazeboRosIr::frameNameP [private] |
frame transform name, should match link name
Definition at line 140 of file gazebo_ros_ir.h.
double gazebo::GazeboRosIr::gaussianNoise [private] |
Definition at line 145 of file gazebo_ros_ir.h.
ParamT<double>* gazebo::GazeboRosIr::gaussianNoiseP [private] |
Gaussian noise.
Definition at line 144 of file gazebo_ros_ir.h.
Definition at line 173 of file gazebo_ros_ir.h.
int gazebo::GazeboRosIr::irConnectCount [private] |
Keep track of number of connctions.
Definition at line 115 of file gazebo_ros_ir.h.
libgazebo::IRIface* gazebo::GazeboRosIr::irIface [private] |
Definition at line 169 of file gazebo_ros_ir.h.
sensor_msgs::Range gazebo::GazeboRosIr::irMsg [private] |
ros message
Definition at line 131 of file gazebo_ros_ir.h.
boost::mutex gazebo::GazeboRosIr::lock [private] |
A mutex to lock access to fields that are used in message callbacks.
Definition at line 163 of file gazebo_ros_ir.h.
double gazebo::GazeboRosIr::maxRange [private] |
Definition at line 154 of file gazebo_ros_ir.h.
ParamT<double>* gazebo::GazeboRosIr::maxRangeP [private] |
Max Range.
Definition at line 153 of file gazebo_ros_ir.h.
double gazebo::GazeboRosIr::minRange [private] |
Definition at line 157 of file gazebo_ros_ir.h.
ParamT<double>* gazebo::GazeboRosIr::minRangeP [private] |
Min Range.
Definition at line 156 of file gazebo_ros_ir.h.
IRSensor* gazebo::GazeboRosIr::myParent [private] |
The parent sensor.
Definition at line 123 of file gazebo_ros_ir.h.
ros::Publisher gazebo::GazeboRosIr::pub_ [private] |
Definition at line 127 of file gazebo_ros_ir.h.
std::string gazebo::GazeboRosIr::radiation [private] |
Definition at line 147 of file gazebo_ros_ir.h.
ParamT<std::string>* gazebo::GazeboRosIr::radiationP [private] |
Definition at line 146 of file gazebo_ros_ir.h.
std::string gazebo::GazeboRosIr::robotNamespace [private] |
Definition at line 167 of file gazebo_ros_ir.h.
ParamT<std::string>* gazebo::GazeboRosIr::robotNamespaceP [private] |
for setting ROS name space
Definition at line 166 of file gazebo_ros_ir.h.
ros::NodeHandle* gazebo::GazeboRosIr::rosnode_ [private] |
pointer to ros node
Definition at line 126 of file gazebo_ros_ir.h.
std::string gazebo::GazeboRosIr::topicName [private] |
Definition at line 135 of file gazebo_ros_ir.h.
ParamT<std::string>* gazebo::GazeboRosIr::topicNameP [private] |
topic name
Definition at line 134 of file gazebo_ros_ir.h.