Flip function. Flip rotmat.
(pose_rotmat)
| 199 | |
| 200 | |
| 201 | def flip_rotmat(pose_rotmat): |
| 202 | """Flip function. |
| 203 | |
| 204 | Flip rotmat. |
| 205 | """ |
| 206 | rot_mats = pose_rotmat.reshape(-1, 9).clone() |
| 207 | |
| 208 | rot_mats[:, [1, 2, 3, 6]] *= -1 |
| 209 | return rot_mats.view_as(pose_rotmat) |
| 210 | |
| 211 | |
| 212 | def find_joint_global_rotation(kin_chain, root_pose, body_pose): |
no test coverage detected