Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
cylinder_validator.hpp
Go to the documentation of this file.
1#pragma once
2
4
14public:
24 double large_height, double out_distance_cap);
25
30 double small_getRadius() const;
31
36 double large_getRadius() const;
37
46 std::vector<double> coneValidator(Cluster* cone_point_cloud, Plane& plane) const override;
47
48private:
49 double small_width;
50 double small_height;
51 double large_width;
52 double large_height;
54};
Represents a cluster of 3D points using PCL (Point Cloud Library).
Definition cluster.hpp:14
Abstract class responsible for validating clusters as cones.
Validates clusters using a cylinder approximation.
std::vector< double > coneValidator(Cluster *cone_point_cloud, Plane &plane) const override
Validates a cluster using cylinder approximation.
double large_height
Height of the cylinder for a large cone.
double small_getRadius() const
Gets the radius of the cylinder for small cones.
double small_width
Width of the cylinder for a small cone.
double large_width
Width of the cylinder for a large cone.
double large_getRadius() const
Gets the radius of the cylinder for large cones.
double out_distance_cap
Minimum out_distance value for it to be 0.
double small_height
Height of the cylinder for a small cone.
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition plane.hpp:12