scenario_simulator_v2 C++ API
|
#include <hdmap_utils.hpp>
Public Member Functions | |
HdMapUtils (const boost::filesystem::path &, const geographic_msgs::msg::GeoPoint &) | |
auto | canChangeLane (const lanelet::Id from, const lanelet::Id to, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> bool |
auto | canonicalizeLaneletPose (const traffic_simulator_msgs::msg::LaneletPose &) const -> std::tuple< std::optional< traffic_simulator_msgs::msg::LaneletPose >, std::optional< lanelet::Id >> |
auto | canonicalizeLaneletPose (const traffic_simulator_msgs::msg::LaneletPose &, const lanelet::Ids &route_lanelets) const -> std::tuple< std::optional< traffic_simulator_msgs::msg::LaneletPose >, std::optional< lanelet::Id >> |
auto | clipTrajectoryFromLaneletIds (const lanelet::Id, const double s, const lanelet::Ids &, const double forward_distance=20) const -> std::vector< geometry_msgs::msg::Point > |
auto | countLaneChanges (const traffic_simulator_msgs::msg::LaneletPose &from, const traffic_simulator_msgs::msg::LaneletPose &to, const traffic_simulator::RoutingConfiguration &routing_configuration=traffic_simulator::RoutingConfiguration()) const -> std::optional< std::pair< int, int >> |
auto | filterLaneletIds (const lanelet::Ids &, const char subtype[]) const -> lanelet::Ids |
auto | generateMarker () const -> visualization_msgs::msg::MarkerArray |
auto | getAllCanonicalizedLaneletPoses (const traffic_simulator_msgs::msg::LaneletPose &) const -> std::vector< traffic_simulator_msgs::msg::LaneletPose > |
auto | getAlongLaneletPose (const traffic_simulator_msgs::msg::LaneletPose &from, const double along, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> traffic_simulator_msgs::msg::LaneletPose |
auto | getCenterPoints (const lanelet::Ids &) const -> std::vector< geometry_msgs::msg::Point > |
auto | getCenterPoints (const lanelet::Id) const -> std::vector< geometry_msgs::msg::Point > |
auto | getCenterPointsSpline (const lanelet::Id) const -> std::shared_ptr< math::geometry::CatmullRomSpline > |
auto | getClosestLaneletId (const geometry_msgs::msg::Pose &, const double distance_thresh=30.0, const bool include_crosswalk=false) const -> std::optional< lanelet::Id > |
auto | getCollisionPointInLaneCoordinate (const lanelet::Id lanelet_id, const lanelet::Id crossing_lanelet_id) const -> std::optional< double > |
auto | getConflictingCrosswalkIds (const lanelet::Ids &) const -> lanelet::Ids |
auto | getConflictingLaneIds (const lanelet::Ids &, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getDistanceToStopLine (const lanelet::Ids &route_lanelets, const math::geometry::CatmullRomSplineInterface &spline) const -> std::optional< double > |
auto | getDistanceToStopLine (const lanelet::Ids &route_lanelets, const std::vector< geometry_msgs::msg::Point > &waypoints) const -> std::optional< double > |
auto | getDistanceToTrafficLightStopLine (const lanelet::Ids &route_lanelets, const math::geometry::CatmullRomSplineInterface &spline) const -> std::optional< double > |
auto | getDistanceToTrafficLightStopLine (const lanelet::Ids &route_lanelets, const std::vector< geometry_msgs::msg::Point > &waypoints) const -> std::optional< double > |
auto | getDistanceToTrafficLightStopLine (const math::geometry::CatmullRomSplineInterface &spline, const lanelet::Id traffic_light_id) const -> std::optional< double > |
auto | getDistanceToTrafficLightStopLine (const std::vector< geometry_msgs::msg::Point > &waypoints, const lanelet::Id traffic_light_id) const -> std::optional< double > |
auto | getFollowingLanelets (const lanelet::Id current_lanelet_id, const lanelet::Ids &route, const double horizon=100, const bool include_current_lanelet_id=true, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getFollowingLanelets (const lanelet::Id, const double distance=100, const bool include_self=true, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getAltitude (const traffic_simulator_msgs::msg::LaneletPose &) const -> double |
auto | getLaneChangeTrajectory (const geometry_msgs::msg::Pose &from, const traffic_simulator::lane_change::Parameter &lane_change_parameter, const double maximum_curvature_threshold, const double target_trajectory_length, const double forward_distance_threshold) const -> std::optional< std::pair< math::geometry::HermiteCurve, double >> |
auto | getLaneChangeTrajectory (const traffic_simulator_msgs::msg::LaneletPose &from, const traffic_simulator::lane_change::Parameter &lane_change_parameter) const -> std::optional< std::pair< math::geometry::HermiteCurve, double >> |
auto | getLaneChangeableLaneletId (const lanelet::Id, const traffic_simulator::lane_change::Direction, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> std::optional< lanelet::Id > |
auto | getLaneChangeableLaneletId (const lanelet::Id, const traffic_simulator::lane_change::Direction, const std::uint8_t shift, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> std::optional< lanelet::Id > |
auto | getLaneletIds () const -> lanelet::Ids |
auto | getLaneletLength (const lanelet::Id) const -> double |
auto | getLaneletPolygon (const lanelet::Id) const -> std::vector< geometry_msgs::msg::Point > |
auto | getLanelets (const lanelet::Ids &) const -> lanelet::Lanelets |
auto | getLateralDistance (const traffic_simulator_msgs::msg::LaneletPose &from, const traffic_simulator_msgs::msg::LaneletPose &to, const traffic_simulator::RoutingConfiguration &routing_configuration=traffic_simulator::RoutingConfiguration()) const -> std::optional< double > |
auto | getLeftBound (const lanelet::Id) const -> std::vector< geometry_msgs::msg::Point > |
auto | getLeftLaneletIds (const lanelet::Id, const traffic_simulator::RoutingGraphType, const bool include_opposite_direction) const -> lanelet::Ids |
auto | getLongitudinalDistance (const traffic_simulator_msgs::msg::LaneletPose &from_pose, const traffic_simulator_msgs::msg::LaneletPose &to_pose, const traffic_simulator::RoutingConfiguration &routing_configuration=traffic_simulator::RoutingConfiguration()) const -> std::optional< double > |
auto | getNearbyLaneletIds (const geometry_msgs::msg::Point &, const double distance_threshold, const bool include_crosswalk, const std::size_t search_count=5) const -> lanelet::Ids |
auto | getNearbyLaneletIds (const geometry_msgs::msg::Point &, const double distance_threshold, const std::size_t search_count=5) const -> lanelet::Ids |
auto | getNextLaneletIds (const lanelet::Ids &, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getNextLaneletIds (const lanelet::Ids &, const std::string &turn_direction, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getNextLaneletIds (const lanelet::Id, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getNextLaneletIds (const lanelet::Id, const std::string &turn_direction, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getPreviousLaneletIds (const lanelet::Ids &, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getPreviousLaneletIds (const lanelet::Ids &, const std::string &turn_direction, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getPreviousLaneletIds (const lanelet::Id, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getPreviousLaneletIds (const lanelet::Id, const std::string &turn_direction, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getPreviousLanelets (const lanelet::Id, const double backward_horizon=100, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> lanelet::Ids |
auto | getRightBound (const lanelet::Id) const -> std::vector< geometry_msgs::msg::Point > |
auto | getRightLaneletIds (const lanelet::Id, const traffic_simulator::RoutingGraphType, const bool include_opposite_direction) const -> lanelet::Ids |
auto | getRightOfWayLaneletIds (const lanelet::Ids &) const -> std::unordered_map< lanelet::Id, lanelet::Ids > |
auto | getRightOfWayLaneletIds (const lanelet::Id) const -> lanelet::Ids |
auto | getRoute (const lanelet::Id from, const lanelet::Id to, const traffic_simulator::RoutingConfiguration &routing_configuration=traffic_simulator::RoutingConfiguration()) const -> lanelet::Ids |
auto | getSpeedLimit (const lanelet::Ids &, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> double |
auto | getStopLineIds () const -> lanelet::Ids |
auto | getStopLineIdsOnPath (const lanelet::Ids &route_lanelets) const -> lanelet::Ids |
auto | getStopLinePolygon (const lanelet::Id) const -> std::vector< geometry_msgs::msg::Point > |
auto | getTangentVector (const lanelet::Id, const double s) const -> std::optional< geometry_msgs::msg::Vector3 > |
auto | getTrafficLightBulbPosition (const lanelet::Id traffic_light_id, const std::string &) const -> std::optional< geometry_msgs::msg::Point > |
auto | getTrafficLightIds () const -> lanelet::Ids |
auto | getTrafficLightIdsOnPath (const lanelet::Ids &route_lanelets) const -> lanelet::Ids |
auto | getTrafficLightRegulatoryElement (const lanelet::Id) const -> lanelet::TrafficLight::Ptr |
auto | getTrafficLightRegulatoryElementIDsFromTrafficLight (const lanelet::Id) const -> lanelet::Ids |
auto | getTrafficLightStopLineIds (const lanelet::Id traffic_light_id) const -> lanelet::Ids |
auto | getTrafficLightStopLinesPoints (const lanelet::Id traffic_light_id) const -> std::vector< std::vector< geometry_msgs::msg::Point >> |
auto | insertMarkerArray (visualization_msgs::msg::MarkerArray &, const visualization_msgs::msg::MarkerArray &) const -> void |
auto | isInIntersection (const lanelet::Id) const -> bool |
auto | isInLanelet (const lanelet::Id, const double s) const -> bool |
auto | isInRoute (const lanelet::Id, const lanelet::Ids &route) const -> bool |
auto | isTrafficLight (const lanelet::Id) const -> bool |
auto | isTrafficLightRegulatoryElement (const lanelet::Id) const -> bool |
auto | matchToLane (const geometry_msgs::msg::Pose &, const traffic_simulator_msgs::msg::BoundingBox &, const bool include_crosswalk, const double matching_distance=1.0, const double reduction_ratio=DEFAULT_MATCH_TO_LANE_REDUCTION_RATIO, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> std::optional< lanelet::Id > |
auto | toLaneletPose (const geometry_msgs::msg::Pose &, const bool include_crosswalk, const double matching_distance=1.0) const -> std::optional< traffic_simulator_msgs::msg::LaneletPose > |
auto | toLaneletPose (const geometry_msgs::msg::Pose &, const lanelet::Ids &, const double matching_distance=1.0) const -> std::optional< traffic_simulator_msgs::msg::LaneletPose > |
auto | toLaneletPose (const geometry_msgs::msg::Point &, const traffic_simulator_msgs::msg::BoundingBox &, const bool include_crosswalk, const double matching_distance=1.0, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> std::optional< traffic_simulator_msgs::msg::LaneletPose > |
auto | toLaneletPose (const geometry_msgs::msg::Pose &, const traffic_simulator_msgs::msg::BoundingBox &, const bool include_crosswalk, const double matching_distance=1.0, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> std::optional< traffic_simulator_msgs::msg::LaneletPose > |
auto | toLaneletPose (const geometry_msgs::msg::Pose &, const lanelet::Id, const double matching_distance=1.0) const -> std::optional< traffic_simulator_msgs::msg::LaneletPose > |
auto | toLaneletPoses (const geometry_msgs::msg::Pose &, const lanelet::Id, const double matching_distance=5.0, const bool include_opposite_direction=false, const traffic_simulator::RoutingGraphType type=traffic_simulator::RoutingConfiguration().routing_graph_type) const -> std::vector< traffic_simulator_msgs::msg::LaneletPose > |
auto | toMapBin () const -> autoware_map_msgs::msg::LaneletMapBin |
auto | toMapPoints (const lanelet::Id, const std::vector< double > &s) const -> std::vector< geometry_msgs::msg::Point > |
auto | toMapPose (const traffic_simulator_msgs::msg::LaneletPose &, const bool fill_pitch=true) const -> geometry_msgs::msg::PoseStamped |
auto | isAltitudeMatching (const double current_altitude, const double target_altitude) const -> bool |
auto | getLaneletAltitude (const lanelet::Id &lanelet_id, const geometry_msgs::msg::Pose &pose, const double matching_distance=1.0) const -> std::optional< double > |
|
explicit |
auto hdmap_utils::HdMapUtils::canChangeLane | ( | const lanelet::Id | from, |
const lanelet::Id | to, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> bool |
auto hdmap_utils::HdMapUtils::canonicalizeLaneletPose | ( | const traffic_simulator_msgs::msg::LaneletPose & | lanelet_pose | ) | const -> std::tuple< std::optional<traffic_simulator_msgs::msg::LaneletPose>, std::optional<lanelet::Id>> |
auto hdmap_utils::HdMapUtils::canonicalizeLaneletPose | ( | const traffic_simulator_msgs::msg::LaneletPose & | lanelet_pose, |
const lanelet::Ids & | route_lanelets | ||
) | const -> std::tuple< std::optional<traffic_simulator_msgs::msg::LaneletPose>, std::optional<lanelet::Id>> |
auto hdmap_utils::HdMapUtils::clipTrajectoryFromLaneletIds | ( | const lanelet::Id | lanelet_id, |
const double | s, | ||
const lanelet::Ids & | lanelet_ids, | ||
const double | forward_distance = 20 |
||
) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::countLaneChanges | ( | const traffic_simulator_msgs::msg::LaneletPose & | from, |
const traffic_simulator_msgs::msg::LaneletPose & | to, | ||
const traffic_simulator::RoutingConfiguration & | routing_configuration = traffic_simulator::RoutingConfiguration() |
||
) | const -> std::optional<std::pair<int, int>> |
auto hdmap_utils::HdMapUtils::filterLaneletIds | ( | const lanelet::Ids & | lanelet_ids, |
const char | subtype[] | ||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::generateMarker | ( | ) | const -> visualization_msgs::msg::MarkerArray |
auto hdmap_utils::HdMapUtils::getAllCanonicalizedLaneletPoses | ( | const traffic_simulator_msgs::msg::LaneletPose & | lanelet_pose | ) | const -> std::vector<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::getAlongLaneletPose | ( | const traffic_simulator_msgs::msg::LaneletPose & | from, |
const double | along, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> traffic_simulator_msgs::msg::LaneletPose |
auto hdmap_utils::HdMapUtils::getAltitude | ( | const traffic_simulator_msgs::msg::LaneletPose & | lanelet_pose | ) | const -> double |
auto hdmap_utils::HdMapUtils::getCenterPoints | ( | const lanelet::Id | lanelet_id | ) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getCenterPoints | ( | const lanelet::Ids & | lanelet_ids | ) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getCenterPointsSpline | ( | const lanelet::Id | lanelet_id | ) | const -> std::shared_ptr<math::geometry::CatmullRomSpline> |
auto hdmap_utils::HdMapUtils::getClosestLaneletId | ( | const geometry_msgs::msg::Pose & | pose, |
const double | distance_thresh = 30.0 , |
||
const bool | include_crosswalk = false |
||
) | const -> std::optional<lanelet::Id> |
auto hdmap_utils::HdMapUtils::getCollisionPointInLaneCoordinate | ( | const lanelet::Id | lanelet_id, |
const lanelet::Id | crossing_lanelet_id | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getConflictingCrosswalkIds | ( | const lanelet::Ids & | lanelet_ids | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getConflictingLaneIds | ( | const lanelet::Ids & | lanelet_ids, |
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getDistanceToStopLine | ( | const lanelet::Ids & | route_lanelets, |
const math::geometry::CatmullRomSplineInterface & | spline | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getDistanceToStopLine | ( | const lanelet::Ids & | route_lanelets, |
const std::vector< geometry_msgs::msg::Point > & | waypoints | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getDistanceToTrafficLightStopLine | ( | const lanelet::Ids & | route_lanelets, |
const math::geometry::CatmullRomSplineInterface & | spline | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getDistanceToTrafficLightStopLine | ( | const lanelet::Ids & | route_lanelets, |
const std::vector< geometry_msgs::msg::Point > & | waypoints | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getDistanceToTrafficLightStopLine | ( | const math::geometry::CatmullRomSplineInterface & | spline, |
const lanelet::Id | traffic_light_id | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getDistanceToTrafficLightStopLine | ( | const std::vector< geometry_msgs::msg::Point > & | waypoints, |
const lanelet::Id | traffic_light_id | ||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getFollowingLanelets | ( | const lanelet::Id | current_lanelet_id, |
const lanelet::Ids & | route, | ||
const double | horizon = 100 , |
||
const bool | include_current_lanelet_id = true , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getFollowingLanelets | ( | const lanelet::Id | lanelet_id, |
const double | distance = 100 , |
||
const bool | include_self = true , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getLaneChangeableLaneletId | ( | const lanelet::Id | lanelet_id, |
const traffic_simulator::lane_change::Direction | direction, | ||
const std::uint8_t | shift, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> std::optional<lanelet::Id> |
auto hdmap_utils::HdMapUtils::getLaneChangeableLaneletId | ( | const lanelet::Id | lanelet_id, |
const traffic_simulator::lane_change::Direction | direction, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> std::optional<lanelet::Id> |
auto hdmap_utils::HdMapUtils::getLaneChangeTrajectory | ( | const geometry_msgs::msg::Pose & | from, |
const traffic_simulator::lane_change::Parameter & | lane_change_parameter, | ||
const double | maximum_curvature_threshold, | ||
const double | target_trajectory_length, | ||
const double | forward_distance_threshold | ||
) | const -> std::optional<std::pair<math::geometry::HermiteCurve, double>> |
auto hdmap_utils::HdMapUtils::getLaneChangeTrajectory | ( | const traffic_simulator_msgs::msg::LaneletPose & | from, |
const traffic_simulator::lane_change::Parameter & | lane_change_parameter | ||
) | const -> std::optional<std::pair<math::geometry::HermiteCurve, double>> |
auto hdmap_utils::HdMapUtils::getLaneletAltitude | ( | const lanelet::Id & | lanelet_id, |
const geometry_msgs::msg::Pose & | pose, | ||
const double | matching_distance = 1.0 |
||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getLaneletIds | ( | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getLaneletLength | ( | const lanelet::Id | lanelet_id | ) | const -> double |
auto hdmap_utils::HdMapUtils::getLaneletPolygon | ( | const lanelet::Id | lanelet_id | ) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getLanelets | ( | const lanelet::Ids & | lanelet_ids | ) | const -> lanelet::Lanelets |
auto hdmap_utils::HdMapUtils::getLateralDistance | ( | const traffic_simulator_msgs::msg::LaneletPose & | from, |
const traffic_simulator_msgs::msg::LaneletPose & | to, | ||
const traffic_simulator::RoutingConfiguration & | routing_configuration = traffic_simulator::RoutingConfiguration() |
||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getLeftBound | ( | const lanelet::Id | lanelet_id | ) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getLeftLaneletIds | ( | const lanelet::Id | lanelet_id, |
const traffic_simulator::RoutingGraphType | type, | ||
const bool | include_opposite_direction | ||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getLongitudinalDistance | ( | const traffic_simulator_msgs::msg::LaneletPose & | from_pose, |
const traffic_simulator_msgs::msg::LaneletPose & | to_pose, | ||
const traffic_simulator::RoutingConfiguration & | routing_configuration = traffic_simulator::RoutingConfiguration() |
||
) | const -> std::optional<double> |
auto hdmap_utils::HdMapUtils::getNearbyLaneletIds | ( | const geometry_msgs::msg::Point & | point, |
const double | distance_threshold, | ||
const bool | include_crosswalk, | ||
const std::size_t | search_count = 5 |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getNearbyLaneletIds | ( | const geometry_msgs::msg::Point & | position, |
const double | distance_threshold, | ||
const std::size_t | search_count = 5 |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getNextLaneletIds | ( | const lanelet::Id | lanelet_id, |
const std::string & | turn_direction, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getNextLaneletIds | ( | const lanelet::Id | lanelet_id, |
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getNextLaneletIds | ( | const lanelet::Ids & | lanelet_ids, |
const std::string & | turn_direction, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getNextLaneletIds | ( | const lanelet::Ids & | lanelet_ids, |
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getPreviousLaneletIds | ( | const lanelet::Id | lanelet_id, |
const std::string & | turn_direction, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getPreviousLaneletIds | ( | const lanelet::Id | lanelet_id, |
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getPreviousLaneletIds | ( | const lanelet::Ids & | lanelet_ids, |
const std::string & | turn_direction, | ||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getPreviousLaneletIds | ( | const lanelet::Ids & | lanelet_ids, |
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getPreviousLanelets | ( | const lanelet::Id | current_lanelet_id, |
const double | backward_horizon = 100 , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getRightBound | ( | const lanelet::Id | lanelet_id | ) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getRightLaneletIds | ( | const lanelet::Id | lanelet_id, |
const traffic_simulator::RoutingGraphType | type, | ||
const bool | include_opposite_direction | ||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getRightOfWayLaneletIds | ( | const lanelet::Id | lanelet_id | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getRightOfWayLaneletIds | ( | const lanelet::Ids & | lanelet_ids | ) | const -> std::unordered_map<lanelet::Id, lanelet::Ids> |
auto hdmap_utils::HdMapUtils::getRoute | ( | const lanelet::Id | from, |
const lanelet::Id | to, | ||
const traffic_simulator::RoutingConfiguration & | routing_configuration = traffic_simulator::RoutingConfiguration() |
||
) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getSpeedLimit | ( | const lanelet::Ids & | lanelet_ids, |
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> double |
auto hdmap_utils::HdMapUtils::getStopLineIds | ( | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getStopLineIdsOnPath | ( | const lanelet::Ids & | route_lanelets | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getStopLinePolygon | ( | const lanelet::Id | lanelet_id | ) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getTangentVector | ( | const lanelet::Id | lanelet_id, |
const double | s | ||
) | const -> std::optional<geometry_msgs::msg::Vector3> |
auto hdmap_utils::HdMapUtils::getTrafficLightBulbPosition | ( | const lanelet::Id | traffic_light_id, |
const std::string & | color_name | ||
) | const -> std::optional<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::getTrafficLightIds | ( | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getTrafficLightIdsOnPath | ( | const lanelet::Ids & | route_lanelets | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getTrafficLightRegulatoryElement | ( | const lanelet::Id | lanelet_id | ) | const -> lanelet::TrafficLight::Ptr |
auto hdmap_utils::HdMapUtils::getTrafficLightRegulatoryElementIDsFromTrafficLight | ( | const lanelet::Id | traffic_light_way_id | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getTrafficLightStopLineIds | ( | const lanelet::Id | traffic_light_id | ) | const -> lanelet::Ids |
auto hdmap_utils::HdMapUtils::getTrafficLightStopLinesPoints | ( | const lanelet::Id | traffic_light_id | ) | const -> std::vector<std::vector<geometry_msgs::msg::Point>> |
auto hdmap_utils::HdMapUtils::insertMarkerArray | ( | visualization_msgs::msg::MarkerArray & | a1, |
const visualization_msgs::msg::MarkerArray & | a2 | ||
) | const -> void |
auto hdmap_utils::HdMapUtils::isAltitudeMatching | ( | const double | current_altitude, |
const double | target_altitude | ||
) | const -> bool |
auto hdmap_utils::HdMapUtils::isInIntersection | ( | const lanelet::Id | lanelet_id | ) | const -> bool |
auto hdmap_utils::HdMapUtils::isInLanelet | ( | const lanelet::Id | lanelet_id, |
const double | s | ||
) | const -> bool |
auto hdmap_utils::HdMapUtils::isInRoute | ( | const lanelet::Id | lanelet_id, |
const lanelet::Ids & | route | ||
) | const -> bool |
auto hdmap_utils::HdMapUtils::isTrafficLight | ( | const lanelet::Id | lanelet_id | ) | const -> bool |
auto hdmap_utils::HdMapUtils::isTrafficLightRegulatoryElement | ( | const lanelet::Id | lanelet_id | ) | const -> bool |
auto hdmap_utils::HdMapUtils::matchToLane | ( | const geometry_msgs::msg::Pose & | pose, |
const traffic_simulator_msgs::msg::BoundingBox & | bbox, | ||
const bool | include_crosswalk, | ||
const double | matching_distance = 1.0 , |
||
const double | reduction_ratio = DEFAULT_MATCH_TO_LANE_REDUCTION_RATIO , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> std::optional<lanelet::Id> |
auto hdmap_utils::HdMapUtils::toLaneletPose | ( | const geometry_msgs::msg::Point & | position, |
const traffic_simulator_msgs::msg::BoundingBox & | bbox, | ||
const bool | include_crosswalk, | ||
const double | matching_distance = 1.0 , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> std::optional<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::toLaneletPose | ( | const geometry_msgs::msg::Pose & | pose, |
const bool | include_crosswalk, | ||
const double | matching_distance = 1.0 |
||
) | const -> std::optional<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::toLaneletPose | ( | const geometry_msgs::msg::Pose & | pose, |
const lanelet::Id | lanelet_id, | ||
const double | matching_distance = 1.0 |
||
) | const -> std::optional<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::toLaneletPose | ( | const geometry_msgs::msg::Pose & | pose, |
const lanelet::Ids & | lanelet_ids, | ||
const double | matching_distance = 1.0 |
||
) | const -> std::optional<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::toLaneletPose | ( | const geometry_msgs::msg::Pose & | pose, |
const traffic_simulator_msgs::msg::BoundingBox & | bbox, | ||
const bool | include_crosswalk, | ||
const double | matching_distance = 1.0 , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> std::optional<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::toLaneletPoses | ( | const geometry_msgs::msg::Pose & | pose, |
const lanelet::Id | lanelet_id, | ||
const double | matching_distance = 5.0 , |
||
const bool | include_opposite_direction = false , |
||
const traffic_simulator::RoutingGraphType | type = traffic_simulator::RoutingConfiguration().routing_graph_type |
||
) | const -> std::vector<traffic_simulator_msgs::msg::LaneletPose> |
auto hdmap_utils::HdMapUtils::toMapBin | ( | ) | const -> autoware_map_msgs::msg::LaneletMapBin |
auto hdmap_utils::HdMapUtils::toMapPoints | ( | const lanelet::Id | lanelet_id, |
const std::vector< double > & | s | ||
) | const -> std::vector<geometry_msgs::msg::Point> |
auto hdmap_utils::HdMapUtils::toMapPose | ( | const traffic_simulator_msgs::msg::LaneletPose & | lanelet_pose, |
const bool | fill_pitch = true |
||
) | const -> geometry_msgs::msg::PoseStamped |