dtype -> 32
This commit is contained in:
parent
3ff1403b6d
commit
4427a4c6b6
|
@ -87,7 +87,8 @@ class ActToDof:
|
||||||
if root_quat_wxyz is None:
|
if root_quat_wxyz is None:
|
||||||
hands_command_b = hands_command_w
|
hands_command_b = hands_command_w
|
||||||
else:
|
else:
|
||||||
world_from_pelvis_quat = root_quat_wxyz
|
world_from_pelvis_quat = root_quat_wxyz.astype(np.float32)
|
||||||
|
hands_command_w = hands_command_w.astype(np.float32)
|
||||||
hands_command_b = np.concatenate(
|
hands_command_b = np.concatenate(
|
||||||
quat_rotate_inverse(world_from_pelvis_quat,
|
quat_rotate_inverse(world_from_pelvis_quat,
|
||||||
hands_command_w[..., :3]),
|
hands_command_w[..., :3]),
|
||||||
|
|
Loading…
Reference in New Issue