HighwayEnv icon indicating copy to clipboard operation
HighwayEnv copied to clipboard

how to get the vehicle to derive collision information

Open wuyukun-tong opened this issue 2 years ago • 1 comments

Dear Professor, during the training in intersection env, how to get the vehicle to derive collision information? Thanks!

wuyukun-tong avatar Apr 06 '22 19:04 wuyukun-tong

Hi, (I am no professor,) You can check whether the controlled vehicle has collided by checking: env.vehicle.crashed

eleurent avatar Apr 11 '22 07:04 eleurent