scenario_simulator_v2 C++ API
Functions
test_lidar_sensor.cpp File Reference
#include "test_lidar_sensor.hpp"
Include dependency graph for test_lidar_sensor.cpp:

Functions

 TEST_F (LidarSensorTest, update_noEgo)
 
 TEST_F (LidarSensorTest, update_correct)
 
 TEST_F (LidarSensorTest, update_goBackInTime)
 
 TEST_F (LidarSensorTest, getDetectedObjects)
 

Function Documentation

◆ TEST_F() [1/4]

TEST_F ( LidarSensorTest  ,
getDetectedObjects   
)
Note
Test basic functionality. Test detected objects obtaining from the statuses list containing Ego.

◆ TEST_F() [2/4]

TEST_F ( LidarSensorTest  ,
update_correct   
)
Note
Test basic functionality. Test lidar sensor correctness on a sample scene with some vehicle
  • the goal is to check if the correct pointcloud is published on the correct topic.

◆ TEST_F() [3/4]

TEST_F ( LidarSensorTest  ,
update_goBackInTime   
)
Note
Test function behavior when called with a current_time significantly smaller than one call earlier - the goal is to test whether the function clears detected_objects.

◆ TEST_F() [4/4]

TEST_F ( LidarSensorTest  ,
update_noEgo   
)
Note
Test function behavior when called on a scene without Ego entity added - the goal is to test error throwing.