From 7080b0d7be011b53c030e50fc865e1f290393601 Mon Sep 17 00:00:00 2001 From: standmit Date: Tue, 19 Nov 2019 23:42:01 +0700 Subject: [PATCH] mark method Transformer::setExtrapolationLimit as deprecated --- tf/include/tf/tf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tf/include/tf/tf.h b/tf/include/tf/tf.h index f628fce0..9db014de 100644 --- a/tf/include/tf/tf.h +++ b/tf/include/tf/tf.h @@ -310,9 +310,10 @@ class Transformer bool frameExists(const std::string& frame_id_str) const; /**@brief Set the distance which tf is allow to extrapolate + * \deprecated Deprecated since integration with tf2. Use MessageFilter instead * \param distance How far to extrapolate before throwing an exception * default is zero */ - void setExtrapolationLimit(const ros::Duration& distance); + void setExtrapolationLimit(const ros::Duration& distance) __attribute__((deprecated)); /**@brief Get the duration over which this transformer will cache */ ros::Duration getCacheLength() { return tf2_buffer_.getCacheLength();}