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

List of all members.

Public Member Functions

int init ()
 NodeClass ()
void sendBatteryVoltage ()
void sendEmergencyStopStates ()
 ~NodeClass ()

Public Attributes

ros::NodeHandle n
ros::Publisher topicPub_isEmergencyStop
ros::Publisher topicPub_PowerBoardState
ros::Publisher topicPub_PowerState
ros::Publisher topicPub_Voltage

Private Types

enum  { ST_EM_FREE = 0, ST_EM_ACTIVE = 1, ST_EM_CONFIRMED = 2 }

Private Member Functions

int requestBoardStatus ()

Private Attributes

ros::Duration duration_for_EM_free_
int EM_stop_status_
SerRelayBoardm_SerRelayBoard
int protocol_version_
bool relayboard_available
bool relayboard_online
double relayboard_timeout_
std::string sComPort
ros::Time time_last_message_received_
ros::Time time_of_EM_confirmed_
double voltage_max_
double voltage_min_
double voltage_offset_

Detailed Description

Definition at line 80 of file cob_relayboard_node.cpp.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
ST_EM_FREE 
ST_EM_ACTIVE 
ST_EM_CONFIRMED 

Definition at line 145 of file cob_relayboard_node.cpp.


Constructor & Destructor Documentation

NodeClass::NodeClass ( ) [inline]

Definition at line 96 of file cob_relayboard_node.cpp.

NodeClass::~NodeClass ( ) [inline]

Definition at line 118 of file cob_relayboard_node.cpp.


Member Function Documentation

int NodeClass::init ( )

Definition at line 180 of file cob_relayboard_node.cpp.

int NodeClass::requestBoardStatus ( ) [private]

Definition at line 212 of file cob_relayboard_node.cpp.

Definition at line 241 of file cob_relayboard_node.cpp.

Definition at line 262 of file cob_relayboard_node.cpp.


Member Data Documentation

Definition at line 132 of file cob_relayboard_node.cpp.

Definition at line 131 of file cob_relayboard_node.cpp.

Definition at line 129 of file cob_relayboard_node.cpp.

Definition at line 85 of file cob_relayboard_node.cpp.

Definition at line 138 of file cob_relayboard_node.cpp.

Definition at line 142 of file cob_relayboard_node.cpp.

Definition at line 141 of file cob_relayboard_node.cpp.

Definition at line 134 of file cob_relayboard_node.cpp.

std::string NodeClass::sComPort [private]

Definition at line 128 of file cob_relayboard_node.cpp.

Definition at line 140 of file cob_relayboard_node.cpp.

Definition at line 133 of file cob_relayboard_node.cpp.

Definition at line 88 of file cob_relayboard_node.cpp.

Definition at line 90 of file cob_relayboard_node.cpp.

Definition at line 89 of file cob_relayboard_node.cpp.

Definition at line 91 of file cob_relayboard_node.cpp.

double NodeClass::voltage_max_ [private]

Definition at line 137 of file cob_relayboard_node.cpp.

double NodeClass::voltage_min_ [private]

Definition at line 136 of file cob_relayboard_node.cpp.

double NodeClass::voltage_offset_ [private]

Definition at line 135 of file cob_relayboard_node.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cob_relayboard
Author(s): Christian Connette
autogenerated on Fri Mar 1 2013 17:46:29