All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Classes | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
hector_object_tracker::ObjectTracker Class Reference

#include <object_tracker.h>

List of all members.

Classes

struct  MergedModelInfo
struct  NegativeUpdateInfo

Public Member Functions

 ObjectTracker ()
virtual ~ObjectTracker ()

Protected Member Functions

bool addObjectCb (worldmodel_msgs::AddObject::Request &request, worldmodel_msgs::AddObject::Response &response)
ObjectModel getMergedModel ()
ObjectModelgetModel ()
const ObjectModelgetModel () const
bool getObjectModelCb (worldmodel_msgs::GetObjectModel::Request &request, worldmodel_msgs::GetObjectModel::Response &response)
void imagePerceptCb (const worldmodel_msgs::ImagePerceptConstPtr &)
bool mapToNextObstacle (const geometry_msgs::Pose &source, const std_msgs::Header &header, const worldmodel_msgs::ObjectInfo &info, geometry_msgs::Pose &mapped)
void modelUpdateCb (const worldmodel_msgs::ObjectModelConstPtr &)
void objectAgeingCb (const std_msgs::Float32ConstPtr &)
void posePerceptCb (const worldmodel_msgs::PosePerceptConstPtr &)
void publishModel ()
void publishModelEvent (const ros::TimerEvent &)
bool setObjectNameCb (worldmodel_msgs::SetObjectName::Request &request, worldmodel_msgs::SetObjectName::Response &response)
bool setObjectStateCb (worldmodel_msgs::SetObjectState::Request &request, worldmodel_msgs::SetObjectState::Response &response)
void sysCommandCb (const std_msgs::StringConstPtr &)
bool transformPose (const geometry_msgs::Pose &from, geometry_msgs::Pose &to, std_msgs::Header &header, tf::StampedTransform *transform=0)
bool transformPose (const geometry_msgs::PoseWithCovariance &from, geometry_msgs::PoseWithCovariance &to, std_msgs::Header &header)

Private Types

typedef boost::shared_ptr
< image_geometry::PinholeCameraModel
CameraModelPtr
typedef boost::shared_ptr
< MergedModelInfo
MergedModelPtr
typedef boost::shared_ptr
< NegativeUpdateInfo
NegativeUpdatePtr
typedef std::pair
< ros::ServiceClient,
XmlRpc::XmlRpcValue
VerificationService

Private Member Functions

ObjectTracker::CameraModelPtr getCameraModel (const std::string &frame_id, const sensor_msgs::CameraInfo &camera_info)
void mergeModelCallback (const worldmodel_msgs::ObjectModelConstPtr &new_model, const MergedModelPtr &info)
void negativeUpdateCallback (const sensor_msgs::CameraInfoConstPtr &, const NegativeUpdatePtr &info)

Private Attributes

double _ageing_threshold
std::string _frame_id
double _publish_interval
std::string _worldmodel_ns
ros::ServiceServer addObject
std::map< std::string,
CameraModelPtr
cameraModels
HectorDrawings drawings
ros::ServiceServer getObjectModel
ros::Subscriber imagePerceptSubscriber
std::vector< MergedModelPtrmerged_models
ObjectModel model
ros::Publisher modelPublisher
ros::Publisher modelUpdatePublisher
ros::Subscriber modelUpdateSubscriber
std::vector< NegativeUpdatePtrnegativeUpdate
ros::NodeHandle nh
ros::Subscriber objectAgeingSubscriber
ros::Publisher pointDebugPublisher
ros::Publisher poseDebugPublisher
ros::Subscriber posePerceptSubscriber
ros::NodeHandle priv_nh
ros::Timer publishTimer
ros::ServiceServer setObjectName
ros::ServiceServer setObjectState
ros::Subscriber sysCommandSubscriber
tf::TransformListener tf
std::map< std::string,
std::map< std::string,
std::vector
< VerificationService > > > 
verificationServices

Detailed Description

Definition at line 24 of file object_tracker.h.


Member Typedef Documentation

Definition at line 98 of file object_tracker.h.

Definition at line 107 of file object_tracker.h.

Definition at line 73 of file object_tracker.h.

Definition at line 90 of file object_tracker.h.


Constructor & Destructor Documentation

Definition at line 16 of file object_tracker.cpp.

Definition at line 162 of file object_tracker.cpp.


Member Function Documentation

Definition at line 599 of file object_tracker.cpp.

ObjectTracker::CameraModelPtr hector_object_tracker::ObjectTracker::getCameraModel ( const std::string &  frame_id,
const sensor_msgs::CameraInfo &  camera_info 
) [private]

Definition at line 506 of file object_tracker.cpp.

Definition at line 818 of file object_tracker.cpp.

Definition at line 42 of file object_tracker.h.

const ObjectModel& hector_object_tracker::ObjectTracker::getModel ( ) const [inline, protected]

Definition at line 43 of file object_tracker.h.

Definition at line 658 of file object_tracker.cpp.

Definition at line 177 of file object_tracker.cpp.

bool hector_object_tracker::ObjectTracker::mapToNextObstacle ( const geometry_msgs::Pose source,
const std_msgs::Header header,
const worldmodel_msgs::ObjectInfo info,
geometry_msgs::Pose mapped 
) [protected]

Definition at line 749 of file object_tracker.cpp.

Definition at line 663 of file object_tracker.cpp.

Definition at line 552 of file object_tracker.cpp.

void hector_object_tracker::ObjectTracker::negativeUpdateCallback ( const sensor_msgs::CameraInfoConstPtr &  camera_info,
const NegativeUpdatePtr info 
) [private]

Definition at line 669 of file object_tracker.cpp.

void hector_object_tracker::ObjectTracker::objectAgeingCb ( const std_msgs::Float32ConstPtr &  ageing) [protected]

Definition at line 523 of file object_tracker.cpp.

Definition at line 261 of file object_tracker.cpp.

Definition at line 838 of file object_tracker.cpp.

Definition at line 834 of file object_tracker.cpp.

Definition at line 582 of file object_tracker.cpp.

Definition at line 565 of file object_tracker.cpp.

void hector_object_tracker::ObjectTracker::sysCommandCb ( const std_msgs::StringConstPtr &  sysCommand) [protected]

Definition at line 165 of file object_tracker.cpp.

Definition at line 785 of file object_tracker.cpp.

bool hector_object_tracker::ObjectTracker::transformPose ( const geometry_msgs::PoseWithCovariance &  from,
geometry_msgs::PoseWithCovariance &  to,
std_msgs::Header header 
) [protected]

Definition at line 807 of file object_tracker.cpp.


Member Data Documentation

Definition at line 114 of file object_tracker.h.

Definition at line 111 of file object_tracker.h.

Definition at line 115 of file object_tracker.h.

Definition at line 112 of file object_tracker.h.

Definition at line 84 of file object_tracker.h.

Definition at line 99 of file object_tracker.h.

Definition at line 95 of file object_tracker.h.

Definition at line 85 of file object_tracker.h.

Definition at line 58 of file object_tracker.h.

Definition at line 108 of file object_tracker.h.

Definition at line 97 of file object_tracker.h.

Definition at line 77 of file object_tracker.h.

Definition at line 78 of file object_tracker.h.

Definition at line 81 of file object_tracker.h.

Definition at line 74 of file object_tracker.h.

Definition at line 56 of file object_tracker.h.

Definition at line 61 of file object_tracker.h.

Definition at line 80 of file object_tracker.h.

Definition at line 79 of file object_tracker.h.

Definition at line 59 of file object_tracker.h.

Definition at line 57 of file object_tracker.h.

Definition at line 88 of file object_tracker.h.

Definition at line 86 of file object_tracker.h.

Definition at line 83 of file object_tracker.h.

Definition at line 60 of file object_tracker.h.

Definition at line 93 of file object_tracker.h.

std::map<std::string,std::map<std::string,std::vector<VerificationService> > > hector_object_tracker::ObjectTracker::verificationServices [private]

Definition at line 91 of file object_tracker.h.


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


hector_object_tracker
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:50:57