|
CARLA
|
#include "LaneGraph.h"#include <algorithm>#include <limits>#include <map>#include <set>#include <sstream>#include <tuple>#include "Profiles.h"Go to the source code of this file.
Namespaces | |
| namespace | twinmodel |
Functions | |
| TwinModelData | twinmodel::BuildLaneGraph (const OsmData &osm, const LocalFrame &frame, const std::string &name, const LaneGraphOptions &options=LaneGraphOptions()) |
| OSM ways -> roads, lanes and junctions in model space. | |
|
private |
Definition at line 78 of file LaneGraph.cpp.
| ContactPoint contact = ContactPoint::Start |
Definition at line 40 of file LaneGraph.cpp.
Referenced by twinmodel::BuildLaneGraph().
| long long first = 0 |
Definition at line 34 of file LaneGraph.cpp.
Referenced by xpath_ast_node::apply_predicate(), xpath_ast_node::apply_predicate_boolean(), xpath_ast_node::apply_predicate_number(), xpath_ast_node::apply_predicate_number_const(), xpath_ast_node::apply_predicates(), xpath_ast_node::eval_string(), get_value_bool(), carla::road::Map::GetAllCrosswalkMesh(), carla::road::Road::GetLessEqualRange(), carla::multigpu::PrimaryCommands::GetToken(), median3(), ACustomV2XSensor::PrePhysTick(), carla::multigpu::SensorStreamRegistry::Resolve(), ACustomV2XSensor::Send(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), carla::traffic_manager::MotionPlanStage::Update(), carla::sensor::data::LidarData::WritePoints(), and xpath_get_order().
| double heading = 0.0 |
Definition at line 42 of file LaneGraph.cpp.
Referenced by carla::road::MapBuilder::AddStencil(), carla::geom::Math::DistanceArcToPoint(), and twinmodel::geom::OffsetLine().
| std::string highway |
Definition at line 24 of file LaneGraph.cpp.
Referenced by twinmodel::BuildLaneGraph(), twinmodel::BuildSignals(), twinmodel::FindClassDefaults(), twinmodel::IsDrivable(), and twinmodel::ResolveProfile().
| long long last = 0 |
Definition at line 35 of file LaneGraph.cpp.
Referenced by pugi::xpath_variable_set::_clone(), xpath_ast_node::apply_predicate_boolean(), xpath_ast_node::apply_predicate_number(), xpath_ast_node::apply_predicate_number_const(), xpath_ast_node::eval_string(), carla::road::Road::GetNearestPoint(), carla::traffic_manager::constants::WorldInfoRefresh::IsRefreshDue(), load_stream_data_noseek(), median3(), xpath_parser::parse_step(), and MeshReconstruction::Triangulate().
| long long node = 0 |
Definition at line 43 of file LaneGraph.cpp.
Referenced by pugi::xml_text::_data(), moodycamel::ConcurrentQueue< T, Traits >::FreeList< N >::add(), moodycamel::ConcurrentQueue< T, Traits >::FreeList< N >::add_knowing_refcount_is_zero(), carla::agents::navigation::GlobalRoutePlanner::AddEdge(), append_attribute(), append_new_attribute(), append_new_node(), append_node(), twinmodel::BuildLaneGraph(), twinmodel::BuildSignals(), document_buffer_order(), twinmodel::ExportXodr(), pugi::xml_node::find_child(), MapGen::fixGraphData(), ACityMapGenerator::GenerateRoads(), MapGen::DoublyConnectedEdgeList::GetLeavingHalfEdge(), MapGen::DoublyConnectedEdgeList::GetLeavingHalfEdge(), carla::agents::navigation::GlobalRoutePlanner::GetOrCreateNode(), has_declaration(), xml_parser::has_element_node_siblings(), insert_attribute_after(), insert_attribute_before(), pugi::xml_node::insert_child_after(), pugi::xml_node::insert_child_after(), pugi::xml_node::insert_child_before(), pugi::xml_node::insert_child_before(), pugi::xml_node::insert_copy_after(), pugi::xml_node::insert_copy_before(), pugi::xml_node::insert_move_after(), pugi::xml_node::insert_move_before(), insert_node_after(), insert_node_before(), is_attribute_of(), is_text_node(), local_name(), namespace_uri(), namespace_uri(), node_is_ancestor(), node_output(), node_output_attributes(), node_output_end(), node_output_simple(), node_output_start(), carla::opendrive::parser::GeometryParser::Parse(), carla::opendrive::parser::ProfilesParser::Parse(), twinmodel::ParseOsmXml(), twinmodel::geom::Polygonize(), prepend_attribute(), prepend_node(), xpath_node_set_raw::push_back(), xpath_node_set_raw::push_back_grow(), qualified_name(), remove_attribute(), and remove_node().
| std::vector<long long> nodes |
Definition at line 26 of file LaneGraph.cpp.
Referenced by twinmodel::geom::Polygonize().
| geom::Point point |
Definition at line 41 of file LaneGraph.cpp.
Referenced by twinmodel::BuildLaneGraph(), twinmodel::BuildSignals(), carla::ros2::CarlaLidarPublisher::ComputePointCloud(), carla::road::MapBuilder::ComputeSignalTransform(), carla::road::MapBuilder::ComputeStencilTransform(), osm2odr::ConvertOSMToOpenDRIVE(), carla::client::DebugHelper::DrawPoint(), FormatCurveLike(), carla::geom::PointCloudRtree< T, Dimension >::GetNearestNeighbours(), carla::geom::PointCloudRtree< T, Dimension >::GetNearestNeighboursWithFilter(), carla::nav::Navigation::GetRandomLocation(), carla::agents::navigation::GetTrafficLightTriggerLocation(), carla::geom::GetVertexNeighborhoodAndWeights(), carla::geom::PointCloudRtree< T, Dimension >::InsertElement(), carla::traffic_manager::InMemoryMap::SetUpSpatialTree(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and twinmodel::ToString().
| std::string road_id |
Definition at line 39 of file LaneGraph.cpp.
Referenced by carla::road::MapBuilder::AddRoad(), carla::road::MapBuilder::AddSignalPositionRoad(), carla::agents::navigation::GlobalRoutePlanner::BuildGraph(), twinmodel::BuildLaneGraph(), twinmodel::BuildSignals(), carla::agents::navigation::GlobalRoutePlanner::FindLooseEnds(), carla::road::ForEachDrivableLaneImpl(), carla::road::ForEachLaneImpl(), carla::road::Map::GenerateWaypointsInRoad(), carla::client::Junction::GetAdjacentRoads(), carla::road::Junction::GetConflictsOfRoad(), carla::client::Junction::GetConnectingRoads(), carla::road::MapBuilder::GetEdgeLanePointer(), carla::road::Map::GetJunctionId(), carla::road::MapBuilder::GetJunctionLanes(), carla::road::MapBuilder::GetLane(), carla::client::Map::GetLane(), carla::road::MapData::GetLaneInfo(), carla::road::MapBuilder::GetLaneNext(), carla::client::Map::GetLaneSection(), carla::road::MapBuilder::GetRoad(), carla::client::Map::GetRoad(), carla::client::GetRoadData(), carla::road::Map::GetWaypoint(), carla::client::Map::GetWaypointXODR(), carla::road::Map::IsJunction(), carla::opendrive::parser::LaneParser::Parse(), carla::opendrive::parser::ObjectParser::Parse(), carla::opendrive::parser::ProfilesParser::Parse(), carla::opendrive::parser::SignalParser::Parse(), carla::opendrive::parser::ParseLanes(), carla::road::MapBuilder::RemoveZeroLaneValiditySignalReferences(), carla::road::Junction::RoadHasConflicts(), carla::traffic_manager::InMemoryMap::SetUp(), test_geometry(), test_road_elevation(), and test_roads().
| Tags tags |
Definition at line 25 of file LaneGraph.cpp.
Referenced by twinmodel::FindTag(), twinmodel::HasTag(), and twinmodel::ResolveProfile().
| long long way_id = 0 |
Definition at line 23 of file LaneGraph.cpp.