controller::LaserScannerTrajController Class Reference

#include <laser_scanner_traj_controller.h>

List of all members.

Public Member Functions

int getCurProfileSegment ()
 Returns the current trajectory segment we're executing in our current profile.
double getCurProfileTime ()
 Returns what time we're currently at in the profile being executed.
double getProfileDuration ()
 Returns the length (in seconds) of our current profile.
bool init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n)
 LaserScannerTrajController ()
bool setPeriodicCmd (const pr2_msgs::PeriodicCmd &cmd)
bool setTrajCmd (const pr2_msgs::LaserTrajCmd &traj_cmd)
bool setTrajectory (const std::vector< trajectory::Trajectory::TPoint > &traj_points, double max_rate, double max_acc, std::string interp)
virtual void update ()
 ~LaserScannerTrajController ()

Private Attributes

filters::FilterChain< double > d_error_filter_chain_
pr2_mechanism_model::JointState * joint_state_
double last_error_
ros::Time last_time_
double max_acc_
double max_rate_
std::string name_
control_toolbox::Pid pid_controller_
pr2_mechanism_model::RobotState * robot_
tf::Vector3 track_point_
double tracking_offset_
trajectory::Trajectory traj_
double traj_command_
double traj_duration_
boost::mutex traj_lock_
ros::Time traj_start_time_

Detailed Description

Definition at line 64 of file laser_scanner_traj_controller.h.


Constructor & Destructor Documentation

LaserScannerTrajController::LaserScannerTrajController (  ) 

Definition at line 47 of file laser_scanner_traj_controller.cpp.

LaserScannerTrajController::~LaserScannerTrajController (  ) 

Definition at line 53 of file laser_scanner_traj_controller.cpp.


Member Function Documentation

int LaserScannerTrajController::getCurProfileSegment (  )  [inline]

Returns the current trajectory segment we're executing in our current profile.

Definition at line 220 of file laser_scanner_traj_controller.cpp.

double LaserScannerTrajController::getCurProfileTime (  )  [inline]

Returns what time we're currently at in the profile being executed.

Definition at line 207 of file laser_scanner_traj_controller.cpp.

double LaserScannerTrajController::getProfileDuration (  )  [inline]

Returns the length (in seconds) of our current profile.

Definition at line 215 of file laser_scanner_traj_controller.cpp.

bool LaserScannerTrajController::init ( pr2_mechanism_model::RobotState *  robot,
ros::NodeHandle &  n 
)

Definition at line 58 of file laser_scanner_traj_controller.cpp.

bool LaserScannerTrajController::setPeriodicCmd ( const pr2_msgs::PeriodicCmd &  cmd  ) 

Definition at line 254 of file laser_scanner_traj_controller.cpp.

bool LaserScannerTrajController::setTrajCmd ( const pr2_msgs::LaserTrajCmd &  traj_cmd  ) 

Definition at line 312 of file laser_scanner_traj_controller.cpp.

bool LaserScannerTrajController::setTrajectory ( const std::vector< trajectory::Trajectory::TPoint > &  traj_points,
double  max_rate,
double  max_acc,
std::string  interp 
)

Definition at line 226 of file laser_scanner_traj_controller.cpp.

void LaserScannerTrajController::update (  )  [virtual]

Todo:
replace this link tracker with a KDL inverse kinematics solver

Definition at line 135 of file laser_scanner_traj_controller.cpp.


Member Data Documentation

filters::FilterChain<double> controller::LaserScannerTrajController::d_error_filter_chain_ [private]

Definition at line 108 of file laser_scanner_traj_controller.h.

pr2_mechanism_model::JointState* controller::LaserScannerTrajController::joint_state_ [private]

Definition at line 90 of file laser_scanner_traj_controller.h.

Definition at line 110 of file laser_scanner_traj_controller.h.

Definition at line 109 of file laser_scanner_traj_controller.h.

Definition at line 104 of file laser_scanner_traj_controller.h.

Definition at line 103 of file laser_scanner_traj_controller.h.

Definition at line 97 of file laser_scanner_traj_controller.h.

Definition at line 107 of file laser_scanner_traj_controller.h.

pr2_mechanism_model::RobotState* controller::LaserScannerTrajController::robot_ [private]

Definition at line 89 of file laser_scanner_traj_controller.h.

Definition at line 95 of file laser_scanner_traj_controller.h.

Definition at line 111 of file laser_scanner_traj_controller.h.

Definition at line 93 of file laser_scanner_traj_controller.h.

Definition at line 112 of file laser_scanner_traj_controller.h.

Definition at line 100 of file laser_scanner_traj_controller.h.

Definition at line 92 of file laser_scanner_traj_controller.h.

Definition at line 99 of file laser_scanner_traj_controller.h.


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


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Fri Jan 11 09:39:08 2013