slam_toolbox_localization.hpp
Go to the documentation of this file.
1 /*
2  * slam_toolbox
3  * Copyright Work Modifications (c) 2019, Steve Macenski
4  *
5  * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
6  * COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
7  * COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
8  * AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
9  *
10  * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO
11  * BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS
12  * CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
13  * CONDITIONS.
14  *
15  */
16 
17 /* Author: Steven Macenski */
18 
19 #ifndef SLAM_TOOLBOX_SLAM_TOOLBOX_LOCALIZATION_H_
20 #define SLAM_TOOLBOX_SLAM_TOOLBOX_LOCALIZATION_H_
21 
23 
24 namespace slam_toolbox
25 {
26 
27 using namespace ::karto;
28 
30 {
31 public:
34 
35 protected:
36  virtual void laserCallback(
37  const sensor_msgs::LaserScan::ConstPtr& scan) override final;
39  const geometry_msgs::PoseWithCovarianceStampedConstPtr& msg);
40 
41  virtual bool serializePoseGraphCallback(
42  slam_toolbox_msgs::SerializePoseGraph::Request& req,
43  slam_toolbox_msgs::SerializePoseGraph::Response& resp) override final;
44  virtual bool deserializePoseGraphCallback(
45  slam_toolbox_msgs::DeserializePoseGraph::Request& req,
46  slam_toolbox_msgs::DeserializePoseGraph::Response& resp) override final;
47 
48  virtual LocalizedRangeScan* addScan(karto::LaserRangeFinder* laser,
49  const sensor_msgs::LaserScan::ConstPtr& scan,
50  karto::Pose2& karto_pose) override final;
51 
53 };
54 
55 }
56 
57 #endif //SLAM_TOOLBOX_SLAM_TOOLBOX_LOCALIZATION_H_
virtual bool deserializePoseGraphCallback(slam_toolbox_msgs::DeserializePoseGraph::Request &req, slam_toolbox_msgs::DeserializePoseGraph::Response &resp) override final
virtual bool serializePoseGraphCallback(slam_toolbox_msgs::SerializePoseGraph::Request &req, slam_toolbox_msgs::SerializePoseGraph::Response &resp) override final
virtual void laserCallback(const sensor_msgs::LaserScan::ConstPtr &scan) override final
void localizePoseCallback(const geometry_msgs::PoseWithCovarianceStampedConstPtr &msg)
virtual LocalizedRangeScan * addScan(karto::LaserRangeFinder *laser, const sensor_msgs::LaserScan::ConstPtr &scan, karto::Pose2 &karto_pose) override final
Definition: Karto.h:86


slam_toolbox
Author(s): Steve Macenski
autogenerated on Sat Oct 3 2020 03:51:01