All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Types | Public Member Functions | Public Attributes | Static Public Attributes
uncertain_tf::CovarianceTimeCache Class Reference

#include <CovarianceTimeCache.h>

List of all members.

Public Types

typedef std::set
< CovarianceStorage
L_CovarianceStorage

Public Member Functions

 CovarianceTimeCache (ros::Duration max_storage_time=ros::Duration().fromNSec(DEFAULT_MAX_STORAGE_TIME))
uint8_t findClosest (const CovarianceStorage *&one, const CovarianceStorage *&two, ros::Time target_time, std::string *error_str)
bool getData (ros::Time time, CovarianceStorage &data_out, std::string *error_str=0)
bool insertData (const CovarianceStorage &new_data)
void interpolate (const CovarianceStorage &one, const CovarianceStorage &two, ros::Time time, CovarianceStorage &output)
void pruneList ()

Public Attributes

ros::Duration max_storage_time_
L_CovarianceStorage storage_

Static Public Attributes

static const int64_t DEFAULT_MAX_STORAGE_TIME = 1ULL * 1000000000LL
 default value of 10 seconds storage
static const unsigned int MAX_LENGTH_LINKED_LIST = 1000000
 Maximum length of linked list, to make sure not to be able to use unlimited memory.
static const int MIN_INTERPOLATION_DISTANCE = 5
 Number of nano-seconds to not interpolate below.

Detailed Description

Definition at line 49 of file CovarianceTimeCache.h.


Member Typedef Documentation

Definition at line 68 of file CovarianceTimeCache.h.


Constructor & Destructor Documentation

Definition at line 17 of file CovarianceTimeCache.cpp.


Member Function Documentation

uint8_t CovarianceTimeCache::findClosest ( const CovarianceStorage *&  one,
const CovarianceStorage *&  two,
ros::Time  target_time,
std::string error_str 
) [inline]

Definition at line 75 of file CovarianceTimeCache.cpp.

bool CovarianceTimeCache::getData ( ros::Time  time,
CovarianceStorage data_out,
std::string error_str = 0 
)

Definition at line 22 of file CovarianceTimeCache.cpp.

Definition at line 57 of file CovarianceTimeCache.cpp.

void CovarianceTimeCache::interpolate ( const CovarianceStorage one,
const CovarianceStorage two,
ros::Time  time,
CovarianceStorage output 
) [inline]

TODO

Definition at line 164 of file CovarianceTimeCache.cpp.

Definition at line 169 of file CovarianceTimeCache.cpp.


Member Data Documentation

const int64_t uncertain_tf::CovarianceTimeCache::DEFAULT_MAX_STORAGE_TIME = 1ULL * 1000000000LL [static]

default value of 10 seconds storage

Definition at line 54 of file CovarianceTimeCache.h.

Maximum length of linked list, to make sure not to be able to use unlimited memory.

Definition at line 53 of file CovarianceTimeCache.h.

Definition at line 71 of file CovarianceTimeCache.h.

Number of nano-seconds to not interpolate below.

Definition at line 52 of file CovarianceTimeCache.h.

Definition at line 69 of file CovarianceTimeCache.h.


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


uncertain_tf
Author(s): Thomas Ruehr
autogenerated on Thu May 23 2013 17:49:37