Hi all,
The goal of this application is provide a mechanism to notify the driver of the proximity of another driver that is close to lap him. This is a very simple application and is my first attempt to develop a Python application on AC.
As any other AC python app, you just extract the contents to your assetto corsa folder, typically, C:\Program Files (x86)\Steam\SteamApps\common\assettocorsa
The application can be fine tuned modifying the config file located at apps\python\ferito-blueflag\config\ferito-blueflag.ini . The default configuration is good enough to provide an acceptable notification.
[settings]
splineThreshold = 0.05
speedTriggerThreshold = 40.0
distanceThreshold = 40000.0
updateThreshold = 1.0
- updateThreshold is how frequent the application check for cars close to lap. Lower values means more frequent updates, but may consume more CPU. I have not seen a significant use of CPU required so far.
- speedTriggerThreshold is the minimum speed, in KPH, a car has to have to be considered as a trigger of a blue flag. This helps to avoid get notification of parked cars or cars driving through the pits. I am not sure if 40kph is the pit speed for all cars and all tracks.
- splineThreshold is the required distance between the lapper and the lapped cars that will trigger the blue flag. Actually this is a first part check for car proximity. Internally in AC, the NormalizedSplinePosition is a normalized value (0 - 1.0) that represents were the car is located related to the start finish of a lap (0 just after the finish line and 1.0 just before it). This measure is used but is not the definitive one as different tracks has different distance and the range of value can represent diferent distances, which is not desirable.
- distanceThreshold is the minimum distance, which I think is in mm, between cars that will trigger a blue flag. The distance between cars is more consistent than the NormalizedSplinePosition, but seems the second is faster to get from the AC API and has a better representation of where the car is in terms to finish a lap.
You can download the app from the downloads section:
http://www.racedepartment.com/downloads/ferito-blueflag.3402/
Issues, troubles, comments, please lets keep them on this topic. I am not responsible of any damage this app can do to your hardware or software. If you use it, is by your own risk. Keep in mind this is a beta, a work in progress.
Fernando
The goal of this application is provide a mechanism to notify the driver of the proximity of another driver that is close to lap him. This is a very simple application and is my first attempt to develop a Python application on AC.
As any other AC python app, you just extract the contents to your assetto corsa folder, typically, C:\Program Files (x86)\Steam\SteamApps\common\assettocorsa
The application can be fine tuned modifying the config file located at apps\python\ferito-blueflag\config\ferito-blueflag.ini . The default configuration is good enough to provide an acceptable notification.
[settings]
splineThreshold = 0.05
speedTriggerThreshold = 40.0
distanceThreshold = 40000.0
updateThreshold = 1.0
- updateThreshold is how frequent the application check for cars close to lap. Lower values means more frequent updates, but may consume more CPU. I have not seen a significant use of CPU required so far.
- speedTriggerThreshold is the minimum speed, in KPH, a car has to have to be considered as a trigger of a blue flag. This helps to avoid get notification of parked cars or cars driving through the pits. I am not sure if 40kph is the pit speed for all cars and all tracks.
- splineThreshold is the required distance between the lapper and the lapped cars that will trigger the blue flag. Actually this is a first part check for car proximity. Internally in AC, the NormalizedSplinePosition is a normalized value (0 - 1.0) that represents were the car is located related to the start finish of a lap (0 just after the finish line and 1.0 just before it). This measure is used but is not the definitive one as different tracks has different distance and the range of value can represent diferent distances, which is not desirable.
- distanceThreshold is the minimum distance, which I think is in mm, between cars that will trigger a blue flag. The distance between cars is more consistent than the NormalizedSplinePosition, but seems the second is faster to get from the AC API and has a better representation of where the car is in terms to finish a lap.
You can download the app from the downloads section:
http://www.racedepartment.com/downloads/ferito-blueflag.3402/
Issues, troubles, comments, please lets keep them on this topic. I am not responsible of any damage this app can do to your hardware or software. If you use it, is by your own risk. Keep in mind this is a beta, a work in progress.
Fernando
Last edited: