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

Functions

 TEST_F (RaycasterTest, addPrimitive_box)
 
 TEST_F (RaycasterTest, addPrimitive_twoIdenticalNames)
 
 TEST_F (RaycasterTest, raycast_empty)
 
 TEST_F (RaycasterTest, raycast_box)
 
 TEST_F (RaycasterTest, setDirection_oneBox)
 
 TEST_F (RaycasterTest, setDirection_manyBoxes)
 
 TEST_F (RaycasterTest, getDetectedObjects)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST_F() [1/7]

TEST_F ( RaycasterTest  ,
addPrimitive_box   
)
Note
Test basic functionality. Test adding a primitive to scene correctness with a Box.

◆ TEST_F() [2/7]

TEST_F ( RaycasterTest  ,
addPrimitive_twoIdenticalNames   
)
Note
Test function behavior when adding two Boxes with identical names to a scene.

◆ TEST_F() [3/7]

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

◆ TEST_F() [4/7]

TEST_F ( RaycasterTest  ,
raycast_box   
)
Note
Test basic functionality. Test raycasting correctness with one box on the scene.

◆ TEST_F() [5/7]

TEST_F ( RaycasterTest  ,
raycast_empty   
)
Note
Test basic functionality. Test raycasting correctness with an empty scene.

◆ TEST_F() [6/7]

TEST_F ( RaycasterTest  ,
setDirection_manyBoxes   
)
Note
Test basic functionality. Test setting ray directions with a lidar configuration that has a ring of horizontal rays which intersect with boxes positioned on the ring so that they intersect with the rays.

◆ TEST_F() [7/7]

TEST_F ( RaycasterTest  ,
setDirection_oneBox   
)
Note
Test basic functionality. Test setting ray directions with a lidar configuration that has one ray which intersects with the only box on the scene.