MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / __init__

Method __init__

Module/MotionModel.py:130–132  ·  view source on GitHub ↗
(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

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected