Sauna-ATC-Training-Simulator / sauna-api

ATC Simulator REST API
GNU General Public License v3.0
0 stars 0 forks source link

Add Simulation Rate #7

Closed 997R8V10 closed 9 months ago

997R8V10 commented 1 year ago

Create the ability to modify the simulation rate on the fly.

Modifying simulation rate should NOT affect groundspeed or radii of turns. One potential solution may be to pass a different time interval into the position update functions.

For example (2x simulation rate): calculate_position(2 * posCalcInterval); Sleep(posCalcInterval);