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

Public Member Functions

bool driveForwardOdom (double distance)
 
void goalCB ()
 
 MoveActionServer (const std::string name)
 
void preemptCB ()
 
bool turnOdom (double radians)
 

Private Attributes

std::string action_name_
 
actionlib::SimpleActionServer< turtlebot_actions::TurtlebotMoveAction > as_
 
std::string base_frame
 
ros::Publisher cmd_vel_pub_
 
turtlebot_actions::TurtlebotMoveFeedback feedback_
 
double forward_rate
 
turtlebot_actions::TurtlebotMoveGoalConstPtr goal_
 
tf::TransformListener listener_
 
ros::NodeHandle nh_
 
std::string odom_frame
 
turtlebot_actions::TurtlebotMoveResult result_
 
ros::Subscriber sub_
 
double turn_rate
 

Detailed Description

Definition at line 39 of file turtlebot_move_action_server.cpp.

Constructor & Destructor Documentation

MoveActionServer::MoveActionServer ( const std::string  name)
inline

Definition at line 62 of file turtlebot_move_action_server.cpp.

Member Function Documentation

bool MoveActionServer::driveForwardOdom ( double  distance)
inline

Definition at line 110 of file turtlebot_move_action_server.cpp.

void MoveActionServer::goalCB ( )
inline

Definition at line 80 of file turtlebot_move_action_server.cpp.

void MoveActionServer::preemptCB ( )
inline

Definition at line 103 of file turtlebot_move_action_server.cpp.

bool MoveActionServer::turnOdom ( double  radians)
inline

Definition at line 186 of file turtlebot_move_action_server.cpp.

Member Data Documentation

std::string MoveActionServer::action_name_
private

Definition at line 45 of file turtlebot_move_action_server.cpp.

actionlib::SimpleActionServer<turtlebot_actions::TurtlebotMoveAction> MoveActionServer::as_
private

Definition at line 44 of file turtlebot_move_action_server.cpp.

std::string MoveActionServer::base_frame
private

Definition at line 56 of file turtlebot_move_action_server.cpp.

ros::Publisher MoveActionServer::cmd_vel_pub_
private

Definition at line 52 of file turtlebot_move_action_server.cpp.

turtlebot_actions::TurtlebotMoveFeedback MoveActionServer::feedback_
private

Definition at line 47 of file turtlebot_move_action_server.cpp.

double MoveActionServer::forward_rate
private

Definition at line 59 of file turtlebot_move_action_server.cpp.

turtlebot_actions::TurtlebotMoveGoalConstPtr MoveActionServer::goal_
private

Definition at line 49 of file turtlebot_move_action_server.cpp.

tf::TransformListener MoveActionServer::listener_
private

Definition at line 53 of file turtlebot_move_action_server.cpp.

ros::NodeHandle MoveActionServer::nh_
private

Definition at line 43 of file turtlebot_move_action_server.cpp.

std::string MoveActionServer::odom_frame
private

Definition at line 57 of file turtlebot_move_action_server.cpp.

turtlebot_actions::TurtlebotMoveResult MoveActionServer::result_
private

Definition at line 48 of file turtlebot_move_action_server.cpp.

ros::Subscriber MoveActionServer::sub_
private

Definition at line 51 of file turtlebot_move_action_server.cpp.

double MoveActionServer::turn_rate
private

Definition at line 58 of file turtlebot_move_action_server.cpp.


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


turtlebot_actions
Author(s): Helen Oleynikova, Melonee Wise
autogenerated on Mon Jun 10 2019 15:43:57