Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] units of TTC calculation in custom_observations.py #2154

Open
DailyL opened this issue May 30, 2024 · 0 comments
Open

[Bug Report] units of TTC calculation in custom_observations.py #2154

DailyL opened this issue May 30, 2024 · 0 comments

Comments

@DailyL
Copy link

DailyL commented May 30, 2024

Since VehicleObservation already provides the speed in m/s, why are we converting it from km/h to m/s again? Am I missing something?

relative_speed_m_per_s = (ego.speed - v.speed) * 1000 / 3600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant