Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
displacement_validator.hpp
Go to the documentation of this file.
1#pragma once
2
4
13public:
22 explicit DisplacementValidator(double min_distance_x, double min_distance_y,
23 double min_distance_z);
24
38 std::vector<double> coneValidator(Cluster* cone_point_cloud, Plane& plane) const override;
39
43 virtual ~DisplacementValidator() = default;
44
45private:
49};
Represents a cluster of 3D points using PCL (Point Cloud Library).
Definition cluster.hpp:14
Abstract class responsible for validating clusters as cones.
The SizeValidator class is responsible for validating cones based on the minimum distance between the...
virtual ~DisplacementValidator()=default
Virtual destructor for DisplacementValidator.
std::vector< double > coneValidator(Cluster *cone_point_cloud, Plane &plane) const override
Validates a cone based on the maximum distance between its points in all axis.
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition plane.hpp:12