Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Export/record user data
12-04-2011, 04:12 PM,
Export/record user data

I am trying to find a way to record user data in VDrift. With this I mean the user inputs (accelerator position, brake pedal position, steering angle,...) as well as the users car position (current track segment, exact track position, speed, de/acceleration, direction,...). Ideally I am trying to achieve something that outputs a text file for every completed lap but any other output would be great as well.

Is this possible in VDrift or any other racing simulation for that matter? Is it possible to record similar data for AI drivers?

Any pointers would be greatly appreciated.
12-04-2011, 04:31 PM,
Hi ls908.

You would have to write the logging code.

For example:
In CAR::CAR() constructor open a file for logging(use car pointer in file name to differentiate between cars).
In CAR::HandleInputs(..) log inputs vector and current cardynamics state.

Forum Jump:

Users browsing this thread: 1 Guest(s)