|
Formula Student Autonomous Systems
The code for the main driverless system
|
#include <gtest/gtest.h>#include <cone_evaluator/cone_evaluator.hpp>#include <memory>#include <sensor_msgs/msg/point_cloud2.hpp>#include <test_utils/pointcloud2_helper.hpp>#include <utils/cluster.hpp>#include <utils/evaluator_parameters.hpp>#include <utils/ground_grid.hpp>
Go to the source code of this file.
Functions | |
| EvaluatorParameters | make_default_evaluator_params () |
| TEST (ConeEvaluatorTest, CloseToGroundTrue) | |
| Should return true when cluster is close to ground. | |
| TEST (ConeEvaluatorTest, CloseToGroundFalse) | |
| Should return false when cluster is far from ground. | |
| TEST (ConeEvaluatorTest, CylinderFitsConeTrue) | |
| Should return true when cluster fits cone cylinder dimensions. | |
| TEST (ConeEvaluatorTest, CylinderFitsConeFalse) | |
| Should return false when cluster does not fit cone cylinder dimensions. | |
| TEST (ConeEvaluatorTest, NPointsValidTrue) | |
| Should return true when cluster has a valid number of points. | |
| TEST (ConeEvaluatorTest, NPointsValidFalse) | |
| Should return false when cluster does not have a valid number of points. | |
| EvaluatorParameters make_default_evaluator_params | ( | ) |
| TEST | ( | ConeEvaluatorTest | , |
| CloseToGroundFalse | |||
| ) |
Should return false when cluster is far from ground.
Definition at line 47 of file cone_evaluator_test.cpp.

| TEST | ( | ConeEvaluatorTest | , |
| CloseToGroundTrue | |||
| ) |
Should return true when cluster is close to ground.
Definition at line 30 of file cone_evaluator_test.cpp.

| TEST | ( | ConeEvaluatorTest | , |
| CylinderFitsConeFalse | |||
| ) |
Should return false when cluster does not fit cone cylinder dimensions.
Definition at line 78 of file cone_evaluator_test.cpp.

| TEST | ( | ConeEvaluatorTest | , |
| CylinderFitsConeTrue | |||
| ) |
Should return true when cluster fits cone cylinder dimensions.
Definition at line 64 of file cone_evaluator_test.cpp.

| TEST | ( | ConeEvaluatorTest | , |
| NPointsValidFalse | |||
| ) |
Should return false when cluster does not have a valid number of points.
Definition at line 108 of file cone_evaluator_test.cpp.

| TEST | ( | ConeEvaluatorTest | , |
| NPointsValidTrue | |||
| ) |
Should return true when cluster has a valid number of points.
Definition at line 92 of file cone_evaluator_test.cpp.
