This structure holds all led instances. More...
Public Member Functions | |
void | CreateModels (physics::WorldPtr world) |
Creates led's models in the physics world. | |
void | SetupModels (physics::WorldPtr world) |
Positions led's models in the world. | |
TaskboardLeds (const math::Pose &pose) | |
TaskboardLeds constructor. | |
Public Attributes | |
Led | numPadLeds [NUM_PAD_BUTTONS_COUNT] |
the numpad leds | |
Led | powerSwitchLed |
the power switch led | |
Led | rockerSwitchDownLed |
the rocker switch bottom led | |
Led | rockerSwitchUpLed |
the rocker switch top led | |
Led | toggleA03Led |
the A03 toggle led | |
Led | toggleA04BottomLed |
the A04 toggle bottom led | |
Led | toggleA04TopLed |
the A04 toggle top led | |
Led | toggleA05Led |
the A05 toggle led |
This structure holds all led instances.
Also TaskboardLeds provides leds convenient initialization methods that initialize all leds at one.
Definition at line 129 of file ISSTaskboardPanelA.cpp.
gazebo::GazeboTaskboardSlot1::TaskboardLeds::TaskboardLeds | ( | const math::Pose & | modelPose | ) |
TaskboardLeds constructor.
Initializes all leds.
modelPose | the taskboard model pose |
Definition at line 1604 of file ISSTaskboardPanelA.cpp.
void gazebo::GazeboTaskboardSlot1::TaskboardLeds::CreateModels | ( | physics::WorldPtr | world | ) |
Creates led's models in the physics world.
Called on the first update frame. Does not work correctly if called from plugin's Load method.
world | the physics world instance |
Definition at line 1648 of file ISSTaskboardPanelA.cpp.
void gazebo::GazeboTaskboardSlot1::TaskboardLeds::SetupModels | ( | physics::WorldPtr | world | ) |
Positions led's models in the world.
world | the physics world instance |
Definition at line 1668 of file ISSTaskboardPanelA.cpp.
Led gazebo::GazeboTaskboardSlot1::TaskboardLeds::numPadLeds[NUM_PAD_BUTTONS_COUNT] |
the numpad leds
Definition at line 138 of file ISSTaskboardPanelA.cpp.
the power switch led
Definition at line 132 of file ISSTaskboardPanelA.cpp.
the rocker switch bottom led
Definition at line 136 of file ISSTaskboardPanelA.cpp.
the rocker switch top led
Definition at line 134 of file ISSTaskboardPanelA.cpp.
the A03 toggle led
Definition at line 140 of file ISSTaskboardPanelA.cpp.
the A04 toggle bottom led
Definition at line 144 of file ISSTaskboardPanelA.cpp.
the A04 toggle top led
Definition at line 142 of file ISSTaskboardPanelA.cpp.
the A05 toggle led
Definition at line 146 of file ISSTaskboardPanelA.cpp.