Public Member Functions | |
void | laserCallback (const sensor_msgs::LaserScan::ConstPtr &scan) |
bool | mapCallback (nav_msgs::GetMap::Request &req, nav_msgs::GetMap::Response &res) |
SlamKarto () | |
~SlamKarto () | |
Private Member Functions | |
bool | addScan (karto::LaserRangeFinder *laser, const sensor_msgs::LaserScan::ConstPtr &scan, karto::Pose2 &karto_pose) |
karto::LaserRangeFinder * | getLaser (const sensor_msgs::LaserScan::ConstPtr &scan) |
bool | getOdomPose (karto::Pose2 &karto_pose, const ros::Time &t) |
void | publishGraphVisualization () |
void | publishLoop (double transform_publish_period) |
void | publishTransform () |
bool | updateMap () |
Private Attributes | |
std::string | base_frame_ |
karto::Dataset * | dataset_ |
bool | got_map_ |
bool | inverted_laser_ |
int | laser_count_ |
std::map< std::string, karto::LaserRangeFinder * > | lasers_ |
std::map< std::string, bool > | lasers_inverted_ |
nav_msgs::GetMap::Response | map_ |
std::string | map_frame_ |
boost::mutex | map_mutex_ |
tf::Transform | map_to_odom_ |
boost::mutex | map_to_odom_mutex_ |
ros::Duration | map_update_interval_ |
karto::Mapper * | mapper_ |
unsigned | marker_count_ |
ros::Publisher | marker_publisher_ |
ros::NodeHandle | node_ |
std::string | odom_frame_ |
double | resolution_ |
tf::MessageFilter< sensor_msgs::LaserScan > * | scan_filter_ |
message_filters::Subscriber< sensor_msgs::LaserScan > * | scan_filter_sub_ |
SpaSolver * | solver_ |
ros::ServiceServer | ss_ |
ros::Publisher | sst_ |
ros::Publisher | sstm_ |
tf::TransformListener | tf_ |
tf::TransformBroadcaster * | tfB_ |
int | throttle_scans_ |
boost::thread * | transform_thread_ |
Definition at line 52 of file slam_karto.cpp.
SlamKarto::SlamKarto | ( | ) |
Definition at line 113 of file slam_karto.cpp.
SlamKarto::~SlamKarto | ( | ) |
Definition at line 287 of file slam_karto.cpp.
|
private |
Definition at line 637 of file slam_karto.cpp.
|
private |
Definition at line 331 of file slam_karto.cpp.
|
private |
Definition at line 413 of file slam_karto.cpp.
void SlamKarto::laserCallback | ( | const sensor_msgs::LaserScan::ConstPtr & | scan | ) |
Definition at line 519 of file slam_karto.cpp.
bool SlamKarto::mapCallback | ( | nav_msgs::GetMap::Request & | req, |
nav_msgs::GetMap::Response & | res | ||
) |
Definition at line 707 of file slam_karto.cpp.
|
private |
Definition at line 438 of file slam_karto.cpp.
|
private |
Definition at line 309 of file slam_karto.cpp.
|
private |
Definition at line 323 of file slam_karto.cpp.
|
private |
Definition at line 561 of file slam_karto.cpp.
|
private |
Definition at line 90 of file slam_karto.cpp.
|
private |
Definition at line 99 of file slam_karto.cpp.
|
private |
Definition at line 105 of file slam_karto.cpp.
|
private |
Definition at line 110 of file slam_karto.cpp.
|
private |
Definition at line 106 of file slam_karto.cpp.
|
private |
Definition at line 101 of file slam_karto.cpp.
|
private |
Definition at line 102 of file slam_karto.cpp.
|
private |
Definition at line 85 of file slam_karto.cpp.
|
private |
Definition at line 89 of file slam_karto.cpp.
|
private |
Definition at line 94 of file slam_karto.cpp.
|
private |
Definition at line 108 of file slam_karto.cpp.
|
private |
Definition at line 95 of file slam_karto.cpp.
|
private |
Definition at line 92 of file slam_karto.cpp.
|
private |
Definition at line 98 of file slam_karto.cpp.
|
private |
Definition at line 109 of file slam_karto.cpp.
|
private |
Definition at line 80 of file slam_karto.cpp.
|
private |
Definition at line 74 of file slam_karto.cpp.
|
private |
Definition at line 88 of file slam_karto.cpp.
|
private |
Definition at line 93 of file slam_karto.cpp.
|
private |
Definition at line 78 of file slam_karto.cpp.
|
private |
Definition at line 77 of file slam_karto.cpp.
|
private |
Definition at line 100 of file slam_karto.cpp.
|
private |
Definition at line 82 of file slam_karto.cpp.
|
private |
Definition at line 79 of file slam_karto.cpp.
|
private |
Definition at line 81 of file slam_karto.cpp.
|
private |
Definition at line 75 of file slam_karto.cpp.
|
private |
Definition at line 76 of file slam_karto.cpp.
|
private |
Definition at line 91 of file slam_karto.cpp.
|
private |
Definition at line 107 of file slam_karto.cpp.