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

#include <laser_utils.hpp>

Public Member Functions

void addScan (const sensor_msgs::LaserScan scan)
 
sensor_msgs::LaserScan getCorrectedScan (const int &id)
 
 ScanHolder (std::map< std::string, laser_utils::LaserMetadata > &lasers)
 
 ~ScanHolder ()
 

Private Attributes

std::unique_ptr< std::vector< sensor_msgs::LaserScan > > current_scans_
 
std::map< std::string, laser_utils::LaserMetadata > & lasers_
 

Detailed Description

Definition at line 91 of file laser_utils.hpp.

Constructor & Destructor Documentation

◆ ScanHolder()

laser_utils::ScanHolder::ScanHolder ( std::map< std::string, laser_utils::LaserMetadata > &  lasers)

Definition at line 164 of file laser_utils.cpp.

◆ ~ScanHolder()

laser_utils::ScanHolder::~ScanHolder ( )

Definition at line 170 of file laser_utils.cpp.

Member Function Documentation

◆ addScan()

void laser_utils::ScanHolder::addScan ( const sensor_msgs::LaserScan  scan)

Definition at line 186 of file laser_utils.cpp.

◆ getCorrectedScan()

sensor_msgs::LaserScan laser_utils::ScanHolder::getCorrectedScan ( const int &  id)

Definition at line 175 of file laser_utils.cpp.

Member Data Documentation

◆ current_scans_

std::unique_ptr<std::vector<sensor_msgs::LaserScan> > laser_utils::ScanHolder::current_scans_
private

Definition at line 100 of file laser_utils.hpp.

◆ lasers_

std::map<std::string, laser_utils::LaserMetadata>& laser_utils::ScanHolder::lasers_
private

Definition at line 101 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