scenario_simulator_v2 C++ API
Static Protected Member Functions | List of all members
openscenario_interpreter::SimulatorCore::ConditionEvaluation Class Reference

#include <simulator_core.hpp>

Inheritance diagram for openscenario_interpreter::SimulatorCore::ConditionEvaluation:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::SimulatorCore::ConditionEvaluation:
Collaboration graph
[legend]

Static Protected Member Functions

template<typename... Ts>
static auto evaluateAcceleration (Ts &&... xs)
 
template<typename... Ts>
static auto evaluateCollisionCondition (Ts &&... xs) -> bool
 
template<typename... Ts>
static auto evaluateBoundingBoxEuclideanDistance (const std::string &from_entity_name, const std::string &to_entity_name)
 
template<typename... Ts>
static auto evaluateSimulationTime (Ts &&... xs) -> double
 
template<typename... Ts>
static auto evaluateSpeed (Ts &&... xs)
 
template<typename... Ts>
static auto evaluateStandStill (Ts &&... xs)
 
template<typename... Ts>
static auto evaluateTimeHeadway (Ts &&... xs)
 
- Static Protected Member Functions inherited from openscenario_interpreter::SimulatorCore::CoordinateSystemConversion
static auto canonicalize (const traffic_simulator::LaneletPose &non_canonicalized) -> NativeLanePosition
 
template<typename T , typename std::enable_if_t< std::is_same_v< T, NativeLanePosition >, int > = 0>
static auto convert (const NativeWorldPosition &pose) -> NativeLanePosition
 
template<typename T , typename std::enable_if_t< std::is_same_v< T, NativeWorldPosition >, int > = 0>
static auto convert (const NativeLanePosition &native_lane_position) -> NativeWorldPosition
 
static auto makeNativeRelativeWorldPosition (const std::string &from_entity_name, const std::string &to_entity_name)
 
static auto makeNativeRelativeWorldPosition (const std::string &from_entity_name, const NativeWorldPosition &to_map_pose)
 
static auto makeNativeRelativeWorldPosition (const NativeWorldPosition &from_map_pose, const std::string &to_entity_name)
 
static auto makeNativeRelativeLanePosition (const std::string &from_entity_name, const std::string &to_entity_name, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined) -> traffic_simulator::LaneletPose
 
static auto makeNativeRelativeLanePosition (const std::string &from_entity_name, const NativeLanePosition &to_lanelet_pose, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined) -> traffic_simulator::LaneletPose
 
static auto makeNativeRelativeLanePosition (const NativeLanePosition &from_lanelet_pose, const NativeLanePosition &to_lanelet_pose, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined) -> traffic_simulator::LaneletPose
 
static auto makeNativeBoundingBoxRelativeLanePosition (const std::string &from_entity_name, const std::string &to_entity_name, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined)
 
static auto makeNativeBoundingBoxRelativeLanePosition (const std::string &from_entity_name, const NativeLanePosition &to_lanelet_pose, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined)
 
static auto makeNativeBoundingBoxRelativeLanePosition (const NativeLanePosition &from_lanelet_pose, const traffic_simulator_msgs::msg::BoundingBox &from_bounding_box, const NativeLanePosition &to_lanelet_pose, const traffic_simulator_msgs::msg::BoundingBox &to_bounding_box, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined) -> traffic_simulator::LaneletPose
 
static auto makeNativeBoundingBoxRelativeWorldPosition (const std::string &from_entity_name, const std::string &to_entity_name)
 
static auto makeNativeBoundingBoxRelativeWorldPosition (const std::string &from_entity_name, const NativeWorldPosition &to_map_pose)
 
static auto evaluateLateralRelativeLanes (const std::string &from_entity_name, const std::string &to_entity_name, const RoutingAlgorithm::value_type routing_algorithm=RoutingAlgorithm::undefined) -> int
 

Member Function Documentation

◆ evaluateAcceleration()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateAcceleration ( Ts &&...  xs)
inlinestaticprotected

◆ evaluateBoundingBoxEuclideanDistance()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateBoundingBoxEuclideanDistance ( const std::string &  from_entity_name,
const std::string &  to_entity_name 
)
inlinestaticprotected

◆ evaluateCollisionCondition()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateCollisionCondition ( Ts &&...  xs) -> bool
inlinestaticprotected

◆ evaluateSimulationTime()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateSimulationTime ( Ts &&...  xs) -> double
inlinestaticprotected

◆ evaluateSpeed()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateSpeed ( Ts &&...  xs)
inlinestaticprotected

◆ evaluateStandStill()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateStandStill ( Ts &&...  xs)
inlinestaticprotected

◆ evaluateTimeHeadway()

template<typename... Ts>
static auto openscenario_interpreter::SimulatorCore::ConditionEvaluation::evaluateTimeHeadway ( Ts &&...  xs)
inlinestaticprotected

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