Go to the documentation of this file.
32 #ifndef TF_TIME_CACHE_H
33 #define TF_TIME_CACHE_H
36 #include <boost/thread/mutex.hpp>
140 #endif // TF_TIME_CACHE_H
ros::Duration max_storage_time_
std::pair< ros::Time, CompactFrameID > P_TimeAndFrameID
L_TransformStorage storage_
static const int MIN_INTERPOLATION_DISTANCE
Number of nano-seconds to not interpolate below.
CompactFrameID getParent(ros::Time time, std::string *error_str)
unsigned int getListLength()
Debugging information methods.
P_TimeAndFrameID getLatestTimeAndParent()
ros::Time getOldestTimestamp()
std::set< TransformStorage > L_TransformStorage
void interpolate(const TransformStorage &one, const TransformStorage &two, ros::Time time, TransformStorage &output)
A class to keep a sorted linked list in time This builds and maintains a list of timestamped data....
bool getData(ros::Time time, TransformStorage &data_out, std::string *error_str=0)
static const unsigned int MAX_LENGTH_LINKED_LIST
Maximum length of linked list, to make sure not to be able to use unlimited memory.
bool insertData(const TransformStorage &new_data)
TimeCache(ros::Duration max_storage_time=ros::Duration().fromNSec(DEFAULT_MAX_STORAGE_TIME))
uint8_t findClosest(const TransformStorage *&one, const TransformStorage *&two, ros::Time target_time, std::string *error_str)
A helper function for getData.
ros::Time getLatestTimestamp()
static const int64_t DEFAULT_MAX_STORAGE_TIME
default value of 10 seconds storage
The Quaternion implements quaternion to perform linear algebra rotations in combination with Matrix3x...
tf
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Sat Aug 19 2023 02:38:08