You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have converted a nuscenes scenario, and when i am printing out the whole map element I get this strange behavior, the lanes' center lines are not centered with the other map elements.
I think it might be an error on how to compute the map_centre of the polylines in converter/nuscenes.utils.py? result[SD.TRACKS], map_center = get_tracks_from_frames(nuscenes, scene_info, frames, num_to_interpolate=5) ....... Normalize place all object to (0,0) map_center = np.array(interpolate_tracks["ego"]["state"]["position"][0]) map_center[-1] = 0 normalized_ret = {} for id, track, in interpolate_tracks.items(): pos = track["state"]["position"] - map_center track["state"]["position"] = np.asarray(pos) normalized_ret[id] = track
The text was updated successfully, but these errors were encountered:
Hello,
I have converted a nuscenes scenario, and when i am printing out the whole map element I get this strange behavior, the lanes' center lines are not centered with the other map elements.
I think it might be an error on how to compute the map_centre of the polylines in converter/nuscenes.utils.py?
result[SD.TRACKS], map_center = get_tracks_from_frames(nuscenes, scene_info, frames, num_to_interpolate=5) ....... Normalize place all object to (0,0) map_center = np.array(interpolate_tracks["ego"]["state"]["position"][0]) map_center[-1] = 0 normalized_ret = {} for id, track, in interpolate_tracks.items(): pos = track["state"]["position"] - map_center track["state"]["position"] = np.asarray(pos) normalized_ret[id] = track
The text was updated successfully, but these errors were encountered: