Easy Navigation
|
Concrete perception class for 3D point cloud data. More...
#include <PointPerception.hpp>
Public Member Functions | |
void | resize (std::size_t size) |
Resize the internal point cloud to a fixed number of points. | |
![]() | |
virtual | ~PerceptionBase ()=default |
Public Attributes | |
pcl::PointCloud< pcl::PointXYZ > | data |
The 3D point cloud data associated with this perception. | |
![]() | |
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. | |
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.
void resize | ( | std::size_t | size | ) |
Resize the internal point cloud to a fixed number of points.
size | Number of points to allocate. |
pcl::PointCloud<pcl::PointXYZ> data |
The 3D point cloud data associated with this perception.