MCPcopy Create free account
hub / github.com/PRBonn/MapClosures / reset

Method reset

python/map_closures/datasets/mcap.py:76–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 )
75
76 def reset(self):
77 self.timestamps = []
78 self.bag = self.make_reader(open(self.mcap_file, "rb"))
79 self.msgs = self.read_ros2_messages(self.mcap_file, topics=[self.topic])
80
81 @staticmethod
82 def stamp_to_sec(stamp):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected