Easy Navigation
Loading...
Searching...
No Matches
PointPerception Class Reference

Concrete perception class for 3D point cloud data. More...

#include <PointPerception.hpp>

Inheritance diagram for PointPerception:
Collaboration diagram for PointPerception:

Public Member Functions

void resize (std::size_t size)
 Resize the internal point cloud to a fixed number of points.
 
- Public Member Functions inherited from PerceptionBase
virtual ~PerceptionBase ()=default
 

Public Attributes

pcl::PointCloud< pcl::PointXYZ > data
 The 3D point cloud data associated with this perception.
 
- Public Attributes inherited from PerceptionBase
std::string frame_id
 Coordinate frame associated with the perception.
 
bool new_data = false
 Whether the data has changed since the last observation.
 
rclcpp::Time stamp
 Timestamp of the perception (ROS time).
 
bool valid = false
 Whether the perception contains valid data.
 

Detailed Description

Concrete perception class for 3D point cloud data.

This class stores a point cloud of type pcl::PointCloud<pcl::PointXYZ> and provides utilities such as preallocation.

Member Function Documentation

◆ resize()

void resize ( std::size_t size)

Resize the internal point cloud to a fixed number of points.

Parameters
sizeNumber of points to allocate.

Member Data Documentation

◆ data

pcl::PointCloud<pcl::PointXYZ> data

The 3D point cloud data associated with this perception.


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