scenario_simulator_v2 C++ API
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
traffic_simulator::lanelet_pose::CanonicalizedLaneletPose Class Reference

#include <lanelet_pose.hpp>

Public Member Functions

 CanonicalizedLaneletPose (const LaneletPose &maybe_non_canonicalized_lanelet_pose, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils)
 
 CanonicalizedLaneletPose (const LaneletPose &maybe_non_canonicalized_lanelet_pose, const lanelet::Ids &route_lanelets, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils)
 
 CanonicalizedLaneletPose (const CanonicalizedLaneletPose &other)
 
 CanonicalizedLaneletPose (CanonicalizedLaneletPose &&other) noexcept
 
CanonicalizedLaneletPoseoperator= (const CanonicalizedLaneletPose &obj)
 
 operator LaneletPose () const noexcept
 
 operator geometry_msgs::msg::Pose () const noexcept
 
auto getLaneletPose () const -> const LaneletPose &
 
auto hasAlternativeLaneletPose () const -> bool
 
auto getAlternativeLaneletPoseBaseOnShortestRouteFrom (LaneletPose from, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils, const traffic_simulator::RoutingConfiguration &routing_configuration=traffic_simulator::RoutingConfiguration()) const -> std::optional< LaneletPose >
 
 DEFINE_COMPARISON_OPERATOR (<=) DEFINE_COMPARISON_OPERATOR(<) DEFINE_COMPARISON_OPERATOR(>
 
auto canonicalize (const LaneletPose &may_non_canonicalized_lanelet_pose, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils) -> LaneletPose
 
auto canonicalize (const LaneletPose &may_non_canonicalized_lanelet_pose, const lanelet::Ids &route_lanelets, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils) -> LaneletPose
 

Static Public Member Functions

static auto setConsiderPoseByRoadSlope (bool consider_pose_by_road_slope) -> void
 
static auto getConsiderPoseByRoadSlope () -> bool
 

Public Attributes

LaneletPose lanelet_pose_
 
std::vector< LaneletPoselanelet_poses_
 
geometry_msgs::msg::Pose map_pose_
 

Static Public Attributes

static bool consider_pose_by_road_slope_ {false}
 

Constructor & Destructor Documentation

◆ CanonicalizedLaneletPose() [1/4]

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::CanonicalizedLaneletPose ( const LaneletPose maybe_non_canonicalized_lanelet_pose,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils 
)
explicit

◆ CanonicalizedLaneletPose() [2/4]

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::CanonicalizedLaneletPose ( const LaneletPose maybe_non_canonicalized_lanelet_pose,
const lanelet::Ids &  route_lanelets,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils 
)
explicit

◆ CanonicalizedLaneletPose() [3/4]

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::CanonicalizedLaneletPose ( const CanonicalizedLaneletPose other)

◆ CanonicalizedLaneletPose() [4/4]

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::CanonicalizedLaneletPose ( CanonicalizedLaneletPose &&  other)
noexcept

Member Function Documentation

◆ canonicalize() [1/2]

auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::canonicalize ( const LaneletPose may_non_canonicalized_lanelet_pose,
const lanelet::Ids &  route_lanelets,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils 
) -> LaneletPose

◆ canonicalize() [2/2]

auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::canonicalize ( const LaneletPose may_non_canonicalized_lanelet_pose,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils 
) -> LaneletPose

◆ DEFINE_COMPARISON_OPERATOR()

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::DEFINE_COMPARISON_OPERATOR ( <=  )

◆ getAlternativeLaneletPoseBaseOnShortestRouteFrom()

auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::getAlternativeLaneletPoseBaseOnShortestRouteFrom ( LaneletPose  from,
const std::shared_ptr< hdmap_utils::HdMapUtils > &  hdmap_utils,
const traffic_simulator::RoutingConfiguration routing_configuration = traffic_simulator::RoutingConfiguration() 
) const -> std::optional<LaneletPose>

◆ getConsiderPoseByRoadSlope()

static auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::getConsiderPoseByRoadSlope ( ) -> bool
inlinestatic

◆ getLaneletPose()

auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::getLaneletPose ( ) const -> const LaneletPose &
inline

◆ hasAlternativeLaneletPose()

auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::hasAlternativeLaneletPose ( ) const -> bool
inline

◆ operator geometry_msgs::msg::Pose()

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::operator geometry_msgs::msg::Pose ( ) const
inlineexplicitnoexcept

◆ operator LaneletPose()

traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::operator LaneletPose ( ) const
inlineexplicitnoexcept

◆ operator=()

auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::operator= ( const CanonicalizedLaneletPose obj)

◆ setConsiderPoseByRoadSlope()

static auto traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::setConsiderPoseByRoadSlope ( bool  consider_pose_by_road_slope) -> void
inlinestatic

Member Data Documentation

◆ consider_pose_by_road_slope_

bool traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::consider_pose_by_road_slope_ {false}
inlinestatic

◆ lanelet_pose_

LaneletPose traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::lanelet_pose_

◆ lanelet_poses_

std::vector<LaneletPose> traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::lanelet_poses_

◆ map_pose_

geometry_msgs::msg::Pose traffic_simulator::lanelet_pose::CanonicalizedLaneletPose::map_pose_

The documentation for this class was generated from the following files: