uci-uav-forge / uavf_2024

Flight software for Student Unmanned Aerial Systems 2024 competition
MIT License
3 stars 0 forks source link

Improve how configs are passed into GNC scripts #165

Open Thomas-Neill opened 6 months ago

Thomas-Neill commented 6 months ago

Currently GNC scripts take in multiple command line arguments which correspond to GPS data, for example the mission lap or dropzone. These should probably be combined into one configuration file as we'll never want to "mix and match" different missions and dropzones. (Reasons: it's hard to change on the fly and check whether it's correct, and leaves room open for a new category of error.) Similarly other command-line arguments that aren't location-specific should have defaults too.

Also, for the geofence, we should pass that in through a .plan file rather than a separate file so that both QGroundControl and our script are using the same source of information.