Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for direct mission launching #649

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

mharis001
Copy link
Contributor

@mharis001 mharis001 commented Feb 7, 2024

Improve support for directly launching into 3DEN with an existing mission by allowing missions contained in the project to be used.

Adds a mission configuration parameter that specifies whether a launch configuration loads directly into a mission. Can be specified as either:

  • a folder name in .hemtt/missions/ (e.g., mission = "test.VR" would launch .hemtt/missions/test.VR/mission.sqm).
  • a relative path to a mission.sqm file (or folder containing it).

Tested all of the various cases and everything looks good. I am not too familiar with Rust and this is just the result of my messing around. So, the code could probably be improved.

Close #621

bin/src/commands/launch/mod.rs Outdated Show resolved Hide resolved
bin/src/commands/launch/mod.rs Outdated Show resolved Hide resolved
mharis001 and others added 2 commits February 8, 2024 11:47
@BrettMayson BrettMayson merged commit 4128886 into BrettMayson:main Feb 9, 2024
20 of 30 checks passed
@mharis001 mharis001 deleted the mission-launch branch February 9, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to use realtive path for mission file with launch
2 participants