CARLA
Public Member Functions | Public Attributes | List of all members
carla::rpc::OpendriveGenerationParameters Struct Reference

Seting for map generation from opendrive without additional geometry. More...

#include <OpendriveGenerationParameters.h>

+ Collaboration diagram for carla::rpc::OpendriveGenerationParameters:

Public Member Functions

 MSGPACK_DEFINE_ARRAY (vertex_distance, max_road_length, wall_height, additional_width, smooth_junctions, enable_mesh_visibility, enable_pedestrian_navigation)
 
 OpendriveGenerationParameters ()
 
 OpendriveGenerationParameters (double v_distance, double max_road_len, double w_height, double a_width, bool smooth_junc, bool e_visibility, bool e_pedestrian)
 

Public Attributes

double additional_width = 0.6
 
bool enable_mesh_visibility = true
 
bool enable_pedestrian_navigation = true
 
double max_road_length = 50.0
 
float simplification_percentage = 20.0f
 
bool smooth_junctions = true
 
double vertex_distance = 2.0
 
double vertex_width_resolution = 4.0f
 
double wall_height = 1.0
 

Detailed Description

Seting for map generation from opendrive without additional geometry.

Definition at line 15 of file OpendriveGenerationParameters.h.

Constructor & Destructor Documentation

◆ OpendriveGenerationParameters() [1/2]

carla::rpc::OpendriveGenerationParameters::OpendriveGenerationParameters ( )
inline

Definition at line 16 of file OpendriveGenerationParameters.h.

◆ OpendriveGenerationParameters() [2/2]

carla::rpc::OpendriveGenerationParameters::OpendriveGenerationParameters ( double  v_distance,
double  max_road_len,
double  w_height,
double  a_width,
bool  smooth_junc,
bool  e_visibility,
bool  e_pedestrian 
)
inline

Definition at line 17 of file OpendriveGenerationParameters.h.

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::OpendriveGenerationParameters::MSGPACK_DEFINE_ARRAY ( vertex_distance  ,
max_road_length  ,
wall_height  ,
additional_width  ,
smooth_junctions  ,
enable_mesh_visibility  ,
enable_pedestrian_navigation   
)

Member Data Documentation

◆ additional_width

double carla::rpc::OpendriveGenerationParameters::additional_width = 0.6

◆ enable_mesh_visibility

bool carla::rpc::OpendriveGenerationParameters::enable_mesh_visibility = true

◆ enable_pedestrian_navigation

bool carla::rpc::OpendriveGenerationParameters::enable_pedestrian_navigation = true

◆ max_road_length

double carla::rpc::OpendriveGenerationParameters::max_road_length = 50.0

◆ simplification_percentage

float carla::rpc::OpendriveGenerationParameters::simplification_percentage = 20.0f

Definition at line 39 of file OpendriveGenerationParameters.h.

◆ smooth_junctions

bool carla::rpc::OpendriveGenerationParameters::smooth_junctions = true

◆ vertex_distance

double carla::rpc::OpendriveGenerationParameters::vertex_distance = 2.0

◆ vertex_width_resolution

double carla::rpc::OpendriveGenerationParameters::vertex_width_resolution = 4.0f

◆ wall_height

double carla::rpc::OpendriveGenerationParameters::wall_height = 1.0

The documentation for this struct was generated from the following file: