delphyne
|
A pass through system with input u
and output y = u
that only redirects to the output when the commanded switch is true.
This system is expected to receive ignition msgs data types, as they are expected to provide a Clear()
method for clearing out the content.
Input Port 0: Data to be passed through. (InputPort getter: get_data_input_port())
Input Port 1: Switch to command behavior. (InputPort getter: get_switch_input_port())
Output Port 0: Data passed through. (OutputPort getter: get_data_output_port())
T | The data type of the input data and output. |
#include <src/backend/ign_commanded_pass_through.h>
Public Member Functions | |
IgnCommandedPassThrough () | |
const drake::systems::InputPort< double > & | get_data_input_port () const |
int | get_data_input_port_index () const |
const drake::systems::InputPort< double > & | get_switch_input_port () const |
int | get_switch_input_port_index () const |
const drake::systems::OutputPort< double > & | get_data_output_port () const |
int | get_data_output_port_index () const |
const drake::systems::InputPort<double>& get_data_input_port | ( | ) | const |
int get_data_input_port_index | ( | ) | const |
const drake::systems::OutputPort<double>& get_data_output_port | ( | ) | const |
int get_data_output_port_index | ( | ) | const |
const drake::systems::InputPort<double>& get_switch_input_port | ( | ) | const |
int get_switch_input_port_index | ( | ) | const |