Bugfix: opposite x pos in planning vis · OpenDriveLab/UniAD@2e13801

File tree

1 file changed

lines changed

  • tools/analysis_tools/visualize

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -184,8 +184,6 @@ def _parse_predictions_multitask_pkl(self, predroot):

184184

track_yaw = bboxes.yaw.cpu().detach().numpy()

185185

track_velocity = bboxes.tensor.cpu().detach().numpy()[:, -2:]

186186
187-

outputs[k]['planning_traj'][0][:, 0] = - \

188-

outputs[k]['planning_traj'][0][:, 0]

189187

if self.show_command:

190188

command = outputs[k]['command'][0].cpu().detach().numpy()

191189

else: