#include <Head.h>
Public Member Functions | |
void | lookAt (std::string frame_id, double x, double y, double z, bool waitfor=false) |
Points the high-def camera frame at a point in a given frame. | |
void | lookAtThreaded (std::string frame_id, double x, double y, double z) |
Points the high-def camera frame at a point in a given frame. | |
void | lookAtThreaded (std::string frame_id, btVector3 target) |
void | stopThread () |
Static Public Member Functions | |
static RobotHead * | getInstance () |
Public Attributes | |
volatile bool | stop |
Private Member Functions | |
RobotHead () | |
Action client initialization. | |
void | spinner (std::string frame_id, double x, double y, double z, double rate) |
~RobotHead () | |
Private Attributes | |
PointHeadClient * | point_head_client_ |
boost::thread * | t1 |
Static Private Attributes | |
static RobotHead * | instance_ = 0 |
RobotHead::RobotHead | ( | ) | [private] |
RobotHead::~RobotHead | ( | ) | [private] |
static RobotHead* RobotHead::getInstance | ( | ) | [inline, static] |
void RobotHead::lookAt | ( | std::string | frame_id, |
double | x, | ||
double | y, | ||
double | z, | ||
bool | waitfor = false |
||
) |
void RobotHead::lookAtThreaded | ( | std::string | frame_id, |
double | x, | ||
double | y, | ||
double | z | ||
) |
void RobotHead::lookAtThreaded | ( | std::string | frame_id, |
btVector3 | target | ||
) |
void RobotHead::spinner | ( | std::string | frame_id, |
double | x, | ||
double | y, | ||
double | z, | ||
double | rate | ||
) | [private] |
void RobotHead::stopThread | ( | ) |
RobotHead * RobotHead::instance_ = 0 [static, private] |
PointHeadClient* RobotHead::point_head_client_ [private] |
volatile bool RobotHead::stop |
boost::thread* RobotHead::t1 [private] |