MCPcopy Create free account
hub / github.com/MIT-SPARK/Kimera-VIO-ROS / __init__

Method __init__

scripts/gt_logger_node.py:12–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10# TODO(marcus): add support for choosing EuRoC standard or SWE format.
11class GTLoggerNode:
12 def __init__(self):
13 self.gt_topic = rospy.get_param("~gt_topic")
14 self.output_dir = rospy.get_param("~output_dir")
15 self.output_csv_file = os.path.join(self.output_dir, "output_gt_poses.csv")
16
17 # rospy.Subscriber(self.gt_topic, TransformStamped, self.gt_cb_tsf)
18 rospy.Subscriber(self.gt_topic, Odometry, self.gt_cb_odom, queue_size=20)
19 self.setup_gt_file()
20
21 def gt_cb_tfs(self, msg):
22 """ Callback for ground-truth poses as they come in as TransformStamped

Callers

nothing calls this directly

Calls 1

setup_gt_fileMethod · 0.95

Tested by

no test coverage detected