steviet91 / furmulaone_source

Source repo for the car and track models
MIT License
0 stars 0 forks source link

Driver demand logging #4

Open Thonners opened 4 years ago

Thonners commented 4 years ago

Both for training ML/RL bots and reviewing their progress, it'd be good to be able to log the drivers' inputs.

These should be saved to a file at some temporal accuracy (10Hz? 20Hz? 100Hz?!) and could be JSON, CSV, or raw numpy.

Even a 5min lap @ 100Hz would only be ~2.2MB (60k rows, a quick test had 407bytes for 11 rows, so 37 bytes per row of "0.98,0.0,-300.4,extra info,more info"

steviet91 commented 4 years ago

We could have this done outside of the game and in the driver - being fed with vehicle telemetry and lidar information across the udp. That way the user can log in their preferred format depending on the programming language being used?