Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
z_score_validator.hpp
Go to the documentation of this file.
1#pragma once
2
4
20public:
29 ZScoreValidator(double min_z_score_x, double max_z_score_x, double min_z_score_y,
30 double max_z_score_y);
31
38 std::vector<double> coneValidator(Cluster* cluster, Plane& plane) const override;
39
43 virtual ~ZScoreValidator() = default;
44
45private:
50};
Represents a cluster of 3D points using PCL (Point Cloud Library).
Definition cluster.hpp:14
Abstract class responsible for validating clusters as cones.
The Plane class represents a 3D plane defined by its equation ax + by + cz + d = 0.
Definition plane.hpp:12
The ZScoreValidator class is responsible for validating cones based on the approximation of z-score o...
double _max_z_score_y_
Max z-score on y-axis *‍/.
double _min_z_score_x_
Min z-score on x-axis *‍/.
double _min_z_score_y_
Min z-score on y-axis *‍/.
virtual ~ZScoreValidator()=default
Virtual destructor for ZScoreValidator.
std::vector< double > coneValidator(Cluster *cluster, Plane &plane) const override
Validates the cluster based on the z-score distribution.
double _max_z_score_x_
Max z-score on x-axis *‍/.