Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
jafar::rtslam::hardware::HardwareEstimatorOdo Class Reference

Detailed Description

Definition at line 31 of file hardwareEstimatorOdo.hpp.

Inheritance diagram for jafar::rtslam::hardware::HardwareEstimatorOdo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HardwareEstimatorOdo (double trigger_mode, double trigger_freq, double trigger_shutter, int bufferSize_, int mode=0, std::string dump_path=".")
virtual void start ()
void setSyncConfig (double timestamps_correction=0.0)
jblas::mat_indirect acquireReadings (double t1, double t2)
void releaseReadings ()
 If acquireReadings blocked some values the time they are used, this function must release them.
jblas::ind_array instantValues ()
 This function must return the indices of values returned by acquireReadings that represent the instant value of a physical quantity (speed, acceleration, ...) (except first column which is time) These values will typically be integrated.
jblas::ind_array incrementValues ()
 This function must return the indices of values returned by acquireReadings that represent the increment of a physical quantity since last reading (odometry, ...)
double getFreq ()
Position loadPosition (unsigned int index_) const
void loadPosition (unsigned int index_, Position &pos) const

Private Member Functions

void preloadTask (void)

Private Attributes

unsigned index_load_
jblas::mat buffer
int bufferSize
boost::mutex mutex_data
boost::condition_variable cond_data
boost::condition_variable cond_offline
int write_position
int read_position
double timestamps_correction
int mode
RawVec reading
std::string dump_path
double realFreq
boost::thread * preloadTask_thread

Member Function Documentation

jblas::mat_indirect jafar::rtslam::hardware::HardwareEstimatorOdo::acquireReadings ( double  t1,
double  t2 
) [virtual]
Returns:
data position: x y z roll pitch yaw

Implements jafar::rtslam::hardware::HardwareEstimatorAbstract.


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

Generated on Wed Oct 15 2014 00:37:46 for Jafar by doxygen 1.7.6.1
LAAS-CNRS