Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
deviation_validator.hpp
Go to the documentation of this file.
1#pragma once
2
4
13public:
21 DeviationValidator(double min_xoy, double max_xoy, double min_z, double max_z);
22
32 std::vector<double> coneValidator(Cluster* cone_point_cloud, Plane& plane) const override;
33
37 virtual ~DeviationValidator() = default;
38
39private:
40 double _min_xoy_;
41 double _max_xoy_;
42 double _min_z_;
43 double _max_z_;
44};
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 the standard deviation on xOy plane and on the z axis.
double _max_z_
Maximum z axis deviation.
virtual ~DeviationValidator()=default
Virtual destructor for DeviationValidator.
std::vector< double > coneValidator(Cluster *cone_point_cloud, Plane &plane) const override
Validates a cluster using standard deviation.
double _min_xoy_
Minimum xOy plane deviation.
double _min_z_
Minimum z axis deviation.
double _max_xoy_
Maximum xOy plane deviation.
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition plane.hpp:12