Method
__init__
(self, config: SimpleNamespace)
Source from the content-addressed store, hash-verified
| 128 | Assumes the camera is static and simply record and returns the pose of previous frame. |
| 129 | """ |
| 130 | def __init__(self, config: SimpleNamespace): |
| 131 | super().__init__(config) |
| 132 | self.prev_pose: pp.LieTensor | None = None |
| 133 | |
| 134 | def predict(self, frame: StereoFrame, flow: torch.Tensor | None, depth: torch.Tensor | None) -> pp.LieTensor: |
| 135 | if self.prev_pose is None: |
Callers
nothing calls this directly
Tested by
no test coverage detected