Skip to content

Commit 1448c46

Browse files
committed
Fix missing vehicle state
1 parent 58612bb commit 1448c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smarts/env/utils/observation_conversion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def _format_neighborhood_vehicle_states(
235235
_format_id(nghb.lane_id, _WAYPOINT_NAME_LIMIT, "lane id"),
236236
nghb.interest,
237237
)
238-
for nghb in out_nvs[:des_shp]
238+
for nghb in neighborhood_vehicle_states[:des_shp]
239239
]
240240
box, heading, vehicle_id, lane_index, pos, speed, lane_id, interest = zip(
241241
*out_nvs

0 commit comments

Comments
 (0)