Skip to content
Snippets Groups Projects

Feature/4d trajectory

Merged kbistreck requested to merge feature/4d-trajectory into main

Description

A method to calculate the coordinates along the shortest route between two airports is included in create_mission_xml and mission_analysis.

create_mission_xml:

  • new nodes in config to define origin and destination airport
  • added list of airports and coordinates in airports.csv
  • function: if airport switch is enabled in config, the module reads airport code from config and the corresponding coordinates from csv, calculates the shortest distance between the airports and writes codes, coordinates and distance to mission.xml

mission_analysis:

  • namespace orthodrome will be used if higher fidelity method is chosen in config
  • reads code and coordinated from mission.xml
  • calculates coordinates for every mission point
  • writes coordinates into mission.csv, creates plot and include it in html report

Other Changes

  • changed default setting for info files in create_mission_xml.congig
  • deleted on useless rtIO->out in mission_analysis
  • added ; after incidence angle in mission.csv
  • changed variable type in for loops to size_t

Screenshots/Logs

HTML report should look like this:

image.png

Testing Instructions

  1. Set airports/enable of chosen mission type to "true" in create_mission_xml_conf and choose two airports
  2. Build and run create_mission_xml
  3. Check if airport node exists in mission.xml
  4. Set fidelity_level to "high" in mission_analysis_conf.xml and choose the same mission type as in create_mission_xml
  5. Build and run mission_analysis
  6. Check html report of mission_analysis and last two columns in mission.csv
  7. Additional test cases: define not existing airport codes or try to run high fidelity method without providing airport information in mission.cv

Developer Checklist

  • Code has been tested locally and/or in pipeline.
  • (if applicable) documentation updated. (work in progress)
  • (if applicable) impact of new dependencies reviewed and included in project. (Workflow installer needs update, @AndiGob in on it)
  • Merge conflicts resolved with the target branch.

Additional Notes

If you have ideas how to integrate it better in the sense of modularization let me know :)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading