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

#include <configuration.hpp>

Public Types

using Filename = std::string
 
using Pathname = boost::filesystem::path
 

Public Member Functions

 Configuration (const Pathname &map_path)
 
auto assertMapPath (const Pathname &map_path) const -> const Pathname &
 
template<typename... Ts>
auto contains (Ts &&... xs) const -> bool
 
auto findLexicographicallyFirstFilenameOf (const Pathname &pathname, const std::string &extension) const -> Filename
 
auto getLanelet2MapFile () const -> const auto &
 
auto getPointCloudMapFile () const -> const auto &
 
auto lanelet2_map_path () const
 
auto pointcloud_map_path () const
 

Public Attributes

std::set< std::uint8_t > auto_sink_entity_types = {}
 
bool verbose = false
 
bool standalone_mode = false
 
std::string simulator_host = "localhost"
 
double conventional_traffic_light_publish_rate = 30.0
 
double v2i_traffic_light_publish_rate = 10.0
 
const Pathname map_path
 
Filename lanelet2_map_file
 
Filename pointcloud_map_file
 
Pathname scenario_path = ""
 

Member Typedef Documentation

◆ Filename

◆ Pathname

using traffic_simulator::Configuration::Pathname = boost::filesystem::path

Constructor & Destructor Documentation

◆ Configuration()

traffic_simulator::Configuration::Configuration ( const Pathname map_path)
inlineexplicit

Member Function Documentation

◆ assertMapPath()

auto traffic_simulator::Configuration::assertMapPath ( const Pathname map_path) const -> const Pathname &
inline

◆ contains()

template<typename... Ts>
auto traffic_simulator::Configuration::contains ( Ts &&...  xs) const -> bool
inline

◆ findLexicographicallyFirstFilenameOf()

auto traffic_simulator::Configuration::findLexicographicallyFirstFilenameOf ( const Pathname pathname,
const std::string &  extension 
) const -> Filename
inline

◆ getLanelet2MapFile()

auto traffic_simulator::Configuration::getLanelet2MapFile ( ) const -> const auto &
inline

◆ getPointCloudMapFile()

auto traffic_simulator::Configuration::getPointCloudMapFile ( ) const -> const auto &
inline

◆ lanelet2_map_path()

auto traffic_simulator::Configuration::lanelet2_map_path ( ) const
inline

◆ pointcloud_map_path()

auto traffic_simulator::Configuration::pointcloud_map_path ( ) const
inline

Member Data Documentation

◆ auto_sink_entity_types

std::set<std::uint8_t> traffic_simulator::Configuration::auto_sink_entity_types = {}

◆ conventional_traffic_light_publish_rate

double traffic_simulator::Configuration::conventional_traffic_light_publish_rate = 30.0

◆ lanelet2_map_file

Filename traffic_simulator::Configuration::lanelet2_map_file

◆ map_path

const Pathname traffic_simulator::Configuration::map_path

◆ pointcloud_map_file

Filename traffic_simulator::Configuration::pointcloud_map_file

◆ scenario_path

Pathname traffic_simulator::Configuration::scenario_path = ""

◆ simulator_host

std::string traffic_simulator::Configuration::simulator_host = "localhost"

◆ standalone_mode

bool traffic_simulator::Configuration::standalone_mode = false

◆ v2i_traffic_light_publish_rate

double traffic_simulator::Configuration::v2i_traffic_light_publish_rate = 10.0

◆ verbose

bool traffic_simulator::Configuration::verbose = false

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