(reconstruction: Reconstruction, snapshot_path: Path)
| 24 | |
| 25 | |
| 26 | def write_snapshot(reconstruction: Reconstruction, snapshot_path: Path) -> None: |
| 27 | logging.info("Creating snapshot") |
| 28 | timestamp = time.time() * 1000 |
| 29 | path = snapshot_path / f"{timestamp:010d}" |
| 30 | path.mkdir(exist_ok=True, parents=True) |
| 31 | logging.verbose(1, f"=> Writing to {path}") |
| 32 | reconstruction.write(path) |
| 33 | |
| 34 | |
| 35 | def has_unknown_sensor_from_rig( |
no outgoing calls
no test coverage detected