#include <multi_robot_goal_handler.h>
Public Types | |
enum | Mode { READ = 0, WRITE = 1 } |
Public Member Functions | |
void | callback (const tuw_multi_robot_msgs::RobotGoalsArray &msg) |
GoalHandlerNode (ros::NodeHandle &n, Mode mode) | |
void | publish () |
Private Member Functions | |
void | publishGoal () |
Private Attributes | |
int | counter_ |
std::string | file_name_ |
parameter More... | |
double | loop_rate_ |
tuw_multi_robot_msgs::RobotGoalsArray | msg_ |
ros::NodeHandle | n_ |
ros::NodeHandle | n_param_ |
ros::Publisher | pub_goals_ |
parameter More... | |
bool | run_once_ |
parameter More... | |
ros::Subscriber | sub_goals_ |
bool | time_now_ |
paramter More... | |
class to cover the ros communication
Definition at line 10 of file multi_robot_goal_handler.h.
Enumerator | |
---|---|
READ | |
WRITE |
Definition at line 12 of file multi_robot_goal_handler.h.
GoalHandlerNode::GoalHandlerNode | ( | ros::NodeHandle & | n, |
Mode | mode | ||
) |
Definition at line 14 of file multi_robot_goal_handler.cpp.
void GoalHandlerNode::callback | ( | const tuw_multi_robot_msgs::RobotGoalsArray & | msg | ) |
parameter
Definition at line 30 of file multi_robot_goal_handler.cpp.
void GoalHandlerNode::publish | ( | ) |
Definition at line 61 of file multi_robot_goal_handler.cpp.
|
private |
Definition at line 70 of file multi_robot_goal_handler.cpp.
|
private |
Definition at line 30 of file multi_robot_goal_handler.h.
|
private |
parameter
Definition at line 27 of file multi_robot_goal_handler.h.
|
private |
Definition at line 24 of file multi_robot_goal_handler.h.
|
private |
Definition at line 29 of file multi_robot_goal_handler.h.
|
private |
Definition at line 21 of file multi_robot_goal_handler.h.
|
private |
Definition at line 22 of file multi_robot_goal_handler.h.
|
private |
parameter
Definition at line 28 of file multi_robot_goal_handler.h.
|
private |
parameter
Definition at line 26 of file multi_robot_goal_handler.h.
|
private |
Definition at line 23 of file multi_robot_goal_handler.h.
|
private |
paramter
Definition at line 25 of file multi_robot_goal_handler.h.