Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PTUTracker Class Reference

Classes

struct  Point2f
 
struct  Point3f
 

Public Member Functions

void fobCB (const asr_msgs::AsrObject &fob_msg)
 
int getch (void)
 
int getKey ()
 
void movePTU (char c)
 
void ptuCB (const sensor_msgs::JointState &ptu_msg)
 
 PTUTracker (ros::NodeHandle nh)
 
void rotPTUAbsolute (double pan, double tilt)
 
void rotPTURelative (double pan, double tilt)
 
Point2f toSphereCoords (geometry_msgs::PointStamped p)
 
Point2f toSphereCoords (Point3f pt)
 

Static Public Member Functions

static void spin (PTUTracker *tracker)
 

Public Attributes

geometry_msgs::Pose fob_pose_left
 
geometry_msgs::Pose fob_pose_right
 
ros::Subscriber fob_sub
 
std::string fob_topic
 
std::string fob_tracking_point_left
 
std::string fob_tracking_point_right
 
geometry_msgs::PointStamped fobPoint
 
ros::NodeHandle nh
 
struct termios oldt
 
int panAmount
 
ros::Publisher ptu_pub
 
std::string ptu_state
 
std::string ptu_state_cmd
 
ros::Subscriber ptu_sub
 
geometry_msgs::PointStamped ptuPoint
 
std::vector< double > ptuPosition
 
tf::TransformBroadcaster tb
 
tf::TransformListener tf
 
int tiltAmount
 

Detailed Description

Definition at line 36 of file PTUTracker.cpp.

Constructor & Destructor Documentation

PTUTracker::PTUTracker ( ros::NodeHandle  nh)
inline

Definition at line 94 of file PTUTracker.cpp.

Member Function Documentation

void PTUTracker::fobCB ( const asr_msgs::AsrObject &  fob_msg)
inline

Definition at line 72 of file PTUTracker.cpp.

int PTUTracker::getch ( void  )
inline

Definition at line 197 of file PTUTracker.cpp.

int PTUTracker::getKey ( )
inline

Definition at line 211 of file PTUTracker.cpp.

void PTUTracker::movePTU ( char  c)
inline

Definition at line 154 of file PTUTracker.cpp.

void PTUTracker::ptuCB ( const sensor_msgs::JointState &  ptu_msg)
inline

Definition at line 89 of file PTUTracker.cpp.

void PTUTracker::rotPTUAbsolute ( double  pan,
double  tilt 
)
inline

Definition at line 174 of file PTUTracker.cpp.

void PTUTracker::rotPTURelative ( double  pan,
double  tilt 
)
inline

Definition at line 191 of file PTUTracker.cpp.

static void PTUTracker::spin ( PTUTracker tracker)
inlinestatic

Definition at line 220 of file PTUTracker.cpp.

Point2f PTUTracker::toSphereCoords ( geometry_msgs::PointStamped  p)
inline

Definition at line 127 of file PTUTracker.cpp.

Point2f PTUTracker::toSphereCoords ( Point3f  pt)
inline

Definition at line 136 of file PTUTracker.cpp.

Member Data Documentation

geometry_msgs::Pose PTUTracker::fob_pose_left

Definition at line 59 of file PTUTracker.cpp.

geometry_msgs::Pose PTUTracker::fob_pose_right

Definition at line 60 of file PTUTracker.cpp.

ros::Subscriber PTUTracker::fob_sub

Definition at line 48 of file PTUTracker.cpp.

std::string PTUTracker::fob_topic

Definition at line 53 of file PTUTracker.cpp.

std::string PTUTracker::fob_tracking_point_left

Definition at line 53 of file PTUTracker.cpp.

std::string PTUTracker::fob_tracking_point_right

Definition at line 53 of file PTUTracker.cpp.

geometry_msgs::PointStamped PTUTracker::fobPoint

Definition at line 63 of file PTUTracker.cpp.

ros::NodeHandle PTUTracker::nh

Definition at line 45 of file PTUTracker.cpp.

struct termios PTUTracker::oldt

Definition at line 65 of file PTUTracker.cpp.

int PTUTracker::panAmount

Definition at line 54 of file PTUTracker.cpp.

ros::Publisher PTUTracker::ptu_pub

Definition at line 50 of file PTUTracker.cpp.

std::string PTUTracker::ptu_state

Definition at line 53 of file PTUTracker.cpp.

std::string PTUTracker::ptu_state_cmd

Definition at line 53 of file PTUTracker.cpp.

ros::Subscriber PTUTracker::ptu_sub

Definition at line 49 of file PTUTracker.cpp.

geometry_msgs::PointStamped PTUTracker::ptuPoint

Definition at line 62 of file PTUTracker.cpp.

std::vector<double> PTUTracker::ptuPosition

Definition at line 57 of file PTUTracker.cpp.

tf::TransformBroadcaster PTUTracker::tb

Definition at line 69 of file PTUTracker.cpp.

tf::TransformListener PTUTracker::tf

Definition at line 68 of file PTUTracker.cpp.

int PTUTracker::tiltAmount

Definition at line 54 of file PTUTracker.cpp.


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


asr_flock_of_birds_tracking
Author(s): Engelmann Stephan, Heller Florian, Meißner Pascal, Stöckle Patrick, Wittenbeck Valerij
autogenerated on Thu Feb 20 2020 03:49:37