Public Member Functions | Private Attributes
RobotHead Class Reference

List of all members.

Public Member Functions

void lookAt (geometry_msgs::PoseStamped pose_stamped)
void lookAt (std::string frame_id, double x, double y, double z, double max_velocity=0.15, double max_wait_seconds=10.0)
 Points the high-def camera frame at a point in a given frame.
void lookAt (std::string frame_id, double x, double y, double z, double max_wait_seconds=10.0)
 Points the high-def camera frame at a point in a given frame.
 RobotHead ()
 Action client initialization.
 RobotHead ()
 Action client initialization.
void search_and_spin ()
 Shake the head from left to right n times.
void searchAndSpin (float step)
 Shake the head from left to right n times.
bool switchActive (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
bool switchInactive (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
void track (geometry_msgs::PoseStamped ps)
void track (geometry_msgs::PoseStamped ps=geometry_msgs::PoseStamped())
 ~RobotHead ()
 ~RobotHead ()

Private Attributes

bool active_
float angle_range
std::string frame_to_point
std::string frame_to_track
float height_range
ros::Time last_pose
tf::TransformListener listener
PointHeadClientpoint_head_client_

Detailed Description

Definition at line 11 of file look_at_door_checkerboard.cpp.


Constructor & Destructor Documentation

RobotHead::RobotHead ( ) [inline]

Action client initialization.

Definition at line 22 of file look_at_door_checkerboard.cpp.

RobotHead::~RobotHead ( ) [inline]

Definition at line 33 of file look_at_door_checkerboard.cpp.

RobotHead::RobotHead ( ) [inline]

Action client initialization.

Definition at line 23 of file new_look.cpp.

RobotHead::~RobotHead ( ) [inline]

Definition at line 38 of file new_look.cpp.


Member Function Documentation

void RobotHead::lookAt ( geometry_msgs::PoseStamped  pose_stamped) [inline]

Definition at line 38 of file look_at_door_checkerboard.cpp.

void RobotHead::lookAt ( std::string  frame_id,
double  x,
double  y,
double  z,
double  max_velocity = 0.15,
double  max_wait_seconds = 10.0 
) [inline]

Points the high-def camera frame at a point in a given frame.

Definition at line 44 of file new_look.cpp.

void RobotHead::lookAt ( std::string  frame_id,
double  x,
double  y,
double  z,
double  max_wait_seconds = 10.0 
) [inline]

Points the high-def camera frame at a point in a given frame.

Definition at line 60 of file look_at_door_checkerboard.cpp.

void RobotHead::search_and_spin ( ) [inline]

Shake the head from left to right n times.

Definition at line 121 of file new_look.cpp.

void RobotHead::searchAndSpin ( float  step) [inline]

Shake the head from left to right n times.

Definition at line 98 of file look_at_door_checkerboard.cpp.

bool RobotHead::switchActive ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [inline]

Definition at line 130 of file look_at_door_checkerboard.cpp.

bool RobotHead::switchInactive ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [inline]

Definition at line 138 of file look_at_door_checkerboard.cpp.

void RobotHead::track ( geometry_msgs::PoseStamped  ps) [inline]

Definition at line 77 of file new_look.cpp.

void RobotHead::track ( geometry_msgs::PoseStamped  ps = geometry_msgs::PoseStamped()) [inline]

Definition at line 92 of file look_at_door_checkerboard.cpp.


Member Data Documentation

Definition at line 18 of file look_at_door_checkerboard.cpp.

Definition at line 18 of file new_look.cpp.

std::string RobotHead::frame_to_point [private]

Definition at line 15 of file look_at_door_checkerboard.cpp.

std::string RobotHead::frame_to_track [private]

Definition at line 16 of file look_at_door_checkerboard.cpp.

Definition at line 19 of file new_look.cpp.

Definition at line 17 of file new_look.cpp.

Definition at line 17 of file look_at_door_checkerboard.cpp.

Definition at line 14 of file look_at_door_checkerboard.cpp.


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


door_perception_old
Author(s): Felix Endres
autogenerated on Wed Dec 26 2012 15:56:10