returns H0 * H1 in RigidMotion
(H0, H1)
| 166 | |
| 167 | @staticmethod |
| 168 | def multiply(H0, H1): |
| 169 | """returns H0 * H1 in RigidMotion""" |
| 170 | HM = H0.homogeneous_matrix() @ H1.homogeneous_matrix() |
| 171 | return RigidMotion(R=HM[:3, :3], t=HM[:3, 3]) |
| 172 | |
| 173 | @staticmethod |
| 174 | def interp(t: float, H0: 'RigidMotion', H1: 'RigidMotion') -> 'RigidMotion': |
no test coverage detected