CARLA
Loading...
Searching...
No Matches
test_road_regression_9565.cpp File Reference
#include "test.h"
#include <carla/geom/Vector3D.h>
#include <carla/opendrive/OpenDriveParser.h>
#include <carla/road/Map.h>
#include <cmath>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Functions

static std::string BidirectionalLanes ()
static std::string MakeHeader ()
static std::string MakeRoad (int id, float x0, float length, const std::string &lane_xml, bool with_speed=true)
static std::string NegativeOnlyLanes ()
static std::string PositiveOnlyLanes ()
 TEST (road, filter_roads_includes_positive_only_lanes_9565)
 TEST (road, get_trees_transform_no_crash_without_speed_9565)
 TEST (road, get_trees_transform_positive_lane_road_gets_trees_9565)
 TEST (road, get_trees_transform_trees_outside_road_9565)

Variables

constexpr float TREE_Y_TOLERANCE = 0.01f

Function Documentation

◆ BidirectionalLanes()

std::string BidirectionalLanes ( )
static

Definition at line 56 of file test_road_regression_9565.cpp.

◆ MakeHeader()

std::string MakeHeader ( )
static

Definition at line 30 of file test_road_regression_9565.cpp.

References MakeHeader().

Referenced by MakeHeader().

◆ MakeRoad()

std::string MakeRoad ( int id,
float x0,
float length,
const std::string & lane_xml,
bool with_speed = true )
static

Definition at line 36 of file test_road_regression_9565.cpp.

◆ NegativeOnlyLanes()

std::string NegativeOnlyLanes ( )
static

Definition at line 67 of file test_road_regression_9565.cpp.

◆ PositiveOnlyLanes()

std::string PositiveOnlyLanes ( )
static

Definition at line 62 of file test_road_regression_9565.cpp.

◆ TEST() [1/4]

TEST ( road ,
filter_roads_includes_positive_only_lanes_9565  )

Definition at line 76 of file test_road_regression_9565.cpp.

◆ TEST() [2/4]

TEST ( road ,
get_trees_transform_no_crash_without_speed_9565  )

Definition at line 108 of file test_road_regression_9565.cpp.

◆ TEST() [3/4]

TEST ( road ,
get_trees_transform_positive_lane_road_gets_trees_9565  )

Definition at line 136 of file test_road_regression_9565.cpp.

◆ TEST() [4/4]

TEST ( road ,
get_trees_transform_trees_outside_road_9565  )

Definition at line 172 of file test_road_regression_9565.cpp.

Variable Documentation

◆ TREE_Y_TOLERANCE

float TREE_Y_TOLERANCE = 0.01f
constexpr

Definition at line 26 of file test_road_regression_9565.cpp.