scenario_simulator_v2 C++ API
Public Member Functions | List of all members
cpp_mock_scenarios::TrafficSimulationDemoScenario Class Reference
Inheritance diagram for cpp_mock_scenarios::TrafficSimulationDemoScenario:
Inheritance graph
[legend]
Collaboration diagram for cpp_mock_scenarios::TrafficSimulationDemoScenario:
Collaboration graph
[legend]

Public Member Functions

 TrafficSimulationDemoScenario (const rclcpp::NodeOptions &option)
 
- Public Member Functions inherited from cpp_mock_scenarios::CppScenarioNode
 CppScenarioNode (const std::string &node_name, const std::string &map_path, const std::string &lanelet2_map_file, const std::string &scenario_filename, const bool verbose, const rclcpp::NodeOptions &option)
 
void start ()
 
void stop (Result result, const std::string &description="")
 
void expectThrow ()
 
void expectNoThrow ()
 
template<typename T >
auto equals (const T v1, const T v2, const T tolerance=std::numeric_limits< T >::epsilon()) const -> bool
 
void spawnEgoEntity (const traffic_simulator::CanonicalizedLaneletPose &spawn_lanelet_pose, const std::vector< traffic_simulator::CanonicalizedLaneletPose > &goal_lanelet_pose, const traffic_simulator_msgs::msg::VehicleParameters &parameters)
 
auto isVehicle (const std::string &name) const -> bool
 
auto isPedestrian (const std::string &name) const -> bool
 

Additional Inherited Members

- Protected Attributes inherited from cpp_mock_scenarios::CppScenarioNode
traffic_simulator::API api_
 
common::junit::JUnit5 junit_
 

Constructor & Destructor Documentation

◆ TrafficSimulationDemoScenario()

cpp_mock_scenarios::TrafficSimulationDemoScenario::TrafficSimulationDemoScenario ( const rclcpp::NodeOptions &  option)
inlineexplicit

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