#include <traffic_lights_base.hpp>
◆ TrafficLightsBase()
template<typename NodeTypePointer >
traffic_simulator::TrafficLightsBase::TrafficLightsBase |
( |
const NodeTypePointer & |
node_ptr, |
|
|
const std::shared_ptr< hdmap_utils::HdMapUtils > & |
hdmap_utils |
|
) |
| |
|
inlineexplicit |
◆ ~TrafficLightsBase()
virtual traffic_simulator::TrafficLightsBase::~TrafficLightsBase |
( |
| ) |
|
|
virtualdefault |
◆ addTrafficLight()
auto traffic_simulator::TrafficLightsBase::addTrafficLight |
( |
const lanelet::Id |
traffic_light_id | ) |
-> void |
|
protected |
◆ compareTrafficLightsState()
auto traffic_simulator::TrafficLightsBase::compareTrafficLightsState |
( |
const lanelet::Id |
lanelet_id, |
|
|
const std::string & |
state |
|
) |
| -> bool |
◆ generateUpdateTrafficLightsRequest()
auto traffic_simulator::TrafficLightsBase::generateUpdateTrafficLightsRequest |
( |
| ) |
const -> simulation_api_schema::UpdateTrafficLightsRequest |
◆ getTrafficLight()
auto traffic_simulator::TrafficLightsBase::getTrafficLight |
( |
const lanelet::Id |
traffic_light_id | ) |
-> TrafficLight & |
|
protected |
◆ getTrafficLights()
auto traffic_simulator::TrafficLightsBase::getTrafficLights |
( |
const lanelet::Id |
lanelet_id | ) |
-> std::vector<std::reference_wrapper<TrafficLight>> |
|
protected |
◆ getTrafficLightsComposedState()
auto traffic_simulator::TrafficLightsBase::getTrafficLightsComposedState |
( |
const lanelet::Id |
lanelet_id | ) |
-> std::string |
◆ isAnyTrafficLightChanged()
auto traffic_simulator::TrafficLightsBase::isAnyTrafficLightChanged |
( |
| ) |
const -> bool |
◆ isRequiredStopTrafficLightState()
auto traffic_simulator::TrafficLightsBase::isRequiredStopTrafficLightState |
( |
const lanelet::Id |
traffic_light_id | ) |
-> bool |
◆ isTrafficLightAdded()
auto traffic_simulator::TrafficLightsBase::isTrafficLightAdded |
( |
const lanelet::Id |
traffic_light_id | ) |
const -> bool |
|
protected |
◆ resetUpdate()
auto traffic_simulator::TrafficLightsBase::resetUpdate |
( |
const double |
update_rate | ) |
-> void |
◆ setTrafficLightsColor()
◆ setTrafficLightsConfidence()
auto traffic_simulator::TrafficLightsBase::setTrafficLightsConfidence |
( |
const lanelet::Id |
lanelet_id, |
|
|
const double |
confidence |
|
) |
| -> void |
◆ setTrafficLightsState()
auto traffic_simulator::TrafficLightsBase::setTrafficLightsState |
( |
const lanelet::Id |
lanelet_id, |
|
|
const std::string & |
state |
|
) |
| -> void |
◆ startUpdate()
auto traffic_simulator::TrafficLightsBase::startUpdate |
( |
const double |
update_rate | ) |
-> void |
◆ update()
virtual auto traffic_simulator::TrafficLightsBase::update |
( |
| ) |
const -> void |
|
protectedpure virtual |
◆ clock_ptr_
const rclcpp::Clock::SharedPtr traffic_simulator::TrafficLightsBase::clock_ptr_ |
|
protected |
◆ hdmap_utils_
◆ marker_publisher_ptr_
◆ rate_updater_
◆ traffic_lights_map_
std::unordered_map<lanelet::Id, TrafficLight> traffic_simulator::TrafficLightsBase::traffic_lights_map_ |
|
protected |
The documentation for this class was generated from the following files: