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

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

| TEST_F | ( | SkidpadTrimmingTest | , |
| TestGeneralResult | |||
| ) |
Test for the general result of skidpad_trimming.
Definition at line 117 of file skidpad_trimming_test.cpp.

| TEST_F | ( | SkidpadTrimmingTest | , |
| TestMaxHeight | |||
| ) |
Test case where points above max height should be removed.
Definition at line 49 of file skidpad_trimming_test.cpp.

| TEST_F | ( | SkidpadTrimmingTest | , |
| TestMaxRange | |||
| ) |
Test case where points outside max range should be removed.
Definition at line 30 of file skidpad_trimming_test.cpp.

| TEST_F | ( | SkidpadTrimmingTest | , |
| TestMinRange | |||
| ) |
Test case where points within min range should be removed.
Definition at line 67 of file skidpad_trimming_test.cpp.
