Good day,
I am actually a newbie on AC python. I was wondering what's the logic behind a logger that writes on a .txt each transit onto a specific point of the track (specified in the code).
I found an app that logs info when a key is pressed, so I think it won't be hard to understand how to log information when the car crosses e.g. the position 0.23 (NormalizedSplinePosition).
I tried to do so with an if statement inside acUpdate, but I am failing my attempts. Can anyone give me tips?
Thanks a lot.
I am actually a newbie on AC python. I was wondering what's the logic behind a logger that writes on a .txt each transit onto a specific point of the track (specified in the code).
I found an app that logs info when a key is pressed, so I think it won't be hard to understand how to log information when the car crosses e.g. the position 0.23 (NormalizedSplinePosition).
I tried to do so with an if statement inside acUpdate, but I am failing my attempts. Can anyone give me tips?
Thanks a lot.