|
Formula Student Autonomous Systems
The code for the main driverless system
|
#include "fov_trimming/cut_trimming.hpp"#include <gtest/gtest.h>#include <sensor_msgs/msg/point_cloud2.hpp>#include <test_utils/pointcloud2_helper.hpp>
Go to the source code of this file.
Classes | |
| class | CutTrimmingTest |
| Test class for setting up data and testing CutTrimming algorithm. More... | |
Functions | |
| TEST_F (CutTrimmingTest, TestMaxRange) | |
| Test case where points outside max range should be removed. | |
| TEST_F (CutTrimmingTest, TestMaxHeight) | |
| Test case where points above max height should be removed. | |
| TEST_F (CutTrimmingTest, TestMinRange) | |
| Test case where points within min range should be removed. | |
| TEST_F (CutTrimmingTest, TestFOVAngle) | |
| Test case where points outside FOV trim angle should be removed. | |
| TEST_F (CutTrimmingTest, TestEmptyPointCloud) | |
| Empty point cloud remains empty. | |
| TEST_F (CutTrimmingTest, TestGeneralResult) | |
| Test for the general result of cut_trimming. | |
| TEST_F | ( | CutTrimmingTest | , |
| TestEmptyPointCloud | |||
| ) |
Empty point cloud remains empty.
Definition at line 97 of file cut_trimming_test.cpp.

| TEST_F | ( | CutTrimmingTest | , |
| TestFOVAngle | |||
| ) |
Test case where points outside FOV trim angle should be removed.
Definition at line 83 of file cut_trimming_test.cpp.

| TEST_F | ( | CutTrimmingTest | , |
| TestGeneralResult | |||
| ) |
Test for the general result of cut_trimming.
Definition at line 109 of file cut_trimming_test.cpp.

| TEST_F | ( | CutTrimmingTest | , |
| TestMaxHeight | |||
| ) |
Test case where points above max height should be removed.
Definition at line 57 of file cut_trimming_test.cpp.

| TEST_F | ( | CutTrimmingTest | , |
| TestMaxRange | |||
| ) |
Test case where points outside max range should be removed.
Definition at line 44 of file cut_trimming_test.cpp.

| TEST_F | ( | CutTrimmingTest | , |
| TestMinRange | |||
| ) |
Test case where points within min range should be removed.
Definition at line 70 of file cut_trimming_test.cpp.
