#include <traffic_controller.hpp>
|
| TrafficController (std::shared_ptr< hdmap_utils::HdMapUtils > hdmap_utils, const std::function< std::vector< std::string >(void)> &get_entity_names_function, const std::function< geometry_msgs::msg::Pose(const std::string &)> &get_entity_pose_function, const std::function< void(std::string)> &despawn_function, bool auto_sink=false) |
|
template<typename T , typename... Ts> |
void | addModule (Ts &&... xs) |
|
void | execute (const double current_time, const double step_time) |
|
auto | makeDebugMarker () const -> const visualization_msgs::msg::MarkerArray |
|
◆ TrafficController()
traffic_simulator::traffic::TrafficController::TrafficController |
( |
std::shared_ptr< hdmap_utils::HdMapUtils > |
hdmap_utils, |
|
|
const std::function< std::vector< std::string >(void)> & |
get_entity_names_function, |
|
|
const std::function< geometry_msgs::msg::Pose(const std::string &)> & |
get_entity_pose_function, |
|
|
const std::function< void(std::string)> & |
despawn_function, |
|
|
bool |
auto_sink = false |
|
) |
| |
|
explicit |
◆ addModule()
template<typename T , typename... Ts>
void traffic_simulator::traffic::TrafficController::addModule |
( |
Ts &&... |
xs | ) |
|
|
inline |
◆ execute()
void traffic_simulator::traffic::TrafficController::execute |
( |
const double |
current_time, |
|
|
const double |
step_time |
|
) |
| |
◆ makeDebugMarker()
auto traffic_simulator::traffic::TrafficController::makeDebugMarker |
( |
| ) |
const -> const visualization_msgs::msg::MarkerArray |
◆ auto_sink
const bool traffic_simulator::traffic::TrafficController::auto_sink |
The documentation for this class was generated from the following files: