#include <power_node.h>
|
const char * | cb_state_to_str (char state) |
|
const char * | cb_state_to_str (char state) |
|
void | checkFanSpeed () |
|
int | collect_messages () |
|
int | collect_messages () |
|
void | collectMessages () |
|
void | collectMessages () |
|
bool | commandCallback (pr2_power_board::PowerBoardCommand::Request &req_, pr2_power_board::PowerBoardCommand::Response &res_) |
|
bool | commandCallback (pr2_power_board::PowerBoardCommand::Request &req_, pr2_power_board::PowerBoardCommand::Response &res_) |
|
bool | commandCallback2 (pr2_power_board::PowerBoardCommand2::Request &req_, pr2_power_board::PowerBoardCommand2::Response &res_) |
|
void | init () |
|
void | init () |
|
int | list_devices (void) |
|
int | list_devices (void) |
|
const char * | master_state_to_str (char state) |
|
const char * | master_state_to_str (char state) |
|
| PowerBoard (const ros::NodeHandle node_handle, unsigned int serial_number=0) |
|
| PowerBoard (const ros::NodeHandle node_handle, const std::string &address_str) |
|
int | process_message (const PowerMessage *msg, int len) |
|
int | process_message (const PowerMessage *msg, int len) |
|
int | process_transition_message (const TransitionMessage *msg, int len) |
|
int | process_transition_message (const TransitionMessage *msg, int len) |
|
int | requestMessage (const unsigned int message) |
|
int | send_command (unsigned int serial_number, int circuit_breaker, const std::string &command, unsigned flags) |
|
int | send_command (int circuit_breaker, const std::string &command, unsigned flags) |
|
void | sendMessages () |
|
void | sendMessages () |
|
Definition at line 54 of file power_node.h.
◆ PowerBoard() [1/2]
PowerBoard::PowerBoard |
( |
const ros::NodeHandle |
node_handle, |
|
|
unsigned int |
serial_number = 0 |
|
) |
| |
◆ PowerBoard() [2/2]
PowerBoard::PowerBoard |
( |
const ros::NodeHandle |
node_handle, |
|
|
const std::string & |
address_str |
|
) |
| |
◆ batteryCB()
void PowerBoard::batteryCB |
( |
const pr2_msgs::BatteryServer2::ConstPtr & |
msgPtr | ) |
|
|
private |
◆ cb_state_to_str() [1/2]
const char * PowerBoard::cb_state_to_str |
( |
char |
state | ) |
|
◆ cb_state_to_str() [2/2]
const char* PowerBoard::cb_state_to_str |
( |
char |
state | ) |
|
◆ checkFanSpeed()
void PowerBoard::checkFanSpeed |
( |
| ) |
|
◆ collect_messages() [1/2]
int PowerBoard::collect_messages |
( |
| ) |
|
◆ collect_messages() [2/2]
int PowerBoard::collect_messages |
( |
| ) |
|
◆ collectMessages() [1/2]
void PowerBoard::collectMessages |
( |
| ) |
|
◆ collectMessages() [2/2]
void PowerBoard::collectMessages |
( |
| ) |
|
◆ commandCallback() [1/2]
bool PowerBoard::commandCallback |
( |
pr2_power_board::PowerBoardCommand::Request & |
req_, |
|
|
pr2_power_board::PowerBoardCommand::Response & |
res_ |
|
) |
| |
◆ commandCallback() [2/2]
bool PowerBoard::commandCallback |
( |
pr2_power_board::PowerBoardCommand::Request & |
req_, |
|
|
pr2_power_board::PowerBoardCommand::Response & |
res_ |
|
) |
| |
◆ commandCallback2()
bool PowerBoard::commandCallback2 |
( |
pr2_power_board::PowerBoardCommand2::Request & |
req_, |
|
|
pr2_power_board::PowerBoardCommand2::Response & |
res_ |
|
) |
| |
◆ getFanDuty()
int PowerBoard::getFanDuty |
( |
| ) |
|
|
private |
◆ init() [1/2]
void PowerBoard::init |
( |
| ) |
|
◆ init() [2/2]
void PowerBoard::init |
( |
| ) |
|
◆ list_devices() [1/2]
int PowerBoard::list_devices |
( |
void |
| ) |
|
◆ list_devices() [2/2]
int PowerBoard::list_devices |
( |
void |
| ) |
|
◆ master_state_to_str() [1/2]
const char * PowerBoard::master_state_to_str |
( |
char |
state | ) |
|
◆ master_state_to_str() [2/2]
const char* PowerBoard::master_state_to_str |
( |
char |
state | ) |
|
◆ process_message() [1/2]
int PowerBoard::process_message |
( |
const PowerMessage * |
msg, |
|
|
int |
len |
|
) |
| |
◆ process_message() [2/2]
int PowerBoard::process_message |
( |
const PowerMessage * |
msg, |
|
|
int |
len |
|
) |
| |
◆ process_transition_message() [1/2]
int PowerBoard::process_transition_message |
( |
const TransitionMessage * |
msg, |
|
|
int |
len |
|
) |
| |
◆ process_transition_message() [2/2]
int PowerBoard::process_transition_message |
( |
const TransitionMessage * |
msg, |
|
|
int |
len |
|
) |
| |
◆ requestMessage()
int PowerBoard::requestMessage |
( |
const unsigned int |
message | ) |
|
◆ send_command() [1/2]
int PowerBoard::send_command |
( |
unsigned int |
serial_number, |
|
|
int |
circuit_breaker, |
|
|
const std::string & |
command, |
|
|
unsigned |
flags |
|
) |
| |
◆ send_command() [2/2]
int PowerBoard::send_command |
( |
int |
circuit_breaker, |
|
|
const std::string & |
command, |
|
|
unsigned |
flags |
|
) |
| |
◆ sendMessages() [1/2]
void PowerBoard::sendMessages |
( |
| ) |
|
◆ sendMessages() [2/2]
void PowerBoard::sendMessages |
( |
| ) |
|
◆ battery_sub_
◆ battery_temps_
std::map<int, float> PowerBoard::battery_temps_ |
|
private |
◆ diags_pub
◆ fan_high_
bool PowerBoard::fan_high_ |
|
private |
◆ ip_address
uint64_t PowerBoard::ip_address |
|
private |
◆ library_lock_
boost::mutex PowerBoard::library_lock_ |
|
private |
◆ node_handle
◆ req_
pr2_power_board::PowerBoardCommand::Request PowerBoard::req_ |
|
private |
◆ res_
pr2_power_board::PowerBoardCommand::Response PowerBoard::res_ |
|
private |
◆ serial_number
unsigned int PowerBoard::serial_number |
|
private |
◆ service
◆ service2
◆ state_pub
The documentation for this class was generated from the following files: