Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
GoalHandlerNode Class Reference

#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...
 

Detailed Description

class to cover the ros communication

Definition at line 10 of file multi_robot_goal_handler.h.

Member Enumeration Documentation

Enumerator
READ 
WRITE 

Definition at line 12 of file multi_robot_goal_handler.h.

Constructor & Destructor Documentation

GoalHandlerNode::GoalHandlerNode ( ros::NodeHandle n,
Mode  mode 
)

Definition at line 14 of file multi_robot_goal_handler.cpp.

Member Function Documentation

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.

void GoalHandlerNode::publishGoal ( )
private

Definition at line 70 of file multi_robot_goal_handler.cpp.

Member Data Documentation

int GoalHandlerNode::counter_
private

Definition at line 30 of file multi_robot_goal_handler.h.

std::string GoalHandlerNode::file_name_
private

parameter

Definition at line 27 of file multi_robot_goal_handler.h.

double GoalHandlerNode::loop_rate_
private

Definition at line 24 of file multi_robot_goal_handler.h.

tuw_multi_robot_msgs::RobotGoalsArray GoalHandlerNode::msg_
private

Definition at line 29 of file multi_robot_goal_handler.h.

ros::NodeHandle GoalHandlerNode::n_
private

Definition at line 21 of file multi_robot_goal_handler.h.

ros::NodeHandle GoalHandlerNode::n_param_
private

Definition at line 22 of file multi_robot_goal_handler.h.

ros::Publisher GoalHandlerNode::pub_goals_
private

parameter

Definition at line 28 of file multi_robot_goal_handler.h.

bool GoalHandlerNode::run_once_
private

parameter

Definition at line 26 of file multi_robot_goal_handler.h.

ros::Subscriber GoalHandlerNode::sub_goals_
private

Definition at line 23 of file multi_robot_goal_handler.h.

bool GoalHandlerNode::time_now_
private

paramter

Definition at line 25 of file multi_robot_goal_handler.h.


The documentation for this class was generated from the following files:


tuw_multi_robot_goal_generator
Author(s):
autogenerated on Mon Jun 10 2019 15:42:34