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 128 of file GazeboTaskboard.cpp.
gazebo::GazeboTaskboardSlot1::TaskboardLeds::TaskboardLeds | ( | const math::Pose & | modelPose | ) |
TaskboardLeds constructor.
Initializes all leds.
modelPose | the taskboard model pose |
Definition at line 1589 of file GazeboTaskboard.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 1633 of file GazeboTaskboard.cpp.
void gazebo::GazeboTaskboardSlot1::TaskboardLeds::SetupModels | ( | physics::WorldPtr | world | ) |
Positions led's models in the world.
world | the physics world instance |
Definition at line 1653 of file GazeboTaskboard.cpp.
Led gazebo::GazeboTaskboardSlot1::TaskboardLeds::numPadLeds[NUM_PAD_BUTTONS_COUNT] |
the numpad leds
Definition at line 137 of file GazeboTaskboard.cpp.
the power switch led
Definition at line 131 of file GazeboTaskboard.cpp.
the rocker switch bottom led
Definition at line 135 of file GazeboTaskboard.cpp.
the rocker switch top led
Definition at line 133 of file GazeboTaskboard.cpp.
the A03 toggle led
Definition at line 139 of file GazeboTaskboard.cpp.
the A04 toggle bottom led
Definition at line 143 of file GazeboTaskboard.cpp.
the A04 toggle top led
Definition at line 141 of file GazeboTaskboard.cpp.
the A05 toggle led
Definition at line 145 of file GazeboTaskboard.cpp.