Class PointCloudHandler
Defined in File point_cloud_handler.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public live_telemetry::TopicHandler(Class TopicHandler)
Class Documentation
-
class PointCloudHandler : public live_telemetry::TopicHandler
Specialized handler for PointCloud2 topics (e.g. raw LiDAR)
Processing pipeline:
Temporal downsampling — skip N frames (reuses Downsampler<T>)
Radius crop — discard points beyond max_radius
Voxel grid filtering — PCL VoxelGrid to reduce spatial density
Field stripping — keep only xyz (+ optional intensity)
Protobuf conversion — pack as foxglove.PointCloud for native rendering
This prevents a single point-cloud panel in Foxglove from saturating the WebSocket link and starving other panels (camera, odometry, …).
Public Types
-
using PointCloud2Msg = sensor_msgs::msg::PointCloud2
Public Functions
-
PointCloudHandler(rclcpp::Node *node, const HandlerConfig &config, FoxgloveLogger *logger)
-
~PointCloudHandler() override
-
inline virtual std::string getName() const override
Get the handler name for logging and identification.
-
bool setDownsamplingRatio(int ratio)