project-bluebird / bluebird

Server to communicate with NATS air traffic simulator and Bluesky
MIT License
10 stars 4 forks source link

Truncated routes cause unhandled exceptions #88

Open FelixDuxNATS opened 4 years ago

FelixDuxNATS commented 4 years ago

This was observed on the develop branch running with --simtype machcoll.

I generated sector and scenario files using the latest aviary develop branch (using the example commands in the README.md). In the scenario, aviary correctly truncates the routes to remove fixes that have already been passed (based on the start location), but the consequence is that the routes in the scenario no longer exactly match the sequences of fixes in the predefined routes in the sector file. This causes an unhandled exception at line 197 of bluebird/sim_proxy/proxy_aircraft_controls.py. The two routes in the scenario visit the following sequences of fixes: