MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / matrix

Method matrix

mapping/src/se3pose.py:18–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 self.data = deepcopy(pose.data)
17
18 def matrix(self):
19 Rt = torch.eye(4)
20 Rt[:3, :3] = self.rotation()
21 Rt[:3, 3] = self.translation()
22 return Rt
23
24 def rotation(self):
25 w = self.data[3:]

Callers 4

get_d_poseMethod · 0.80
se3pose.pyFile · 0.80
EvaluateMethod · 0.80
CheckMethod · 0.80

Calls 2

rotationMethod · 0.95
translationMethod · 0.95

Tested by

no test coverage detected