delphyne
|
System in charge of updating the traffic lights models according to the current value of the traffic lights state obtained through the maliput::api::RoadNetwork.
Input Port 0: ignition::msgs::Model_V message with models from a scene. (InputPort getter: get_models_input_port())
Output Port 0: ignition::msgs::Model_V message with updated traffic light models. (OutputPort getter: get_traffic_lights_models_output_port())
Output Port 1: ignition::msgs::Boolean message to indicate new traffic light state data is present. (OutputPort getter: get_new_data_output_port())
#include <src/backend/ign_models_traffic_lights.h>
Public Member Functions | |
IgnModelsTrafficLights (maliput::api::RoadNetwork *road_network) | |
const drake::systems::InputPort< double > & | get_models_input_port () const |
Returns the input descriptor for models. More... | |
int | get_models_input_port_index () const |
const drake::systems::OutputPort< double > & | get_traffic_lights_models_output_port () const |
int | get_traffic_light_output_port_index () const |
const drake::systems::OutputPort< double > & | get_new_data_output_port () const |
int | get_new_data_output_port_index () const |
IgnModelsTrafficLights | ( | maliput::api::RoadNetwork * | road_network | ) |
const drake::systems::InputPort<double>& get_models_input_port | ( | ) | const |
Returns the input descriptor for models.
This port expects an ignition::msgs::Model_V message, containing the models in the scene.
int get_models_input_port_index | ( | ) | const |
const drake::systems::OutputPort<double>& get_new_data_output_port | ( | ) | const |
int get_new_data_output_port_index | ( | ) | const |
int get_traffic_light_output_port_index | ( | ) | const |
const drake::systems::OutputPort<double>& get_traffic_lights_models_output_port | ( | ) | const |