Multi-robot Playground
LaserToWorldNode Class Reference

#include <LaserToWorldNode.h>

Public Member Functions

 LaserToWorldNode ()
 
 ~LaserToWorldNode ()
 

Private Member Functions

void EstimatePoseWorldCallback (multirobotsimulations::CustomPose::ConstPtr msg)
 
void OccupancyGridCallback (nav_msgs::OccupancyGrid::ConstPtr msg)
 
void LaserCapture (sensor_msgs::LaserScan::ConstPtr msg)
 
void Update ()
 

Private Attributes

int aQueueSize
 
bool aHasLidar
 
bool aHasPose
 
bool aHasOccInfo
 
double aRate
 
double aRobotYaw
 
double aLidarError
 
tf::Vector3 aRobotWorldPosition
 
tf::Vector3 aLidarPosition
 
tf::Quaternion aLidarOrientation
 
std::string aNamespace
 
std::vector< ros::Timer > aTimers
 
std::vector< ros::Subscriber > aSubscribers
 
ros::Publisher aLidarPublisher
 
ros::Publisher aOccLidarPublisher
 
geometry_msgs::PoseArray aWorldLidarMsg
 
geometry_msgs::PoseArray aOccLidarMsg
 
nav_msgs::OccupancyGrid aOccInfo
 
std::vector< geometry_msgs::Pose > aWorldReadings
 
std::vector< geometry_msgs::Pose > aOccReadings
 

Constructor & Destructor Documentation

◆ LaserToWorldNode()

LaserToWorldNode::LaserToWorldNode ( )

◆ ~LaserToWorldNode()

LaserToWorldNode::~LaserToWorldNode ( )

Member Function Documentation

◆ EstimatePoseWorldCallback()

void LaserToWorldNode::EstimatePoseWorldCallback ( multirobotsimulations::CustomPose::ConstPtr  msg)
private

◆ LaserCapture()

void LaserToWorldNode::LaserCapture ( sensor_msgs::LaserScan::ConstPtr  msg)
private

◆ OccupancyGridCallback()

void LaserToWorldNode::OccupancyGridCallback ( nav_msgs::OccupancyGrid::ConstPtr  msg)
private

◆ Update()

void LaserToWorldNode::Update ( )
private

Member Data Documentation

◆ aHasLidar

bool LaserToWorldNode::aHasLidar
private

◆ aHasOccInfo

bool LaserToWorldNode::aHasOccInfo
private

◆ aHasPose

bool LaserToWorldNode::aHasPose
private

◆ aLidarError

double LaserToWorldNode::aLidarError
private

◆ aLidarOrientation

tf::Quaternion LaserToWorldNode::aLidarOrientation
private

◆ aLidarPosition

tf::Vector3 LaserToWorldNode::aLidarPosition
private

◆ aLidarPublisher

ros::Publisher LaserToWorldNode::aLidarPublisher
private

◆ aNamespace

std::string LaserToWorldNode::aNamespace
private

◆ aOccInfo

nav_msgs::OccupancyGrid LaserToWorldNode::aOccInfo
private

◆ aOccLidarMsg

geometry_msgs::PoseArray LaserToWorldNode::aOccLidarMsg
private

◆ aOccLidarPublisher

ros::Publisher LaserToWorldNode::aOccLidarPublisher
private

◆ aOccReadings

std::vector<geometry_msgs::Pose> LaserToWorldNode::aOccReadings
private

◆ aQueueSize

int LaserToWorldNode::aQueueSize
private

◆ aRate

double LaserToWorldNode::aRate
private

◆ aRobotWorldPosition

tf::Vector3 LaserToWorldNode::aRobotWorldPosition
private

◆ aRobotYaw

double LaserToWorldNode::aRobotYaw
private

◆ aSubscribers

std::vector<ros::Subscriber> LaserToWorldNode::aSubscribers
private

◆ aTimers

std::vector<ros::Timer> LaserToWorldNode::aTimers
private

◆ aWorldLidarMsg

geometry_msgs::PoseArray LaserToWorldNode::aWorldLidarMsg
private

◆ aWorldReadings

std::vector<geometry_msgs::Pose> LaserToWorldNode::aWorldReadings
private

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