Skip to content

Commit ddcc02a

Browse files
committed
chore: fix spell error and add tests in cmake
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
1 parent 16132b8 commit ddcc02a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sensing/pointcloud_preprocessor/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,12 @@ if(BUILD_TESTING)
231231
ament_add_gtest(test_utilities
232232
test/test_utilities.cpp
233233
)
234+
ament_add_gtest(distortion_corrector_node_tests
235+
test/test_distortion_corrector_node.cpp
236+
)
234237

235238
target_link_libraries(test_utilities pointcloud_preprocessor_filter)
239+
target_link_libraries(distortion_corrector_node_tests pointcloud_preprocessor_filter)
236240

237241

238242
endif()

sensing/pointcloud_preprocessor/test/test_distortion_corrector_node.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ TEST_F(DistortionCorrectorTest, TestUndistortPointCloudWithPureLinearMotion)
682682
distortion_corrector_3d_->setPointCloudTransform("base_link", "base_link");
683683
distortion_corrector_3d_->undistortPointCloud(false, test3d_pointcloud);
684684

685-
// Gernerate expected point cloud for testing
685+
// Generate expected point cloud for testing
686686
sensor_msgs::msg::PointCloud2 expected_pointcloud = generatePointCloudMsg(true, false, timestamp);
687687

688688
// Calculate expected point cloud values based on constant linear motion

0 commit comments

Comments
 (0)