#include <jockey.h>
Public Member Functions | |
Jockey (std::string name, const double frontier_width, const double max_frontier_angle=0.785) | |
Private Member Functions | |
void | getData () |
void | handleLaser (const sensor_msgs::LaserScanConstPtr &msg) |
void | handleOdom (const nav_msgs::OdometryConstPtr &msg) |
void | handlePose (const geometry_msgs::PoseConstPtr &msg) |
void | initMapCrossingInterface () |
void | initMapLaserInterface () |
void | rotateScan () |
Private Attributes | |
double | heading_ |
Heading information read from Pose or Odometry. | |
ros::Time | heading_reception_time_ |
ros::Subscriber | odomHandler_ |
ros::Subscriber | poseHandler_ |
Static Private Attributes | |
static const ros::Duration | max_data_time_delta_ = ros::Duration(0.050) |
Max time interval between reception of scan_ and heading_. |
lj_laser_heading::Jockey::Jockey | ( | std::string | name, |
const double | frontier_width, | ||
const double | max_frontier_angle = 0.785 |
||
) |
Reimplemented from lj_laser::Jockey.
Definition at line 13 of file jockey.cpp.
void lj_laser_heading::Jockey::getData | ( | ) | [private] |
Reimplemented from lj_laser::Jockey.
Definition at line 21 of file jockey.cpp.
void lj_laser_heading::Jockey::handleLaser | ( | const sensor_msgs::LaserScanConstPtr & | msg | ) | [private] |
Reimplemented from lj_laser::Jockey.
Definition at line 58 of file jockey.cpp.
void lj_laser_heading::Jockey::handleOdom | ( | const nav_msgs::OdometryConstPtr & | msg | ) | [private] |
Definition at line 98 of file jockey.cpp.
void lj_laser_heading::Jockey::handlePose | ( | const geometry_msgs::PoseConstPtr & | msg | ) | [private] |
Definition at line 87 of file jockey.cpp.
void lj_laser_heading::Jockey::initMapCrossingInterface | ( | ) | [private] |
Reimplemented from lj_laser::Jockey.
void lj_laser_heading::Jockey::initMapLaserInterface | ( | ) | [private] |
Reimplemented from lj_laser::Jockey.
void lj_laser_heading::Jockey::rotateScan | ( | ) | [private] |
Definition at line 50 of file jockey.cpp.
double lj_laser_heading::Jockey::heading_ [private] |
const ros::Duration lj_laser_heading::Jockey::max_data_time_delta_ = ros::Duration(0.050) [static, private] |