Public Member Functions | Protected Attributes
ShapeAction Class Reference

List of all members.

Public Member Functions

void controlCB (const turtlesim::Pose::ConstPtr &msg)
void goalCB ()
void preemptCB ()
 ShapeAction (std::string name)
 ~ShapeAction (void)

Protected Attributes

std::string action_name_
double apothem_
actionlib::SimpleActionServer
< turtle_actionlib::ShapeAction > 
as_
geometry_msgs::Twist command_
double dis_error_
int edge_progress_
int edges_
double interior_angle_
ros::NodeHandle nh_
ros::Publisher pub_
double radius_
turtle_actionlib::ShapeResult result_
double side_len_
bool start_edge_
double start_theta_
double start_x_
double start_y_
ros::Subscriber sub_
double theta_error_

Detailed Description

Definition at line 12 of file shape_server.cpp.


Constructor & Destructor Documentation

ShapeAction::ShapeAction ( std::string  name) [inline]

Definition at line 15 of file shape_server.cpp.

ShapeAction::~ShapeAction ( void  ) [inline]

Definition at line 30 of file shape_server.cpp.


Member Function Documentation

void ShapeAction::controlCB ( const turtlesim::Pose::ConstPtr &  msg) [inline]

Definition at line 61 of file shape_server.cpp.

void ShapeAction::goalCB ( ) [inline]

Definition at line 34 of file shape_server.cpp.

void ShapeAction::preemptCB ( ) [inline]

Definition at line 54 of file shape_server.cpp.


Member Data Documentation

std::string ShapeAction::action_name_ [protected]

Definition at line 123 of file shape_server.cpp.

double ShapeAction::apothem_ [protected]

Definition at line 124 of file shape_server.cpp.

actionlib::SimpleActionServer<turtle_actionlib::ShapeAction> ShapeAction::as_ [protected]

Definition at line 122 of file shape_server.cpp.

geometry_msgs::Twist ShapeAction::command_ [protected]

Definition at line 129 of file shape_server.cpp.

double ShapeAction::dis_error_ [protected]

Definition at line 126 of file shape_server.cpp.

int ShapeAction::edge_progress_ [protected]

Definition at line 127 of file shape_server.cpp.

int ShapeAction::edges_ [protected]

Definition at line 127 of file shape_server.cpp.

double ShapeAction::interior_angle_ [protected]

Definition at line 124 of file shape_server.cpp.

Definition at line 121 of file shape_server.cpp.

Definition at line 132 of file shape_server.cpp.

double ShapeAction::radius_ [protected]

Definition at line 124 of file shape_server.cpp.

turtle_actionlib::ShapeResult ShapeAction::result_ [protected]

Definition at line 130 of file shape_server.cpp.

double ShapeAction::side_len_ [protected]

Definition at line 124 of file shape_server.cpp.

bool ShapeAction::start_edge_ [protected]

Definition at line 128 of file shape_server.cpp.

double ShapeAction::start_theta_ [protected]

Definition at line 125 of file shape_server.cpp.

double ShapeAction::start_x_ [protected]

Definition at line 125 of file shape_server.cpp.

double ShapeAction::start_y_ [protected]

Definition at line 125 of file shape_server.cpp.

Definition at line 131 of file shape_server.cpp.

double ShapeAction::theta_error_ [protected]

Definition at line 126 of file shape_server.cpp.


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


turtle_actionlib
Author(s): Melonee Wise
autogenerated on Sun Oct 5 2014 23:14:51