CARLA
 
载入中...
搜索中...
未找到
OpendriveGenerationParameters.h
浏览该文件的文档.
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
11namespace carla {
12namespace 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),
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;
40 bool smooth_junctions = true;
43
52 };
53
54}
55}
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133
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)
OpendriveGenerationParameters(double v_distance, double max_road_len, double w_height, double a_width, bool smooth_junc, bool e_visibility, bool e_pedestrian)