CARLA
OpendriveGenerationParameters.h
Go to the documentation of this file.
1 // Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #pragma once
8 
9 #include "carla/MsgPack.h"
10 
11 namespace carla {
12 namespace rpc {
13 
14  /// Seting for map generation from opendrive without additional geometry
18  double v_distance,
19  double max_road_len,
20  double w_height,
21  double a_width,
22  bool smooth_junc,
23  bool e_visibility,
24  bool e_pedestrian)
25  : vertex_distance(v_distance),
26  max_road_length(max_road_len),
27  wall_height(w_height),
28  additional_width(a_width),
29  smooth_junctions(smooth_junc),
30  enable_mesh_visibility(e_visibility),
31  enable_pedestrian_navigation(e_pedestrian)
32  {}
33 
34  double vertex_distance = 2.0;
35  double max_road_length = 50.0;
36  double wall_height = 1.0;
37  double additional_width = 0.6;
38  bool smooth_junctions = true;
41 
43  vertex_distance,
44  max_road_length,
45  wall_height,
46  additional_width,
47  smooth_junctions,
48  enable_mesh_visibility,
49  enable_pedestrian_navigation);
50  };
51 
52 }
53 }
Seting for map generation from opendrive without additional geometry.
MSGPACK_DEFINE_ARRAY(vertex_distance, max_road_length, wall_height, additional_width, smooth_junctions, enable_mesh_visibility, enable_pedestrian_navigation)
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:99
OpendriveGenerationParameters(double v_distance, double max_road_len, double w_height, double a_width, bool smooth_junc, bool e_visibility, bool e_pedestrian)