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

Function pose_inv

python/map_closures/tools/utils.py:30–34  ·  view source on GitHub ↗
(T)

Source from the content-addressed store, hash-verified

28
29
30def pose_inv(T):
31 T_inv = np.eye(4)
32 T_inv[:3, :3] = T[:3, :3].T
33 T_inv[:3, -1] = -T[:3, :3].T @ T[:3, -1]
34 return T_inv
35
36
37@dataclass

Callers 1

_run_pipelineMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected