ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
AlvarTracker Class Reference

Provides vector to a tracked object based on output from alvar. More...

#include <alvar_tracker.h>

Inheritance diagram for AlvarTracker:
Inheritance graph
[legend]
Collaboration diagram for AlvarTracker:
Collaboration graph
[legend]

Public Member Functions

 AlvarTracker (ros::NodeHandle &nh)
 Constructor. More...
 
virtual bool getTrackingVectors (std::unordered_map< uint32_t, Position > &pos)
 Get the tracking vectors. More...
 
virtual bool trackingIsValid ()
 Check whether tracking is valid. More...
 
bool isConnected ()
 Check if subscriber is connected. More...
 
- Public Member Functions inherited from BaseTracker
 BaseTracker (TrackingStrategy *tracking_strategy)
 
virtual bool initialize ()
 Initialze the tracker. Can simply return true if the subclass requires no additional initialization. More...
 
virtual bool getTrackingVector (Position &pos)
 Get the tracking vector. More...
 
virtual bool getTrackingVector (std::tuple< uint32_t, Position > &pos)
 Get the tracking vector. More...
 

Detailed Description

Provides vector to a tracked object based on output from alvar.

Constructor & Destructor Documentation

AlvarTracker::AlvarTracker ( ros::NodeHandle &  nh)
inline

Constructor.

Parameters
nhROS node handle for comms

Member Function Documentation

bool AlvarTracker::getTrackingVectors ( std::unordered_map< uint32_t, Position > &  pos)
virtual

Get the tracking vectors.

Parameters
posReturned tracking vectors
Returns
True if successful, false otherwise

Implements BaseTracker.

bool AlvarTracker::isConnected ( )

Check if subscriber is connected.

Returns
True if connected, false otherwise
bool AlvarTracker::trackingIsValid ( )
virtual

Check whether tracking is valid.

Returns
True if the tracking is valid, false otherwise

Implements BaseTracker.


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