Fastest-lap is a vehicle dynamics simulator. It can be used to understand vehicle dynamics, to learn about driving techniques, to design car prototypes, or just for fun!
MIT License
575
stars
43
forks
source link
Circuit preprocessor: automate computation of the number of full rotations of the car after a lap #37
In most tracks, when a car takes a full lap, the total yaw angle steered is 360 (with the appropriate sign for clock/counter-clock wise tracks). But for example, in suzuka, which self-intersects itself, its zero. So automatize the computation of this number before the circuit preprocessor starts the computation, and feed it to the rotation constraint.
In most tracks, when a car takes a full lap, the total yaw angle steered is 360 (with the appropriate sign for clock/counter-clock wise tracks). But for example, in suzuka, which self-intersects itself, its zero. So automatize the computation of this number before the circuit preprocessor starts the computation, and feed it to the rotation constraint.