CARLA
Loading...
Searching...
No Matches
test_opendrive.cpp File Reference

Go to the source code of this file.

Functions

static auto get_total_road_marks (pugi::xml_object_range< pugi::xml_named_node_iterator > &lane_nodes, LaneSection &lane_section)
static bool IsRoadless (carla::road::Map &map)
 TEST (road, get_waypoint)
 TEST (road, iterate_waypoints)
 TEST (road, parse_files)
 TEST (road, parse_geometry)
 TEST (road, parse_junctions)
 TEST (road, parse_road)
 TEST (road, parse_road_elevation)
 TEST (road, parse_road_links)
 TEST (road, stencil_parsing)
static void test_geometry (const pugi::xml_document &xml, std::optional< Map > &map)
static void test_junctions (const pugi::xml_document &xml, std::optional< Map > &map)
static void test_road_elevation (const pugi::xml_document &xml, std::optional< Map > &map)
static void test_road_links (std::optional< Map > &map)
static void test_roads (const pugi::xml_document &xml, std::optional< Map > &map)

Variables

const std::string BASE_PATH = LIBCARLA_TEST_CONTENT_FOLDER "/OpenDrive/"
static constexpr const char * kStencilXodr

Function Documentation

◆ get_total_road_marks()

◆ IsRoadless()

bool IsRoadless ( carla::road::Map & map)
static

Definition at line 227 of file test_opendrive.cpp.

References IsRoadless().

Referenced by IsRoadless(), TEST(), and TEST().

◆ TEST() [1/9]

◆ TEST() [2/9]

◆ TEST() [3/9]

◆ TEST() [4/9]

◆ TEST() [5/9]

◆ TEST() [6/9]

◆ TEST() [7/9]

◆ TEST() [8/9]

◆ TEST() [9/9]

TEST ( road ,
stencil_parsing  )

◆ test_geometry()

void test_geometry ( const pugi::xml_document & xml,
std::optional< Map > & map )
static

Definition at line 59 of file test_opendrive.cpp.

References pugi::xml_node::child(), pugi::xml_node::children(), and test_geometry().

Referenced by TEST(), and test_geometry().

◆ test_junctions()

void test_junctions ( const pugi::xml_document & xml,
std::optional< Map > & map )
static

Definition at line 171 of file test_opendrive.cpp.

References pugi::xml_node::child(), pugi::xml_node::children(), and test_junctions().

Referenced by TEST(), and test_junctions().

◆ test_road_elevation()

void test_road_elevation ( const pugi::xml_document & xml,
std::optional< Map > & map )
static

◆ test_road_links()

void test_road_links ( std::optional< Map > & map)
static

Definition at line 205 of file test_opendrive.cpp.

References test_road_links().

Referenced by TEST(), and test_road_links().

◆ test_roads()

void test_roads ( const pugi::xml_document & xml,
std::optional< Map > & map )
static

Variable Documentation

◆ BASE_PATH

const std::string BASE_PATH = LIBCARLA_TEST_CONTENT_FOLDER "/OpenDrive/"

Definition at line 32 of file test_opendrive.cpp.

Referenced by TEST(), TEST(), TEST(), and TEST().

◆ kStencilXodr

const char* kStencilXodr
staticconstexpr

Definition at line 430 of file test_opendrive.cpp.

Referenced by TEST().