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_ |
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_ |
double | voltage_max_ |
double | voltage_min_ |
double | voltage_offset_ |
Definition at line 80 of file cob_relayboard_node.cpp.
anonymous enum [private] |
Definition at line 145 of file cob_relayboard_node.cpp.
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.
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.
void NodeClass::sendBatteryVoltage | ( | ) |
Definition at line 241 of file cob_relayboard_node.cpp.
void NodeClass::sendEmergencyStopStates | ( | ) |
Definition at line 262 of file cob_relayboard_node.cpp.
Definition at line 132 of file cob_relayboard_node.cpp.
int NodeClass::EM_stop_status_ [private] |
Definition at line 131 of file cob_relayboard_node.cpp.
SerRelayBoard* NodeClass::m_SerRelayBoard [private] |
Definition at line 129 of file cob_relayboard_node.cpp.
Definition at line 85 of file cob_relayboard_node.cpp.
int NodeClass::protocol_version_ [private] |
Definition at line 138 of file cob_relayboard_node.cpp.
bool NodeClass::relayboard_available [private] |
Definition at line 142 of file cob_relayboard_node.cpp.
bool NodeClass::relayboard_online [private] |
Definition at line 141 of file cob_relayboard_node.cpp.
double NodeClass::relayboard_timeout_ [private] |
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.
ros::Time NodeClass::time_of_EM_confirmed_ [private] |
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.