CARLA
Loading...
Searching...
No Matches
Functions | Variables
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()

static std::string BidirectionalLanes ( )
static

Definition at line 60 of file test_road_regression_9565.cpp.

Referenced by TEST(), and TEST().

◆ MakeHeader()

static std::string MakeHeader ( )
static

Definition at line 30 of file test_road_regression_9565.cpp.

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

◆ MakeRoad()

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

Definition at line 40 of file test_road_regression_9565.cpp.

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

◆ NegativeOnlyLanes()

static std::string NegativeOnlyLanes ( )
static

Definition at line 99 of file test_road_regression_9565.cpp.

Referenced by TEST(), and TEST().

◆ PositiveOnlyLanes()

static std::string PositiveOnlyLanes ( )
static

Definition at line 81 of file test_road_regression_9565.cpp.

Referenced by TEST(), and TEST().

◆ TEST() [1/4]

TEST ( road  ,
filter_roads_includes_positive_only_lanes_9565   
)

◆ TEST() [2/4]

TEST ( road  ,
get_trees_transform_no_crash_without_speed_9565   
)

◆ TEST() [3/4]

TEST ( road  ,
get_trees_transform_positive_lane_road_gets_trees_9565   
)

◆ TEST() [4/4]

TEST ( road  ,
get_trees_transform_trees_outside_road_9565   
)

Variable Documentation

◆ TREE_Y_TOLERANCE

constexpr float TREE_Y_TOLERANCE = 0.01f
constexpr

Definition at line 26 of file test_road_regression_9565.cpp.

Referenced by TEST(), and TEST().