Public Member Functions | |
DriveBaseAction (std::string name) | |
bool | driveOdom (double x, double y) |
Drive to a relative position. | |
void | executeCB (const move_base_msgs::MoveBaseGoalConstPtr &move_base_goal) |
~DriveBaseAction (void) | |
Protected Attributes | |
std::string | action_name_ |
MoveBaseActionServer | as_ |
ros::Publisher | cmd_vel_pub_ |
We will be publishing to the "cmd_vel" topic to issue commands. | |
move_base_msgs::MoveBaseFeedback | feedback_ |
tf::TransformListener | listener_ |
We will be listening to TF transforms as well. | |
ros::NodeHandle | nh_ |
move_base_msgs::MoveBaseResult | result_ |
Definition at line 10 of file drive_base_action.cpp.
DriveBaseAction::DriveBaseAction | ( | std::string | name | ) | [inline] |
Definition at line 28 of file drive_base_action.cpp.
DriveBaseAction::~DriveBaseAction | ( | void | ) | [inline] |
Definition at line 35 of file drive_base_action.cpp.
bool DriveBaseAction::driveOdom | ( | double | x, |
double | y | ||
) | [inline] |
Drive to a relative position.
Definition at line 40 of file drive_base_action.cpp.
void DriveBaseAction::executeCB | ( | const move_base_msgs::MoveBaseGoalConstPtr & | move_base_goal | ) | [inline] |
Definition at line 101 of file drive_base_action.cpp.
std::string DriveBaseAction::action_name_ [protected] |
Definition at line 16 of file drive_base_action.cpp.
MoveBaseActionServer DriveBaseAction::as_ [protected] |
Definition at line 15 of file drive_base_action.cpp.
ros::Publisher DriveBaseAction::cmd_vel_pub_ [protected] |
We will be publishing to the "cmd_vel" topic to issue commands.
Definition at line 22 of file drive_base_action.cpp.
Definition at line 18 of file drive_base_action.cpp.
tf::TransformListener DriveBaseAction::listener_ [protected] |
We will be listening to TF transforms as well.
Definition at line 24 of file drive_base_action.cpp.
ros::NodeHandle DriveBaseAction::nh_ [protected] |
Definition at line 14 of file drive_base_action.cpp.
Definition at line 19 of file drive_base_action.cpp.