32 #ifndef TF2_TIME_CACHE_H 33 #define TF2_TIME_CACHE_H 44 #include <boost/shared_ptr.hpp> 66 virtual void clearList()=0;
74 virtual P_TimeAndFrameID getLatestTimeAndParent() = 0;
79 virtual unsigned int getListLength()=0;
97 static const int MIN_INTERPOLATION_DISTANCE = 5;
98 static const unsigned int MAX_LENGTH_LINKED_LIST = 1000000;
99 static const int64_t DEFAULT_MAX_STORAGE_TIME = 10ULL * 1000000000LL;
108 virtual void clearList();
110 virtual P_TimeAndFrameID getLatestTimeAndParent();
113 virtual unsigned int getListLength();
145 virtual void clearList();
147 virtual P_TimeAndFrameID getLatestTimeAndParent();
151 virtual unsigned int getListLength();
162 #endif // TF2_TIME_CACHE_H
ROS_DECLARE_MESSAGE(TransformStamped)
std::deque< TransformStorage > L_TransformStorage
ros::Duration max_storage_time_
L_TransformStorage storage_
std::pair< ros::Time, CompactFrameID > P_TimeAndFrameID
boost::shared_ptr< TimeCacheInterface > TimeCacheInterfacePtr
A class to keep a sorted linked list in time This builds and maintains a list of timestamped data...
TransformStorage storage_