MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / __init__

Method __init__

main.py:30–33  ·  view source on GitHub ↗
(self, directory)

Source from the content-addressed store, hash-verified

28
29class DynamicMapData:
30 def __init__(self, directory):
31 self.scene_id = directory.split("/")[-1]
32 self.directory = Path(directory) / "pcd"
33 self.pcd_files = [os.path.join(self.directory, f) for f in sorted(os.listdir(self.directory)) if f.endswith('.pcd')]
34
35 def __len__(self):
36 return len(self.pcd_files)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected