Public Member Functions | Private Member Functions | Private Attributes
PoseScanMatcherObserver Class Reference

Derived class from GridScanMatcherObserver to publish the robot pose. More...

Inheritance diagram for PoseScanMatcherObserver:
Inheritance graph
[legend]

List of all members.

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

Private Member Functions

void publish_transform (const std::string &frame_id, std::string frame_odom, const RobotState &p)

Private Attributes

std::string _frame_odom

Detailed Description

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.


Member Function Documentation

virtual void PoseScanMatcherObserver::on_pose_update ( const RobotState pose,
const TransformedLaserScan scan,
double  score 
) [inline, override, virtual]

Publishes the best found robot pose.

Parameters:
[in]pose- the robot location in the space.

Reimplemented from GridScanMatcherObserver.

Definition at line 51 of file tiny_slam.cpp.

virtual void PoseScanMatcherObserver::on_scan_test ( const RobotState pose,
const TransformedLaserScan scan,
double  score 
) [inline, override, virtual]

Publishes the robot pose tested by the scan matcher at the moment.

Parameters:
[in]pose- the robot location in the space.

Reimplemented from GridScanMatcherObserver.

Definition at line 42 of file tiny_slam.cpp.

void PoseScanMatcherObserver::publish_transform ( const std::string &  frame_id,
std::string  frame_odom,
const RobotState p 
) [inline, private]

Definition at line 57 of file tiny_slam.cpp.


Member Data Documentation

std::string PoseScanMatcherObserver::_frame_odom [private]

Definition at line 61 of file tiny_slam.cpp.


The documentation for this class was generated from the following file:


tiny_slam
Author(s):
autogenerated on Thu Jun 6 2019 17:44:58