delphyne
|
A helper System to assemble ignition::msgs::Model messages (given as an ignition::msgs::Model_V message i.e.
a collection of them) using externally provided details like name and pose.
Besides the base ignition::msgs::Model_V input port, a drake::systems::rendering::PoseBundle<double> input port provides poses and names.
#include <src/backend/ign_models_assembler.h>
Public Member Functions | |
IgnModelsAssembler () | |
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::InputPort< double > & | get_states_input_port () const |
Returns the input port descriptor for model states. More... | |
int | get_states_input_port_index () const |
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 to be assembled.
int get_models_input_port_index | ( | ) | const |
const drake::systems::InputPort<double>& get_states_input_port | ( | ) | const |
Returns the input port descriptor for model states.
This port expects a drake::systems::rendering::PoseBundle<double>, containing all models states.
int get_states_input_port_index | ( | ) | const |