ll7 / carla-rl

0 stars 0 forks source link

create a pedestrian environment, where the pedestrian is rewarded for walking as far as possible from the spawn point. #19

Open ll7 opened 2 years ago

ll7 commented 2 years ago

Create a gym environment where the pedestrian is rewarded to walk longer distances.

Action space:

observation space

reward:

only based on the distance from the init position

expected issues:

ll7 commented 2 years ago

carla-test/carla_env.py already has a first implementation of CarlaWalkerEnv, but I want to seperate this into a new file.

walker-env/carla_walker_env.py has the new environment definition

ll7 commented 2 years ago

It is currently impossible to get the maximum size of the map and the start position would be a static observation during each episode. Therefore, I propose we use the distance from spawn point as an observation. Distance as 2D or 3D vector with a sign.

ll7 commented 2 years ago

image