Added an if statement before creating other vehicles to fix the error that occurs when the other_vehicles variable is selected as zero. Now environment let us create only ego vehicle for experiments (with setting other_vehicles to zero.)
521 :
I tried to turn this environment to lane following task only by removing the npc vehicle using "other_vehicles": 0 in env.configure but i ended up with some error.
Added an if statement before creating other vehicles to fix the error that occurs when the other_vehicles variable is selected as zero. Now environment let us create only ego vehicle for experiments (with setting other_vehicles to zero.)
521 :