Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DualCoding::VisualOdometry Class Reference

Generic visual odometry class; can be used for multiple algorithms. More...

#include <VisualOdometry.h>

Inheritance diagram for DualCoding::VisualOdometry:

Detailed Description

Generic visual odometry class; can be used for multiple algorithms.

Definition at line 18 of file VisualOdometry.h.

List of all members.

Public Member Functions

 VisualOdometry ()
virtual ~VisualOdometry ()
virtual void update (bool overrideSleep=false)=0
virtual float getAngle ()
virtual int getTranslation ()
virtual float getIntegratedAngle ()
virtual void setConversionParameters (float slope, float offset)=0
 Set parameters for converting from translation units (pixels) to rotation angle (radians).
virtual unsigned int suggestedFrameRate () const =0
 Number of milliseconds between odometry updates.

Static Public Attributes

static const float ANGULAR_RESOLUTION
 Number of pixels of translation accross the camera frame per degree of camera rotation.

Protected Attributes

bool sleeping
 True if not currently subscribed to images.
float lastAngle
int lastTranslation

Constructor & Destructor Documentation

DualCoding::VisualOdometry::VisualOdometry (  ) 

Definition at line 20 of file VisualOdometry.h.

virtual DualCoding::VisualOdometry::~VisualOdometry (  )  [virtual]

Definition at line 22 of file VisualOdometry.h.


Member Function Documentation

virtual float DualCoding::VisualOdometry::getAngle (  )  [virtual]

Reimplemented in DualCoding::ImageProfileOdometry.

Definition at line 25 of file VisualOdometry.h.

virtual float DualCoding::VisualOdometry::getIntegratedAngle (  )  [virtual]

Reimplemented in DualCoding::OpticalFlowOdometry.

Definition at line 27 of file VisualOdometry.h.

virtual int DualCoding::VisualOdometry::getTranslation (  )  [virtual]
virtual void DualCoding::VisualOdometry::setConversionParameters ( float  slope,
float  offset 
) [pure virtual]

Set parameters for converting from translation units (pixels) to rotation angle (radians).

Implemented in DualCoding::OpticalFlowOdometry, and DualCoding::ImageProfileOdometry.

virtual unsigned int DualCoding::VisualOdometry::suggestedFrameRate (  )  const [pure virtual]

Number of milliseconds between odometry updates.

Implemented in DualCoding::OpticalFlowOdometry, and DualCoding::ImageProfileOdometry.

virtual void DualCoding::VisualOdometry::update ( bool  overrideSleep = false  )  [pure virtual]

Member Data Documentation

Initial value:

Number of pixels of translation accross the camera frame per degree of camera rotation.

Definition at line 37 of file VisualOdometry.h.

True if not currently subscribed to images.

Definition at line 40 of file VisualOdometry.h.

Referenced by DualCoding::ImageProfileOdometry::update(), and DualCoding::OpticalFlowOdometry::update().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:21 2016 by Doxygen 1.6.3