Skip to content

Commit

Permalink
fix issue #315
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored and tfoote committed Aug 14, 2018
1 parent 7ea64d2 commit b516a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf2/include/tf2/time_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class TimeCache : public TimeCacheInterface
public:
static const int MIN_INTERPOLATION_DISTANCE = 5; //!< Number of nano-seconds to not interpolate below.
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 int64_t DEFAULT_MAX_STORAGE_TIME = 1ULL * 1000000000LL; //!< default value of 10 seconds storage
static const int64_t DEFAULT_MAX_STORAGE_TIME = 10ULL * 1000000000LL; //!< default value of 10 seconds storage

TimeCache(ros::Duration max_storage_time = ros::Duration().fromNSec(DEFAULT_MAX_STORAGE_TIME));

Expand Down

0 comments on commit b516a8a

Please sign in to comment.