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

| TEST_F | ( | AccelerationTrimmingTest | , |
| TestGeneralResult | |||
| ) |
Test case for the general result of acc_trimming.
Definition at line 121 of file acceleration_trimming_test.cpp.

| TEST_F | ( | AccelerationTrimmingTest | , |
| TestMaxHeight | |||
| ) |
Test case where points above max height should be removed.
Definition at line 51 of file acceleration_trimming_test.cpp.

| TEST_F | ( | AccelerationTrimmingTest | , |
| TestMaxRange | |||
| ) |
Test case where points outside max range should be removed.
Definition at line 34 of file acceleration_trimming_test.cpp.

| TEST_F | ( | AccelerationTrimmingTest | , |
| TestMaxY | |||
| ) |
Test case where points outside FOV trim angle should be removed.
Definition at line 87 of file acceleration_trimming_test.cpp.

| TEST_F | ( | AccelerationTrimmingTest | , |
| TestMinRange | |||
| ) |
Test case where points within min range should be removed.
Definition at line 69 of file acceleration_trimming_test.cpp.
