Taaseen-Ali / OpenAI-Gym-Car-Race

A self-driving car OpenAI Gym environment
8 stars 8 forks source link

added args in example and remove 'carposition' #18

Closed yq605879396 closed 3 years ago

yq605879396 commented 3 years ago

Hi here are the modifications I made,

  1. added the args parse part in example.py, so if user want to change reset the map, they can use "python example.py -reset True"
  2. delete the line about 'car.position' in args.py
  3. replace all 'cfg["car"]["position"]' in SelfDriveEnv.py with [100, 100]