The Led structrure describes the LED in the simulator and holds current led state. More...
Public Member Functions | |
void | CreateModel (physics::WorldPtr world) |
Create led model in the physics world. | |
Led () | |
Led default contructor. | |
Led (int index_, bool numPadLed_, LedColor color_, math::Pose pose_) | |
Led constructor that initializes led instance with the given parameters. | |
void | SetupModel (physics::WorldPtr world) |
Setup led model in the physics world. | |
Public Attributes | |
LedColor | color |
the color of this led | |
int | index |
the led index | |
bool | isOn |
whether this LED is on/off | |
bool | numPadLed |
if the led is numpad button led | |
std::string | offLinkName |
link name for OFF state | |
physics::ModelPtr | offModel |
model for OFF state | |
std::string | offModelName |
model name for OFF state | |
std::string | onLinkName |
link name for ON state | |
physics::ModelPtr | onModel |
model for ON state | |
std::string | onModelName |
model name for ON state | |
math::Pose | pose |
the pose of this led |
The Led structrure describes the LED in the simulator and holds current led state.
The structure also holds some led configuration parameters since leds configuration is a multi-step process (due to physics engine peculiarities).
Definition at line 78 of file ISSTaskboardPanelA.cpp.
Led default contructor.
Led structure default constructor.
Definition at line 1426 of file ISSTaskboardPanelA.cpp.
gazebo::GazeboTaskboardSlot1::Led::Led | ( | int | index_, |
bool | numPadLed_, | ||
LedColor | color_, | ||
math::Pose | pose_ | ||
) |
Led constructor that initializes led instance with the given parameters.
Led structure constructor that initializes led instance with provided values.
index_ | the led index |
numPadLed_ | whether it's the led for numpad button or not |
color_ | the led color in ON state |
pose_ | the led position |
Definition at line 1440 of file ISSTaskboardPanelA.cpp.
void gazebo::GazeboTaskboardSlot1::Led::CreateModel | ( | physics::WorldPtr | world | ) |
Create led model in the physics world.
Creates led's model in the physics world.
world | the physics world instance |
Definition at line 1453 of file ISSTaskboardPanelA.cpp.
void gazebo::GazeboTaskboardSlot1::Led::SetupModel | ( | physics::WorldPtr | world | ) |
Setup led model in the physics world.
Initializes model references and position the led in the world.
world | the physics world instance |
Definition at line 1570 of file ISSTaskboardPanelA.cpp.
the color of this led
Definition at line 107 of file ISSTaskboardPanelA.cpp.
the led index
Definition at line 103 of file ISSTaskboardPanelA.cpp.
whether this LED is on/off
Definition at line 81 of file ISSTaskboardPanelA.cpp.
if the led is numpad button led
Definition at line 105 of file ISSTaskboardPanelA.cpp.
std::string gazebo::GazeboTaskboardSlot1::Led::offLinkName |
link name for OFF state
Definition at line 98 of file ISSTaskboardPanelA.cpp.
physics::ModelPtr gazebo::GazeboTaskboardSlot1::Led::offModel |
model for OFF state
Definition at line 88 of file ISSTaskboardPanelA.cpp.
std::string gazebo::GazeboTaskboardSlot1::Led::offModelName |
model name for OFF state
Definition at line 94 of file ISSTaskboardPanelA.cpp.
std::string gazebo::GazeboTaskboardSlot1::Led::onLinkName |
link name for ON state
Definition at line 96 of file ISSTaskboardPanelA.cpp.
physics::ModelPtr gazebo::GazeboTaskboardSlot1::Led::onModel |
model for ON state
Definition at line 86 of file ISSTaskboardPanelA.cpp.
std::string gazebo::GazeboTaskboardSlot1::Led::onModelName |
model name for ON state
Definition at line 92 of file ISSTaskboardPanelA.cpp.
the pose of this led
Definition at line 109 of file ISSTaskboardPanelA.cpp.