Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
clustering.hpp
Go to the documentation of this file.
1#pragma once
2#include <vector>
3
4#include "sensor_msgs/msg/point_cloud2.hpp"
5#include "utils/cluster.hpp"
7
15public:
25 virtual void clustering(const sensor_msgs::msg::PointCloud2::SharedPtr& point_cloud,
26 std::vector<Cluster>* clusters) const = 0;
27};
Abstract base class for clustering point clouds.
virtual void clustering(const sensor_msgs::msg::PointCloud2::SharedPtr &point_cloud, std::vector< Cluster > *clusters) const =0
Clusters the input point cloud into groups.