cjy1992 / gym-carla

An OpenAI gym wrapper for CARLA simulator
MIT License
531 stars 111 forks source link

Observation Space Discrepancy #24

Closed thefatbandit closed 4 years ago

thefatbandit commented 4 years ago

In the observation space defined in the environment class, there are 4 elements listed for "State" observation. But in the _get_obs function, the state returns a total of 5 elements:

state = np.array([lateral_dis, - delta_yaw, speed, ang_v.z, self.vehicle_front])

Could you also clarify on what self.vehicle_front variable is & it's range?