Skip to content

Commit

Permalink
Use correct frequency in record tf script. (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGrupp committed May 16, 2018
1 parent 70d4997 commit 9427b58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/record_tf_as_posestamped_bag.py
Expand Up @@ -53,6 +53,7 @@ def run(self):
try:
transform = self.tf_buffer.lookup_transform(
self.parent_frame, self.child_frame, rospy.Time())
rate.sleep()
except (tf2_ros.LookupException,
tf2_ros.ConnectivityException,
tf2_ros.ExtrapolationException):
Expand Down Expand Up @@ -103,7 +104,7 @@ def main(parent_frame, child_frame, lookup_frequency,
parser.add_argument("--lookup_frequency",
help="maximum frequency at which transforms "
"are looked up",
default=5.0, type=float)
default=100.0, type=float)
parser.add_argument("--output_topic", help="name of the output topic",
default=None)
parser.add_argument("--bagfile", help="output bagfile path",
Expand Down

0 comments on commit 9427b58

Please sign in to comment.