#include <power_node.h>
Definition at line 54 of file power_node.h.
PowerBoard::PowerBoard | ( | const ros::NodeHandle | node_handle, |
unsigned int | serial_number = 0 |
||
) |
Definition at line 630 of file power_node.cpp.
PowerBoard::PowerBoard | ( | const ros::NodeHandle | node_handle, |
const std::string & | address_str | ||
) |
Definition at line 560 of file power_node2.cpp.
void PowerBoard::batteryCB | ( | const pr2_msgs::BatteryServer2::ConstPtr & | msgPtr | ) | [private] |
Definition at line 594 of file power_node2.cpp.
const char * PowerBoard::cb_state_to_str | ( | char | state | ) |
Definition at line 397 of file power_node.cpp.
const char* PowerBoard::cb_state_to_str | ( | char | state | ) |
void PowerBoard::checkFanSpeed | ( | ) |
Definition at line 636 of file power_node2.cpp.
int PowerBoard::collect_messages | ( | ) |
Definition at line 525 of file power_node.cpp.
int PowerBoard::collect_messages | ( | ) |
void PowerBoard::collectMessages | ( | ) |
Definition at line 669 of file power_node.cpp.
void PowerBoard::collectMessages | ( | ) |
bool PowerBoard::commandCallback | ( | pr2_power_board::PowerBoardCommand::Request & | req_, |
pr2_power_board::PowerBoardCommand::Response & | res_ | ||
) |
Definition at line 661 of file power_node.cpp.
bool PowerBoard::commandCallback | ( | pr2_power_board::PowerBoardCommand::Request & | req_, |
pr2_power_board::PowerBoardCommand::Response & | res_ | ||
) |
bool PowerBoard::commandCallback2 | ( | pr2_power_board::PowerBoardCommand2::Request & | req_, |
pr2_power_board::PowerBoardCommand2::Response & | res_ | ||
) |
Definition at line 651 of file power_node2.cpp.
int PowerBoard::getFanDuty | ( | ) | [private] |
Definition at line 611 of file power_node2.cpp.
void PowerBoard::init | ( | ) |
Definition at line 645 of file power_node.cpp.
void PowerBoard::init | ( | ) |
int PowerBoard::list_devices | ( | void | ) |
int PowerBoard::list_devices | ( | void | ) |
const char * PowerBoard::master_state_to_str | ( | char | state | ) |
Definition at line 415 of file power_node.cpp.
const char* PowerBoard::master_state_to_str | ( | char | state | ) |
int PowerBoard::process_message | ( | const PowerMessage * | msg, |
int | len | ||
) |
Definition at line 437 of file power_node.cpp.
int PowerBoard::process_message | ( | const PowerMessage * | msg, |
int | len | ||
) |
int PowerBoard::process_transition_message | ( | const TransitionMessage * | msg, |
int | len | ||
) |
Definition at line 482 of file power_node.cpp.
int PowerBoard::process_transition_message | ( | const TransitionMessage * | msg, |
int | len | ||
) |
int PowerBoard::requestMessage | ( | const unsigned int | message | ) |
Definition at line 883 of file power_node2.cpp.
int PowerBoard::send_command | ( | unsigned int | serial_number, |
int | circuit_breaker, | ||
const std::string & | command, | ||
unsigned | flags | ||
) |
Definition at line 283 of file power_node.cpp.
int PowerBoard::send_command | ( | int | circuit_breaker, |
const std::string & | command, | ||
unsigned | flags | ||
) |
Definition at line 250 of file power_node2.cpp.
void PowerBoard::sendMessages | ( | ) |
Definition at line 678 of file power_node.cpp.
void PowerBoard::sendMessages | ( | ) |
ros::Subscriber PowerBoard::battery_sub_ [private] |
Definition at line 83 of file power_node2.h.
std::map<int, float> PowerBoard::battery_temps_ [private] |
Definition at line 85 of file power_node2.h.
ros::Publisher PowerBoard::diags_pub [private] |
Definition at line 74 of file power_node.h.
bool PowerBoard::fan_high_ [private] |
Definition at line 86 of file power_node2.h.
uint64_t PowerBoard::ip_address [private] |
Definition at line 95 of file power_node2.h.
boost::mutex PowerBoard::library_lock_ [private] |
Definition at line 79 of file power_node.h.
ros::NodeHandle PowerBoard::node_handle [private] |
Definition at line 72 of file power_node.h.
Definition at line 77 of file power_node.h.
Definition at line 78 of file power_node.h.
unsigned int PowerBoard::serial_number [private] |
Definition at line 80 of file power_node.h.
ros::ServiceServer PowerBoard::service [private] |
Definition at line 73 of file power_node.h.
ros::ServiceServer PowerBoard::service2 [private] |
Definition at line 80 of file power_node2.h.
ros::Publisher PowerBoard::state_pub [private] |
Definition at line 75 of file power_node.h.