|
CARLA
|
Classes | |
| struct | CrosswalkPoint |
| struct | DirectedPoint |
| class | Geometry |
| class | GeometryArc |
| class | GeometryLine |
| class | GeometryParamPoly3 |
| class | GeometryPoly3 |
| class | GeometrySpiral |
| class | LaneCrossingCalculator |
| struct | LaneMarking |
| class | RoadInfo |
| class | RoadInfoCrosswalk |
| class | RoadInfoElevation |
| class | RoadInfoGeometry |
| class | RoadInfoIterator |
| class | RoadInfoLaneAccess |
| This record defines access restrictions for certain types of road users. More... | |
| class | RoadInfoLaneBorder |
| Instead of describing lanes by their width entries and, thus, invariably depending on influences of inner lanes on outer lanes, it might be more convenient to just describe the outer border of each lane independent of any inner lanes’ parameters. More... | |
| class | RoadInfoLaneHeight |
| The surface of a lane may be offset from the plane defined by the reference line and the corresponding elevation and crossfall entries (e.g. More... | |
| class | RoadInfoLaneMaterial |
| class | RoadInfoLaneOffset |
| The lane offset record defines a lateral shift of the lane reference line(which is usually identical to the road reference line). More... | |
| class | RoadInfoLaneRule |
| This record defines rules that can be applied to lanes to describe additonal properties not covered by the other attributes. More... | |
| class | RoadInfoLaneVisibility |
| Each lane within a road cross section may be provided with several entries defining the visibility in four directions relative to the lane’s direction. More... | |
| class | RoadInfoLaneWidth |
| Lane Width RecordEach lane within a road’scross section can be provided with severalwidth entries. More... | |
| class | RoadInfoLateralShape |
| One <lateralProfile><shape> record: at station s, the road surface height relative to the elevation profile is a cubic polynomial in (t - t_record), valid from t_record until the next record at the same station. More... | |
| class | RoadInfoMarkRecord |
| Each lane within a road cross section can be provided with several road markentries. More... | |
| class | RoadInfoMarkTypeLine |
| class | RoadInfoSignal |
| class | RoadInfoSpeed |
| class | RoadInfoStencil |
| class | RoadInfoVisitor |
| struct | Waypoint |
Enumerations | |
| enum class | GeometryType : unsigned int { LINE , ARC , SPIRAL , POLY3 , POLY3PARAM } |
Functions | |
| static std::vector< LaneMarking > | CrossingAtSameSection (const Map &map, const Waypoint *w0, const Waypoint *w1, const bool w0_is_offroad, const bool dest_is_at_right) |
| Calculate the lane markings that need to be crossed from lane_id_origin to lane_id_destination. | |
| static LaneMarking::Color | GetColor (std::string str) |
| static LaneMarking::LaneChange | GetLaneChange (RoadInfoMarkRecord::LaneChange lane_change, bool isRHT) |
| static LaneMarking::Type | GetType (std::string str) |
| static bool | IsOffRoad (const Map &map, const geom::Location &location) |
| template<typename T , typename Container > | |
| static auto | MakeRoadInfoIterator (const Container &c) |
| template<typename T , typename IT > | |
| static auto | MakeRoadInfoIterator (IT begin, IT end) |
| bool | operator!= (const Waypoint &lhs, const Waypoint &rhs) |
| bool | operator== (const Waypoint &lhs, const Waypoint &rhs) |
| geom::Vector2D | RotatebyAngle (double angle, double x, double y) |
Variables | |
| static constexpr uint32_t | FLAGS |
|
strong |
| Enumerator | |
|---|---|
| LINE | |
| ARC | |
| SPIRAL | |
| POLY3 | |
| POLY3PARAM | |
Definition at line 18 of file carla/road/element/Geometry.h.
|
static |
Calculate the lane markings that need to be crossed from lane_id_origin to lane_id_destination.
Definition at line 30 of file LaneCrossingCalculator.cpp.
References carla::road::Map::GetMarkRecord().
Referenced by carla::road::element::LaneCrossingCalculator::Calculate().
|
static |
Definition at line 44 of file LaneMarking.cpp.
References carla::road::element::LaneMarking::Blue, carla::road::element::LaneMarking::Green, carla::road::element::LaneMarking::Other, carla::road::element::LaneMarking::Red, carla::road::element::LaneMarking::Standard, carla::StringUtil::ToLower(), carla::road::element::LaneMarking::White, and carla::road::element::LaneMarking::Yellow.
|
static |
Definition at line 63 of file LaneMarking.cpp.
References carla::road::element::LaneMarking::Both, carla::road::element::RoadInfoMarkRecord::Both, carla::road::element::RoadInfoMarkRecord::Decrease, carla::road::element::RoadInfoMarkRecord::Increase, carla::road::element::LaneMarking::Left, carla::road::element::LaneMarking::None, and carla::road::element::LaneMarking::Right.
|
static |
Definition at line 17 of file LaneMarking.cpp.
References carla::road::element::LaneMarking::BottsDots, carla::road::element::LaneMarking::Broken, carla::road::element::LaneMarking::BrokenBroken, carla::road::element::LaneMarking::BrokenSolid, carla::road::element::LaneMarking::Curb, carla::road::element::LaneMarking::Grass, carla::road::element::LaneMarking::None, carla::road::element::LaneMarking::Other, carla::road::element::LaneMarking::Solid, carla::road::element::LaneMarking::SolidBroken, carla::road::element::LaneMarking::SolidSolid, and carla::StringUtil::ToLower().
|
static |
Definition at line 64 of file LaneCrossingCalculator.cpp.
References FLAGS, and carla::road::Map::GetWaypoint().
Referenced by carla::road::element::LaneCrossingCalculator::Calculate().
|
static |
Definition at line 92 of file RoadInfoIterator.h.
|
static |
Definition at line 99 of file RoadInfoIterator.h.
Definition at line 60 of file road/element/Waypoint.h.
References operator==().
Definition at line 55 of file road/element/Waypoint.h.
Referenced by operator!=().
| geom::Vector2D carla::road::element::RotatebyAngle | ( | double | angle, |
| double | x, | ||
| double | y | ||
| ) |
Definition at line 58 of file carla/road/element/Geometry.cpp.
Referenced by carla::road::element::GeometrySpiral::PosFromDist(), carla::road::element::GeometryPoly3::PosFromDist(), and carla::road::element::GeometryParamPoly3::PosFromDist().
|
staticconstexpr |
Definition at line 22 of file LaneCrossingCalculator.cpp.
Referenced by carla::road::element::LaneCrossingCalculator::Calculate(), and IsOffRoad().