scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
traffic_simulator::traffic::TrafficSinkConfig Struct Reference

#include <traffic_sink.hpp>

Public Member Functions

 TrafficSinkConfig (const double radius, const geometry_msgs::msg::Point &position, const std::set< std::uint8_t > &sinkable_entity_types, const std::optional< lanelet::Id > lanelet_id_opt)
 Construct a new TrafficSinkConfig object. More...
 

Public Attributes

const double radius
 
const geometry_msgs::msg::Point position
 
const std::set< std::uint8_t > sinkable_entity_types
 
const std::string description
 

Constructor & Destructor Documentation

◆ TrafficSinkConfig()

traffic_simulator::traffic::TrafficSinkConfig::TrafficSinkConfig ( const double  radius,
const geometry_msgs::msg::Point &  position,
const std::set< std::uint8_t > &  sinkable_entity_types,
const std::optional< lanelet::Id >  lanelet_id_opt 
)
inlineexplicit

Construct a new TrafficSinkConfig object.

Parameters
radiusRadius of the traffic sink
positionPosition of the traffic sink
sinkable_entity_typesCandidates for despawn.

Member Data Documentation

◆ description

const std::string traffic_simulator::traffic::TrafficSinkConfig::description

◆ position

const geometry_msgs::msg::Point traffic_simulator::traffic::TrafficSinkConfig::position

◆ radius

const double traffic_simulator::traffic::TrafficSinkConfig::radius

◆ sinkable_entity_types

const std::set<std::uint8_t> traffic_simulator::traffic::TrafficSinkConfig::sinkable_entity_types

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