Derived class from GridScanMatcherObserver to publish the robot pose. More...
Public Member Functions | |
virtual void | on_pose_update (const RobotState &pose, const TransformedLaserScan &scan, double score) override |
virtual void | on_scan_test (const RobotState &pose, const TransformedLaserScan &scan, double score) override |
Public Member Functions inherited from GridScanMatcherObserver | |
virtual void | on_matching_end (const RobotState &, double) |
virtual void | on_matching_start (const RobotState &, const TransformedLaserScan &, const GridMap &) |
Private Member Functions | |
void | publish_transform (const std::string &frame_id, std::string frame_odom, const RobotState &p) |
Private Attributes | |
std::string | _frame_odom |
Derived class from GridScanMatcherObserver to publish the robot pose.
This class provides functions to publish the robot pose in a ROS topic.
Definition at line 35 of file tiny_slam.cpp.
|
inlineoverridevirtual |
Publishes the best found robot pose.
[in] | pose | - the robot location in the space. |
Reimplemented from GridScanMatcherObserver.
Definition at line 51 of file tiny_slam.cpp.
|
inlineoverridevirtual |
Publishes the robot pose tested by the scan matcher at the moment.
[in] | pose | - the robot location in the space. |
Reimplemented from GridScanMatcherObserver.
Definition at line 42 of file tiny_slam.cpp.
|
inlineprivate |
Definition at line 57 of file tiny_slam.cpp.
|
private |
Definition at line 61 of file tiny_slam.cpp.