|
Formula Student Autonomous Systems
The code for the main driverless system
|
Validates clusters using the standard deviation on xOy plane and on the z axis. More...
#include <deviation_validator.hpp>


Public Member Functions | |
| DeviationValidator (double min_xoy, double max_xoy, double min_z, double max_z) | |
| Constructs a new DeviationValidator object with specified intervals on the deviation. | |
| std::vector< double > | coneValidator (Cluster *cone_point_cloud, Plane &plane) const override |
| Validates a cluster using standard deviation. | |
| virtual | ~DeviationValidator ()=default |
| Virtual destructor for DeviationValidator. | |
Private Attributes | |
| double | _min_xoy_ |
| Minimum xOy plane deviation. | |
| double | _max_xoy_ |
| Maximum xOy plane deviation. | |
| double | _min_z_ |
| Minimum z axis deviation. | |
| double | _max_z_ |
| Maximum z axis deviation. | |
Validates clusters using the standard deviation on xOy plane and on the z axis.
The DeviationValidator class inherits from the ConeValidator class and implements cluster validation using the standard deviation.
Definition at line 12 of file deviation_validator.hpp.
| DeviationValidator::DeviationValidator | ( | double | min_xoy, |
| double | max_xoy, | ||
| double | min_z, | ||
| double | max_z | ||
| ) |
Constructs a new DeviationValidator object with specified intervals on the deviation.
| min_xoy | Minimum xOy plane deviation. |
| max_xoy | Maximum xOy plane deviation. |
| min_z | Minimum z axis deviation. |
| max_z | Maximum z axis deviation. |
Definition at line 3 of file deviation_validator.cpp.
|
virtualdefault |
Virtual destructor for DeviationValidator.
|
overridevirtual |
Validates a cluster using standard deviation.
| cone_point_cloud | Pointer to the cluster to be validated. |
Implements ConeValidator.
Definition at line 6 of file deviation_validator.cpp.

|
private |
Maximum xOy plane deviation.
Definition at line 41 of file deviation_validator.hpp.
|
private |
Maximum z axis deviation.
Definition at line 43 of file deviation_validator.hpp.
|
private |
Minimum xOy plane deviation.
Definition at line 40 of file deviation_validator.hpp.
|
private |
Minimum z axis deviation.
Definition at line 42 of file deviation_validator.hpp.