|
Formula Student Autonomous Systems
The code for the main driverless system
|
#include <gtest/gtest.h>#include <clustering/grid_clustering.hpp>#include <memory>#include <sensor_msgs/msg/point_cloud2.hpp>#include <test_utils/pointcloud2_helper.hpp>
Go to the source code of this file.
Classes | |
| class | GridClusteringTest |
| Test fixture for the GridClustering class. More... | |
Functions | |
| TEST_F (GridClusteringTest, TestZeroGrid) | |
| Minimum values for cluster size and distance threshold. | |
| TEST_F (GridClusteringTest, TestLargeGrid) | |
| Large distance threshold (Expecting two clusters). | |
| TEST_F (GridClusteringTest, TestMinClusterSize) | |
| Minimum cluster size requirement with one outlier (Expecting one large cluster). | |
| TEST_F (GridClusteringTest, TestVeryLargeGrid) | |
| Large distance threshold (Expecting one large cluster) | |
| TEST_F (GridClusteringTest, TestSmallGrid) | |
| Smaller distance threshold (Expecting multiple clusters) | |
| TEST_F (GridClusteringTest, TestMinClusterSize2) | |
| Minimum cluster size requirement with small distance threshold. | |
| TEST_F (GridClusteringTest, TestTinyGrid) | |
| Small distance threshold (Expecting all points as separate clusters) | |
| TEST_F (GridClusteringTest, TestAggregate2Points) | |
| Distance for aggregate the two nearest points (Expecting one less cluster). | |
| TEST_F (GridClusteringTest, TestMorePointsThanThreshold) | |
| Large minimum cluster size requirement (Expecting no clusters). | |
| TEST_F (GridClusteringTest, TestMinClusterWithSmallGrid) | |
| Small minimum cluster size requirement with very small distance. | |
| TEST_F | ( | GridClusteringTest | , |
| TestAggregate2Points | |||
| ) |
Distance for aggregate the two nearest points (Expecting one less cluster).
Definition at line 111 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestLargeGrid | |||
| ) |
Large distance threshold (Expecting two clusters).
Definition at line 39 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestMinClusterSize | |||
| ) |
Minimum cluster size requirement with one outlier (Expecting one large cluster).
Definition at line 51 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestMinClusterSize2 | |||
| ) |
Minimum cluster size requirement with small distance threshold.
Definition at line 87 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestMinClusterWithSmallGrid | |||
| ) |
Small minimum cluster size requirement with very small distance.
Definition at line 135 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestMorePointsThanThreshold | |||
| ) |
Large minimum cluster size requirement (Expecting no clusters).
Definition at line 123 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestSmallGrid | |||
| ) |
Smaller distance threshold (Expecting multiple clusters)
Definition at line 75 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestTinyGrid | |||
| ) |
Small distance threshold (Expecting all points as separate clusters)
Definition at line 99 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestVeryLargeGrid | |||
| ) |
Large distance threshold (Expecting one large cluster)
Definition at line 63 of file grid_test.cpp.

| TEST_F | ( | GridClusteringTest | , |
| TestZeroGrid | |||
| ) |
Minimum values for cluster size and distance threshold.
Definition at line 27 of file grid_test.cpp.
