Public Member Functions | |
int | init () |
NodeClass () | |
void | sendBatteryVoltage () |
void | sendEmergencyStopStates () |
~NodeClass () | |
Public Attributes | |
ros::NodeHandle | n |
ros::NodeHandle | n_priv |
ros::Publisher | topicPub_isEmergencyStop |
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_ |
SerRelayBoard * | m_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_ |
Definition at line 41 of file cob_relayboard_node.cpp.
anonymous enum [private] |
Definition at line 98 of file cob_relayboard_node.cpp.
NodeClass::NodeClass | ( | ) | [inline] |
Definition at line 56 of file cob_relayboard_node.cpp.
NodeClass::~NodeClass | ( | ) | [inline] |
Definition at line 74 of file cob_relayboard_node.cpp.
int NodeClass::init | ( | ) |
Definition at line 133 of file cob_relayboard_node.cpp.
int NodeClass::requestBoardStatus | ( | ) | [private] |
Definition at line 161 of file cob_relayboard_node.cpp.
void NodeClass::sendBatteryVoltage | ( | ) |
Definition at line 190 of file cob_relayboard_node.cpp.
void NodeClass::sendEmergencyStopStates | ( | ) |
Definition at line 197 of file cob_relayboard_node.cpp.
Definition at line 88 of file cob_relayboard_node.cpp.
int NodeClass::EM_stop_status_ [private] |
Definition at line 87 of file cob_relayboard_node.cpp.
SerRelayBoard* NodeClass::m_SerRelayBoard [private] |
Definition at line 85 of file cob_relayboard_node.cpp.
Definition at line 46 of file cob_relayboard_node.cpp.
Definition at line 47 of file cob_relayboard_node.cpp.
int NodeClass::protocol_version_ [private] |
Definition at line 91 of file cob_relayboard_node.cpp.
bool NodeClass::relayboard_available [private] |
Definition at line 95 of file cob_relayboard_node.cpp.
bool NodeClass::relayboard_online [private] |
Definition at line 94 of file cob_relayboard_node.cpp.
double NodeClass::relayboard_timeout_ [private] |
Definition at line 90 of file cob_relayboard_node.cpp.
std::string NodeClass::sComPort [private] |
Definition at line 84 of file cob_relayboard_node.cpp.
Definition at line 93 of file cob_relayboard_node.cpp.
ros::Time NodeClass::time_of_EM_confirmed_ [private] |
Definition at line 89 of file cob_relayboard_node.cpp.
Definition at line 50 of file cob_relayboard_node.cpp.
Definition at line 51 of file cob_relayboard_node.cpp.