Public Member Functions | Private Types | Private Attributes
LightControl Class Reference

List of all members.

Public Member Functions

void actionCallback (const cob_light::SetLightModeGoalConstPtr &goal)
bool init ()
 LightControl ()
void markerCallback (color::rgba color)
void publish_diagnostics_cb (const ros::TimerEvent &)
bool serviceCallback (cob_light::SetLightMode::Request &req, cob_light::SetLightMode::Response &res)
bool stopMode (cob_light::StopLightMode::Request &req, cob_light::StopLightMode::Response &res)
void topicCallback (cob_light::ColorRGBAArray color)
 ~LightControl ()

Private Types

typedef
actionlib::SimpleActionServer
< cob_light::SetLightModeAction > 
ActionServer

Private Attributes

ActionServer_as
int _baudrate
bool _bPubMarker
bool _bSimEnabled
color::rgba _color
std::string _deviceDriver
std::string _deviceString
diagnostic_msgs::DiagnosticArray _diagnostics
ros::Timer _diagnostics_timer
int _invertMask
boost::mutex _mutex
ros::NodeHandle _nh
int _num_leds
ros::Publisher _pubDiagnostic
ros::Publisher _pubMarker
SerialIO _serialIO
std::string _sMarkerFrame
ros::ServiceServer _srvServer
ros::ServiceServer _srvStopMode
ros::Subscriber _sub
ros::Subscriber _sub_mode
int _topic_priority
IColorOp_colorO
ModeExecutorp_modeExecutor

Detailed Description

Definition at line 77 of file cob_light.cpp.


Member Typedef Documentation

typedef actionlib::SimpleActionServer<cob_light::SetLightModeAction> LightControl::ActionServer [private]

Definition at line 451 of file cob_light.cpp.


Constructor & Destructor Documentation

Definition at line 80 of file cob_light.cpp.

Definition at line 247 of file cob_light.cpp.


Member Function Documentation

void LightControl::actionCallback ( const cob_light::SetLightModeGoalConstPtr &  goal) [inline]

Definition at line 345 of file cob_light.cpp.

bool LightControl::init ( ) [inline]

Definition at line 84 of file cob_light.cpp.

void LightControl::markerCallback ( color::rgba  color) [inline]

Definition at line 402 of file cob_light.cpp.

Definition at line 396 of file cob_light.cpp.

bool LightControl::serviceCallback ( cob_light::SetLightMode::Request &  req,
cob_light::SetLightMode::Response &  res 
) [inline]

Definition at line 306 of file cob_light.cpp.

bool LightControl::stopMode ( cob_light::StopLightMode::Request &  req,
cob_light::StopLightMode::Response &  res 
) [inline]

Definition at line 384 of file cob_light.cpp.

void LightControl::topicCallback ( cob_light::ColorRGBAArray  color) [inline]

Definition at line 260 of file cob_light.cpp.


Member Data Documentation

Definition at line 452 of file cob_light.cpp.

int LightControl::_baudrate [private]

Definition at line 431 of file cob_light.cpp.

bool LightControl::_bPubMarker [private]

Definition at line 433 of file cob_light.cpp.

Definition at line 435 of file cob_light.cpp.

Definition at line 454 of file cob_light.cpp.

std::string LightControl::_deviceDriver [private]

Definition at line 429 of file cob_light.cpp.

std::string LightControl::_deviceString [private]

Definition at line 430 of file cob_light.cpp.

diagnostic_msgs::DiagnosticArray LightControl::_diagnostics [private]

Definition at line 447 of file cob_light.cpp.

Definition at line 449 of file cob_light.cpp.

Definition at line 432 of file cob_light.cpp.

boost::mutex LightControl::_mutex [private]

Definition at line 460 of file cob_light.cpp.

Definition at line 440 of file cob_light.cpp.

int LightControl::_num_leds [private]

Definition at line 436 of file cob_light.cpp.

Definition at line 448 of file cob_light.cpp.

Definition at line 443 of file cob_light.cpp.

Definition at line 457 of file cob_light.cpp.

std::string LightControl::_sMarkerFrame [private]

Definition at line 434 of file cob_light.cpp.

Definition at line 444 of file cob_light.cpp.

Definition at line 445 of file cob_light.cpp.

Definition at line 441 of file cob_light.cpp.

Definition at line 442 of file cob_light.cpp.

Definition at line 438 of file cob_light.cpp.

Definition at line 456 of file cob_light.cpp.

Definition at line 458 of file cob_light.cpp.


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


cob_light
Author(s): Benjamin Maidel
autogenerated on Sat Jun 8 2019 21:02:07