HighwayEnv icon indicating copy to clipboard operation
HighwayEnv copied to clipboard

Realistic lane change duration for discrete actions

Open AkshayNemade opened this issue 3 years ago • 1 comments

Is it possible to tweak the heading angle and/or duration of lane change in discrete actions? Realistically the switching of lanes is very gradual on highways with less heading angle. It would be great to see if the simulation an accommodate that. Any suggestions?

AkshayNemade avatar Mar 17 '21 07:03 AkshayNemade

Yes, the lane change dynamics were initially tuned it that way so that the highway problem could be described as a very simple MDP, where actions are taken every seconds and fully executed before the next timestep (to apply a value iteration).

But I agree that this is very unrealistic, and generally not required.

The duration of a lane change can be set by changing the KP_LATERAL and KP_HEADING constants. I'll try to come up with a better tuning.

eleurent avatar Mar 17 '21 10:03 eleurent