The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
|
Export/record user data - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: General Discussion (https://www.vdrift.net/Forum/forumdisplay.php?fid=8) +--- Thread: Export/record user data (/showthread.php?tid=1582) |
Export/record user data - ls908 - 12-04-2011 Hi, 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. - NaN - 12-04-2011 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. |