A class that provides laser implementation. Inherits publicly Sensor. More...
#include <laser.h>
Public Member Functions | |
Laser (const nav_msgs::OccupancyGrid &map, const stdr_msgs::LaserSensorMsg &msg, const std::string &name, ros::NodeHandle &n) | |
Default constructor. | |
virtual void | updateSensorCallback () |
Updates the sensor measurements. | |
~Laser () | |
Default destructor. | |
Private Attributes | |
stdr_msgs::LaserSensorMsg | _description |
< Laser sensor description |
A class that provides laser implementation. Inherits publicly Sensor.
stdr_robot::Laser::Laser | ( | const nav_msgs::OccupancyGrid & | map, |
const stdr_msgs::LaserSensorMsg & | msg, | ||
const std::string & | name, | ||
ros::NodeHandle & | n | ||
) |
Default constructor.
map | [const nav_msgs::OccupancyGrid&] An occupancy grid map |
msg | [const stdr_msgs::LaserSensorMsg&] The laser description message |
name | [const std::string&] The sensor frame id without the base |
n | [ros::NodeHandle&] The ROS node handle |
stdr_robot::Laser::~Laser | ( | ) | [inline] |
void stdr_robot::Laser::updateSensorCallback | ( | void | ) | [virtual] |
stdr_msgs::LaserSensorMsg stdr_robot::Laser::_description [private] |