CARLA
Loading...
Searching...
No Matches
Public Attributes | List of all members
twinmodel::ClassDefaults Struct Reference

Per highway class defaults, ported from profiles.py's _EU_CLASSES. More...

#include <Profiles.h>

Public Attributes

double lane_width = 3.5
 
int lanes = 2
 
std::optional< double > shoulder
 
std::optional< double > shoulder_inner
 
std::optional< double > sidewalk_width
 

Detailed Description

Per highway class defaults, ported from profiles.py's _EU_CLASSES.

The urban classes sit at 3.5-3.6 m because CARLA's fire truck is 2.90 m wide.

Definition at line 18 of file Profiles.h.

Member Data Documentation

◆ lane_width

double twinmodel::ClassDefaults::lane_width = 3.5

Definition at line 19 of file Profiles.h.

Referenced by twinmodel::ResolveProfile().

◆ lanes

int twinmodel::ClassDefaults::lanes = 2

Definition at line 20 of file Profiles.h.

Referenced by twinmodel::ResolveProfile().

◆ shoulder

std::optional<double> twinmodel::ClassDefaults::shoulder

Definition at line 22 of file Profiles.h.

Referenced by twinmodel::ResolveProfile().

◆ shoulder_inner

std::optional<double> twinmodel::ClassDefaults::shoulder_inner

Definition at line 23 of file Profiles.h.

Referenced by twinmodel::ResolveProfile().

◆ sidewalk_width

std::optional<double> twinmodel::ClassDefaults::sidewalk_width

Definition at line 21 of file Profiles.h.

Referenced by twinmodel::ResolveProfile().


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