delphyne
IgnModelsTrafficLights Class Reference

Detailed Description

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>

Inheritance diagram for IgnModelsTrafficLights:
[legend]

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
 

Constructor & Destructor Documentation

◆ IgnModelsTrafficLights()

Member Function Documentation

◆ get_models_input_port()

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.

◆ get_models_input_port_index()

int get_models_input_port_index ( ) const

◆ get_new_data_output_port()

const drake::systems::OutputPort<double>& get_new_data_output_port ( ) const

◆ get_new_data_output_port_index()

int get_new_data_output_port_index ( ) const

◆ get_traffic_light_output_port_index()

int get_traffic_light_output_port_index ( ) const

◆ get_traffic_lights_models_output_port()

const drake::systems::OutputPort<double>& get_traffic_lights_models_output_port ( ) const

The documentation for this class was generated from the following files: