Skip to content

Position of the car in the NH Environment #1893

@HsnAtwi

Description

@HsnAtwi

Hello, I'm trying to train a car in the NH environment (Linux version with Unreal Engine) using Reinforcement Learning.

I need to know the position of the car wrt the road for example, I've used the method in the compute_reward function here https://github.com/Microsoft/AirSim/blob/fff500f6111d463c6f8a0cf386d54cfccf5c0d1b/PythonClient/car/DQNcar.py#L468
but it's not clear on what basis it calculates the distance between the edge of the road and the car itself, the threshold distance (=3.5) is not clear as well and it's not consistent on all the roads. There is also no explanation on what are the points used or what do they represent

I've also tried the method in the driving cookbook-- distributed RL but also did not work.

So, is there a way to know the map of the NH containing the coordinates of the roads for example, or at least an explanation to the 9 points used to calculate the distance and the chose behind the threshold distance.
This will also benefit me when I need to try different initial positions for the car to start training from

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions