Skip to content

Commit

Permalink
Fix missing vehicle state
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed Feb 28, 2024
1 parent 3f515c5 commit 71156d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smarts/env/utils/observation_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _format_neighborhood_vehicle_states(
_format_id(nghb.lane_id, _WAYPOINT_NAME_LIMIT, "lane id"),
nghb.interest,
)
for nghb in out_nvs[:des_shp]
for nghb in neighborhood_vehicle_states[:des_shp]
]
box, heading, vehicle_id, lane_index, pos, speed, lane_id, interest = zip(
*out_nvs
Expand Down

0 comments on commit 71156d5

Please sign in to comment.