Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed May 25, 2024
1 parent e289aa2 commit 580731b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/sim/bridge/metadrive/metadrive_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ def get_cam_as_rgb(cam):
if rk.frame % 5 == 0:
_, _, terminated, _, _ = env.step(vc)
#timeout = True if time.monotonic() - start_time >= test_duration else False
#timeout = total_step_count == 926
timeout = total_step_count == 150
timeout = total_step_count == 30
lane_idx_curr, on_lane = get_current_lane_info(env.vehicle)
out_of_lane = lane_idx_curr != lane_idx_prev or not on_lane
lane_idx_prev = lane_idx_curr
Expand Down

0 comments on commit 580731b

Please sign in to comment.