Skip to content

Commit

Permalink
Bugfix: opposite x pos in planning vis
Browse files Browse the repository at this point in the history
  • Loading branch information
YTEP-ZHI committed Aug 3, 2023
1 parent fa7fc3e commit 2e13801
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/analysis_tools/visualize/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ def _parse_predictions_multitask_pkl(self, predroot):
track_yaw = bboxes.yaw.cpu().detach().numpy()
track_velocity = bboxes.tensor.cpu().detach().numpy()[:, -2:]

outputs[k]['planning_traj'][0][:, 0] = - \
outputs[k]['planning_traj'][0][:, 0]
if self.show_command:
command = outputs[k]['command'][0].cpu().detach().numpy()
else:
Expand Down

0 comments on commit 2e13801

Please sign in to comment.