Public Member Functions | Private Member Functions | Private Attributes | List of all members
laser_utils::LaserAssistant Class Reference

#include <laser_utils.hpp>

Public Member Functions

 LaserAssistant (ros::NodeHandle &nh, tf2_ros::Buffer *tf, const std::string &base_frame)
 
LaserMetadata toLaserMetadata (sensor_msgs::LaserScan scan)
 
 ~LaserAssistant ()
 

Private Member Functions

bool isInverted (double &mountingYaw)
 
karto::LaserRangeFindermakeLaser (const double &mountingYaw)
 

Private Attributes

std::string base_frame_
 
std::string frame_
 
geometry_msgs::TransformStamped laser_pose_
 
ros::NodeHandle nh_
 
sensor_msgs::LaserScan scan_
 
tf2_ros::Buffertf_
 

Detailed Description

Definition at line 72 of file laser_utils.hpp.

Constructor & Destructor Documentation

◆ LaserAssistant()

laser_utils::LaserAssistant::LaserAssistant ( ros::NodeHandle nh,
tf2_ros::Buffer tf,
const std::string &  base_frame 
)

Definition at line 71 of file laser_utils.cpp.

◆ ~LaserAssistant()

laser_utils::LaserAssistant::~LaserAssistant ( )

Definition at line 77 of file laser_utils.cpp.

Member Function Documentation

◆ isInverted()

bool laser_utils::LaserAssistant::isInverted ( double &  mountingYaw)
private

Definition at line 133 of file laser_utils.cpp.

◆ makeLaser()

karto::LaserRangeFinder * laser_utils::LaserAssistant::makeLaser ( const double &  mountingYaw)
private

Definition at line 93 of file laser_utils.cpp.

◆ toLaserMetadata()

LaserMetadata laser_utils::LaserAssistant::toLaserMetadata ( sensor_msgs::LaserScan  scan)

Definition at line 81 of file laser_utils.cpp.

Member Data Documentation

◆ base_frame_

std::string laser_utils::LaserAssistant::base_frame_
private

Definition at line 86 of file laser_utils.hpp.

◆ frame_

std::string laser_utils::LaserAssistant::frame_
private

Definition at line 86 of file laser_utils.hpp.

◆ laser_pose_

geometry_msgs::TransformStamped laser_utils::LaserAssistant::laser_pose_
private

Definition at line 87 of file laser_utils.hpp.

◆ nh_

ros::NodeHandle laser_utils::LaserAssistant::nh_
private

Definition at line 83 of file laser_utils.hpp.

◆ scan_

sensor_msgs::LaserScan laser_utils::LaserAssistant::scan_
private

Definition at line 85 of file laser_utils.hpp.

◆ tf_

tf2_ros::Buffer* laser_utils::LaserAssistant::tf_
private

Definition at line 84 of file laser_utils.hpp.


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


slam_toolbox
Author(s): Steve Macenski
autogenerated on Thu Jan 11 2024 03:37:56