Public Member Functions | Private Member Functions | Private Attributes
BasePController Class Reference

List of all members.

Public Member Functions

 BasePController ()
void main ()
 ~BasePController ()

Private Member Functions

bool comparePoses (double x1, double y1, double a1, double x2, double y2, double a2)
void compute_p_control ()
void cycle ()
double limit_acc (double x, double x_old, double limit)
void newGoal (const geometry_msgs::PoseStamped &msg)
void newGoal (const geometry_msgs::PoseStamped::ConstPtr &msg)
void newMoveBaseGoal ()
double p_control (double x, double p, double limit)
void parseParams ()
void preemptMoveBaseGoal ()
bool retrieve_pose ()
 retrieves tf pose and updates (x_now_, y_now_, th_now_)
void sendVelCmd (double vx, double vy, double vth)
void stopRobot ()

Private Attributes

double acc_ang_max_
double acc_lin_max_
std::string base_link_frame_
BaseDistance dist_control_
ros::Duration fail_timeout_
double fail_velocity_
std::string global_frame_
bool goal_set_
bool keep_distance_
boost::mutex lock
int loop_rate_
ros::Time low_speed_time_
actionlib::SimpleActionServer
< move_base_msgs::MoveBaseAction
move_base_actionserver_
ros::NodeHandle n_
double p_
ros::Publisher pub_vel_
ros::Subscriber sub_goal_
tf::TransformListener tf_
double th_goal_
double th_now_
double th_tolerance_
double vel_ang_max_
double vel_lin_max_
double vth_
double vx_
double vy_
double x_goal_
double x_now_
double xy_tolerance_
double y_goal_
double y_now_

Detailed Description

Definition at line 97 of file nav_pcontroller.cc.


Constructor & Destructor Documentation

Definition at line 187 of file nav_pcontroller.cc.

Definition at line 220 of file nav_pcontroller.cc.


Member Function Documentation

bool BasePController::comparePoses ( double  x1,
double  y1,
double  a1,
double  x2,
double  y2,
double  a2 
) [private]

Definition at line 616 of file nav_pcontroller.cc.

Definition at line 482 of file nav_pcontroller.cc.

void BasePController::cycle ( ) [private]

Definition at line 517 of file nav_pcontroller.cc.

double BasePController::limit_acc ( double  x,
double  x_old,
double  limit 
) [private]

Definition at line 173 of file nav_pcontroller.cc.

Definition at line 227 of file nav_pcontroller.cc.

void BasePController::newGoal ( const geometry_msgs::PoseStamped &  msg) [private]

Definition at line 414 of file nav_pcontroller.cc.

void BasePController::newGoal ( const geometry_msgs::PoseStamped::ConstPtr &  msg) [private]

Definition at line 445 of file nav_pcontroller.cc.

Definition at line 389 of file nav_pcontroller.cc.

double BasePController::p_control ( double  x,
double  p,
double  limit 
) [private]

Definition at line 167 of file nav_pcontroller.cc.

void BasePController::parseParams ( ) [private]

Definition at line 240 of file nav_pcontroller.cc.

Definition at line 405 of file nav_pcontroller.cc.

retrieves tf pose and updates (x_now_, y_now_, th_now_)

Definition at line 458 of file nav_pcontroller.cc.

void BasePController::sendVelCmd ( double  vx,
double  vy,
double  vth 
) [private]

Definition at line 604 of file nav_pcontroller.cc.

void BasePController::stopRobot ( ) [private]

Definition at line 599 of file nav_pcontroller.cc.


Member Data Documentation

Definition at line 103 of file nav_pcontroller.cc.

Definition at line 103 of file nav_pcontroller.cc.

std::string BasePController::base_link_frame_ [private]

Definition at line 112 of file nav_pcontroller.cc.

Definition at line 114 of file nav_pcontroller.cc.

Definition at line 101 of file nav_pcontroller.cc.

Definition at line 102 of file nav_pcontroller.cc.

std::string BasePController::global_frame_ [private]

Definition at line 111 of file nav_pcontroller.cc.

Definition at line 109 of file nav_pcontroller.cc.

Definition at line 109 of file nav_pcontroller.cc.

boost::mutex BasePController::lock [private]

Definition at line 123 of file nav_pcontroller.cc.

Definition at line 104 of file nav_pcontroller.cc.

Definition at line 121 of file nav_pcontroller.cc.

Definition at line 156 of file nav_pcontroller.cc.

Definition at line 116 of file nav_pcontroller.cc.

double BasePController::p_ [private]

Definition at line 103 of file nav_pcontroller.cc.

Definition at line 119 of file nav_pcontroller.cc.

Definition at line 118 of file nav_pcontroller.cc.

Definition at line 117 of file nav_pcontroller.cc.

double BasePController::th_goal_ [private]

Definition at line 107 of file nav_pcontroller.cc.

double BasePController::th_now_ [private]

Definition at line 108 of file nav_pcontroller.cc.

Definition at line 100 of file nav_pcontroller.cc.

Definition at line 103 of file nav_pcontroller.cc.

Definition at line 103 of file nav_pcontroller.cc.

double BasePController::vth_ [private]

Definition at line 106 of file nav_pcontroller.cc.

double BasePController::vx_ [private]

Definition at line 106 of file nav_pcontroller.cc.

double BasePController::vy_ [private]

Definition at line 106 of file nav_pcontroller.cc.

double BasePController::x_goal_ [private]

Definition at line 107 of file nav_pcontroller.cc.

double BasePController::x_now_ [private]

Definition at line 108 of file nav_pcontroller.cc.

Definition at line 100 of file nav_pcontroller.cc.

double BasePController::y_goal_ [private]

Definition at line 107 of file nav_pcontroller.cc.

double BasePController::y_now_ [private]

Definition at line 108 of file nav_pcontroller.cc.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


nav_pcontroller
Author(s): Ingo Kresse
autogenerated on Thu May 23 2013 09:13:24