Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
cone_validator.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <numeric>
4
#include <
utils/cluster.hpp
>
5
#include <
utils/lidar_point.hpp
>
6
#include <
utils/plane.hpp
>
7
8
#include "sensor_msgs/msg/point_cloud2.hpp"
9
16
class
ConeValidator
{
17
public
:
24
virtual
std::vector<double>
coneValidator
(
Cluster
* cone_point_cloud,
Plane
& plane)
const
= 0;
25
};
Cluster
Represents a cluster of 3D points using PCL (Point Cloud Library).
Definition
cluster.hpp:14
ConeValidator
Abstract class responsible for validating clusters as cones.
Definition
cone_validator.hpp:16
ConeValidator::coneValidator
virtual std::vector< double > coneValidator(Cluster *cone_point_cloud, Plane &plane) const =0
Validate a Cluster as a cone.
Plane
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition
plane.hpp:12
cluster.hpp
lidar_point.hpp
plane.hpp
src
perception
include
cone_validator
cone_validator.hpp
Generated by
1.9.8