Public Member Functions | Public Attributes
gazebo::GazeboTaskboardSlot1::Led Struct Reference

The Led structrure describes the LED in the simulator and holds current led state. More...

List of all members.

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

Detailed Description

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).

Author:
KennyAlive
Version:
1.0

Definition at line 78 of file ISSTaskboardPanelA.cpp.


Constructor & Destructor Documentation

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.

Parameters:
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.


Member Function Documentation

void gazebo::GazeboTaskboardSlot1::Led::CreateModel ( physics::WorldPtr  world)

Create led model in the physics world.

Creates led's model in the physics world.

Parameters:
worldthe 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.

Parameters:
worldthe physics world instance

Definition at line 1570 of file ISSTaskboardPanelA.cpp.


Member Data Documentation

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.

link name for OFF state

Definition at line 98 of file ISSTaskboardPanelA.cpp.

model for OFF state

Definition at line 88 of file ISSTaskboardPanelA.cpp.

model name for OFF state

Definition at line 94 of file ISSTaskboardPanelA.cpp.

link name for ON state

Definition at line 96 of file ISSTaskboardPanelA.cpp.

model for ON state

Definition at line 86 of file ISSTaskboardPanelA.cpp.

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.


The documentation for this struct was generated from the following file:


iss_taskboard_gazebo
Author(s):
autogenerated on Sat Jun 8 2019 19:20:28