Skip to content

Commit 1d01535

Browse files
committed
performance alignment
1 parent 8313ee9 commit 1d01535

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • projects/SimEngine/worldengine/render/mtgs

projects/SimEngine/worldengine/render/mtgs/mtgs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def get_agent_pose(self, name, agent_state, return_matrix=False):
425425
agent2global = torch.zeros(4, 4, device=self.device, dtype=torch.float64)
426426
agent2global[:3, :3] = new_rot_matrix
427427
agent2global[:3, 3] = new_trans
428-
agent2global[3, 3] = 1.0
428+
# agent2global[3, 3] = 1.0 Should be set,but we keep this bug to reproduce the same performance. # May cause history traj calculation wrong.
429429
return agent2global
430430
else:
431431
quat = matrix_to_quaternion(new_rot_matrix)

0 commit comments

Comments
 (0)