scenario_simulator_v2 C++ API
|
Namespaces | |
pedestrian | |
Functions | |
auto | quietNaNPose () -> geometry_msgs::msg::Pose |
auto | quietNaNLaneletPose () -> LaneletPose |
auto | canonicalize (const LaneletPose &lanelet_pose, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> std::optional< CanonicalizedLaneletPose > |
auto | toMapPose (const CanonicalizedLaneletPose &lanelet_pose) -> geometry_msgs::msg::Pose |
auto | toMapPose (const LaneletPose &lanelet_pose, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> geometry_msgs::msg::Pose |
auto | toCanonicalizedLaneletPose (const geometry_msgs::msg::Pose &map_pose, const bool include_crosswalk, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> std::optional< CanonicalizedLaneletPose > |
auto | toCanonicalizedLaneletPose (const geometry_msgs::msg::Pose &map_pose, const traffic_simulator_msgs::msg::BoundingBox &bounding_box, const bool include_crosswalk, const double matching_distance, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> std::optional< CanonicalizedLaneletPose > |
auto | toCanonicalizedLaneletPose (const geometry_msgs::msg::Pose &map_pose, const traffic_simulator_msgs::msg::BoundingBox &bounding_box, const lanelet::Ids &unique_route_lanelets, const bool include_crosswalk, const double matching_distance, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> std::optional< CanonicalizedLaneletPose > |
auto | transformRelativePoseToGlobal (const geometry_msgs::msg::Pose &global_pose, const geometry_msgs::msg::Pose &relative_pose) -> geometry_msgs::msg::Pose |
auto | relativePose (const geometry_msgs::msg::Pose &from, const geometry_msgs::msg::Pose &to) -> std::optional< geometry_msgs::msg::Pose > |
auto | relativePose (const geometry_msgs::msg::Pose &from, const CanonicalizedLaneletPose &to) -> std::optional< geometry_msgs::msg::Pose > |
auto | relativePose (const CanonicalizedLaneletPose &from, const geometry_msgs::msg::Pose &to) -> std::optional< geometry_msgs::msg::Pose > |
auto | boundingBoxRelativePose (const geometry_msgs::msg::Pose &from, const traffic_simulator_msgs::msg::BoundingBox &from_bounding_box, const geometry_msgs::msg::Pose &to, const traffic_simulator_msgs::msg::BoundingBox &to_bounding_box) -> std::optional< geometry_msgs::msg::Pose > |
auto | relativeLaneletPose (const CanonicalizedLaneletPose &from, const CanonicalizedLaneletPose &to, const bool allow_lane_change, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> LaneletPose |
auto | boundingBoxRelativeLaneletPose (const CanonicalizedLaneletPose &from, const traffic_simulator_msgs::msg::BoundingBox &from_bounding_box, const CanonicalizedLaneletPose &to, const traffic_simulator_msgs::msg::BoundingBox &to_bounding_box, const bool allow_lane_change, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> LaneletPose |
auto | isInLanelet (const CanonicalizedLaneletPose &canonicalized_lanelet_pose, const lanelet::Id lanelet_id, const double tolerance, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> bool |
auto | isAtEndOfLanelets (const CanonicalizedLaneletPose &canonicalized_lanelet_pose, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> bool |
auto | laneletLength (const lanelet::Id lanelet_id, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> double |
auto traffic_simulator::pose::boundingBoxRelativeLaneletPose | ( | const CanonicalizedLaneletPose & | from, |
const traffic_simulator_msgs::msg::BoundingBox & | from_bounding_box, | ||
const CanonicalizedLaneletPose & | to, | ||
const traffic_simulator_msgs::msg::BoundingBox & | to_bounding_box, | ||
const bool | allow_lane_change, | ||
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> LaneletPose |
auto traffic_simulator::pose::boundingBoxRelativePose | ( | const geometry_msgs::msg::Pose & | from, |
const traffic_simulator_msgs::msg::BoundingBox & | from_bounding_box, | ||
const geometry_msgs::msg::Pose & | to, | ||
const traffic_simulator_msgs::msg::BoundingBox & | to_bounding_box | ||
) | -> std::optional<geometry_msgs::msg::Pose> |
auto traffic_simulator::pose::canonicalize | ( | const LaneletPose & | lanelet_pose, |
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> std::optional<CanonicalizedLaneletPose> |
auto traffic_simulator::pose::isAtEndOfLanelets | ( | const CanonicalizedLaneletPose & | canonicalized_lanelet_pose, |
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> bool |
auto traffic_simulator::pose::isInLanelet | ( | const CanonicalizedLaneletPose & | canonicalized_lanelet_pose, |
const lanelet::Id | lanelet_id, | ||
const double | tolerance, | ||
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> bool |
auto traffic_simulator::pose::laneletLength | ( | const lanelet::Id | lanelet_id, |
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> double |
auto traffic_simulator::pose::quietNaNLaneletPose | ( | ) | -> LaneletPose |
auto traffic_simulator::pose::quietNaNPose | ( | ) | -> geometry_msgs::msg::Pose |
auto traffic_simulator::pose::relativeLaneletPose | ( | const CanonicalizedLaneletPose & | from, |
const CanonicalizedLaneletPose & | to, | ||
const bool | allow_lane_change, | ||
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> LaneletPose |
auto traffic_simulator::pose::relativePose | ( | const CanonicalizedLaneletPose & | from, |
const geometry_msgs::msg::Pose & | to | ||
) | -> std::optional<geometry_msgs::msg::Pose> |
auto traffic_simulator::pose::relativePose | ( | const geometry_msgs::msg::Pose & | from, |
const CanonicalizedLaneletPose & | to | ||
) | -> std::optional<geometry_msgs::msg::Pose> |
auto traffic_simulator::pose::relativePose | ( | const geometry_msgs::msg::Pose & | from, |
const geometry_msgs::msg::Pose & | to | ||
) | -> std::optional<geometry_msgs::msg::Pose> |
auto traffic_simulator::pose::toCanonicalizedLaneletPose | ( | const geometry_msgs::msg::Pose & | map_pose, |
const bool | include_crosswalk, | ||
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> std::optional<CanonicalizedLaneletPose> |
auto traffic_simulator::pose::toCanonicalizedLaneletPose | ( | const geometry_msgs::msg::Pose & | map_pose, |
const traffic_simulator_msgs::msg::BoundingBox & | bounding_box, | ||
const bool | include_crosswalk, | ||
const double | matching_distance, | ||
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> std::optional<CanonicalizedLaneletPose> |
auto traffic_simulator::pose::toCanonicalizedLaneletPose | ( | const geometry_msgs::msg::Pose & | map_pose, |
const traffic_simulator_msgs::msg::BoundingBox & | bounding_box, | ||
const lanelet::Ids & | unique_route_lanelets, | ||
const bool | include_crosswalk, | ||
const double | matching_distance, | ||
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> std::optional<CanonicalizedLaneletPose> |
auto traffic_simulator::pose::toMapPose | ( | const CanonicalizedLaneletPose & | lanelet_pose | ) | -> geometry_msgs::msg::Pose |
auto traffic_simulator::pose::toMapPose | ( | const LaneletPose & | lanelet_pose, |
const std::shared_ptr< hdmap_utils::HdMapUtils > & | hdmap_utils_ptr | ||
) | -> geometry_msgs::msg::Pose |
auto traffic_simulator::pose::transformRelativePoseToGlobal | ( | const geometry_msgs::msg::Pose & | global_pose, |
const geometry_msgs::msg::Pose & | relative_pose | ||
) | -> geometry_msgs::msg::Pose |