Go to the documentation of this file.
6 #include "pr2_power_board/PowerBoardCommand.h"
7 #include "boost/thread/mutex.hpp"
19 int Init(sockaddr_in *port_address, sockaddr_in *broadcast_address);
59 pr2_power_board::PowerBoardCommand::Response &
res_);
77 pr2_power_board::PowerBoardCommand::Request
req_;
78 pr2_power_board::PowerBoardCommand::Response
res_;
ros::NodeHandle node_handle
const char * cb_state_to_str(char state)
bool commandCallback(pr2_power_board::PowerBoardCommand::Request &req_, pr2_power_board::PowerBoardCommand::Response &res_)
boost::mutex library_lock_
pr2_power_board::PowerBoardCommand::Response res_
PowerBoard(const ros::NodeHandle node_handle, unsigned int serial_number=0)
int Init(sockaddr_in *port_address, sockaddr_in *broadcast_address)
int process_transition_message(const TransitionMessage *msg, int len)
int process_message(const PowerMessage *msg, int len)
void AddToReadSet(fd_set &set, int &max_sock) const
const char * master_state_to_str(char state)
const PowerMessage & getPowerMessage()
bool IsReadSet(fd_set set) const
void setPowerMessage(const PowerMessage &newpmsg)
const TransitionMessage & getTransitionMessage()
pr2_power_board::PowerBoardCommand::Request req_
unsigned int serial_number
int send_command(unsigned int serial_number, int circuit_breaker, const std::string &command, unsigned flags)
ros::ServiceServer service
void setTransitionMessage(const TransitionMessage &newtmsg)
pr2_power_board
Author(s): Curt Meyers, Blaise Gassend
autogenerated on Tue Mar 7 2023 03:19:35