scenario_simulator_v2 C++ API
Typedefs | Functions
traffic_simulator::lanelet_map Namespace Reference

Typedefs

using Point = geometry_msgs::msg::Point
 
using Pose = geometry_msgs::msg::Pose
 

Functions

template<typename... Ts>
auto activate (Ts &&... xs)
 
auto laneletLength (const lanelet::Id lanelet_id) -> double
 
template<typename... Ts>
auto laneletAltitude (Ts &&... xs)
 
auto noNextLaneletPoses () -> std::vector< std::pair< lanelet::Id, Pose >>
 Calculates all poses on the map that have no next lanelet (dead ends) More...
 

Typedef Documentation

◆ Point

using traffic_simulator::lanelet_map::Point = typedef geometry_msgs::msg::Point

◆ Pose

using traffic_simulator::lanelet_map::Pose = typedef geometry_msgs::msg::Pose

Function Documentation

◆ activate()

template<typename... Ts>
auto traffic_simulator::lanelet_map::activate ( Ts &&...  xs)
inline

◆ laneletAltitude()

template<typename... Ts>
auto traffic_simulator::lanelet_map::laneletAltitude ( Ts &&...  xs)
inline

◆ laneletLength()

auto traffic_simulator::lanelet_map::laneletLength ( const lanelet::Id  lanelet_id) -> double

◆ noNextLaneletPoses()

auto traffic_simulator::lanelet_map::noNextLaneletPoses ( ) -> std::vector<std::pair<lanelet::Id, Pose>>

Calculates all poses on the map that have no next lanelet (dead ends)

Returns
A vector of final poses and their corresponding lanelet IDs