(self)
| 10 | # TODO(marcus): add support for choosing EuRoC standard or SWE format. |
| 11 | class 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 |
nothing calls this directly
no test coverage detected