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

extract track sections via deep learning #158

Open
durandom opened this issue Dec 18, 2022 · 1 comment
Open

extract track sections via deep learning #158

durandom opened this issue Dec 18, 2022 · 1 comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. hacktoberfest Issues targeting the hacktoberfest participants. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.

Comments

@durandom
Copy link
Member

Some games provide x/y coordinates of the car on the map. This can be used to plot the track. We use this map to split the track into sections. I.e. a connection of corners and straights. See https://github.com/b4mad/racing/blob/main/notebooks/track_sections_from_coordinates.ipynb

Some games, like iRacing, don't provide the x/y coordinates in real-time. But we still get other telemetry, like SteeringAngle and Throttle and Brake input. We could create a similar approach, looking at the SteeringAngle, like already applied in https://github.com/b4mad/racing/blob/main/notebooks/fast_lap_analysis-v2.ipynb
But all these approaches have edge cases and need some tweaking of thresholds.

How about training a deep learning model?

The input features of the model are SteeringAngle, Throttle and Brake. The output is the layout of the track.
Training data can be created from those games that provide x/y coordinates and a collection of tracks with known good layouts. The layouts can be hand tuned.

@goern
Copy link
Member

goern commented May 25, 2023

/kind feature

@op1st-prow op1st-prow bot added the kind/feature Categorizes issue or PR as related to a new feature. label May 25, 2023
@goern goern added hacktoberfest Issues targeting the hacktoberfest participants. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. hacktoberfest Issues targeting the hacktoberfest participants. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants