|
CARLA
|
Go to the source code of this file.
Classes | |
| struct | twinmodel::ClassDefaults |
| Per highway class defaults, ported from profiles.py's _EU_CLASSES. More... | |
| struct | twinmodel::LaneProfile |
| The lane layout an OSM way resolves to, before it is cut at junctions. More... | |
Namespaces | |
| namespace | twinmodel |
Functions | |
| const ClassDefaults * | twinmodel::FindClassDefaults (const std::string &highway) |
| bool | twinmodel::IsDrivable (const std::string &highway) |
| True when the way carries motor traffic and should become a Road. | |
| std::optional< double > | twinmodel::ParseMaxSpeed (const std::string &value) |
| Parse an OSM maxspeed value into m/s; "50", "50 km/h" and "30 mph". | |
| LaneProfile | twinmodel::ResolveProfile (const std::string &highway, const Tags &tags) |
| Resolve the lane layout from the way's tags, falling back to the class defaults. | |