Farama-Foundation / HighwayEnv

A minimalist environment for decision-making in autonomous driving
https://highway-env.farama.org/
MIT License
2.64k stars 754 forks source link

How to get the Longitudinal speed, Lateral speed, and steering angle of a vehicle? #606

Closed Rza-A closed 1 week ago

Rza-A commented 4 months ago

Hello, This question may come across as basic, but I'd like to know how can I get the longitudinal speed, lateral speed, and steering angle of a vehicle. I used the dir(vehicle) statement but I couldn't find these parameters.

I'd appreciate any help.

seominseokt commented 3 months ago

Check out the document at Kinematics

hkbharath commented 2 months ago

You can use vehicle.to_dict().