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

bug fixes #1656 #1684

Merged
merged 1 commit into from
Jan 11, 2019
Merged

bug fixes #1656 #1684

merged 1 commit into from
Jan 11, 2019

Conversation

msb336
Copy link
Contributor

@msb336 msb336 commented Jan 9, 2019

Stops AirSim from looking inside of the unity executable folder for settings.json file and removes the need to have cmake installed globally on your machine.

@sytelus
Copy link
Contributor

sytelus commented Jan 10, 2019

Why do you need to stop looking in to Unity folder? It's just not going to find file there and move on to next location. AirSim first looks for settings in executable folder and if not found then in to user folder. This is needed so that you can deploy different config for different packaged projects.

@msb336
Copy link
Contributor Author

msb336 commented Jan 10, 2019

All references in the documentation point to placing your settings.json file in the Documents/AirSim directory. There have been some issues brought up about the settings.json file location in unity, so it seems the most foolproof way to stop unexpected behavior for users is to force AirSim to only look in one location.

I'll remove the section of the commit related to #1579 , but we should update the docs to inform users that AirSim will look in the executable directory first.

@@ -126,8 +126,6 @@ void SimHUD::createSimMode()
bool SimHUD::getSettingsText(std::string& settingsText)
{
return (
readSettingsTextFromFile(msr::airlib::Settings::getExecutableFullPath("settings.json"), settingsText)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to stop looking in to Unity folder? It's just not going to find file there and move on to next location. AirSim first looks for settings in executable folder and if not found then in to user folder. This is needed so that you can deploy different config for different packaged projects.

@msb336 msb336 changed the title bug fixes #1656 and #1579 bug fixes #1656 Jan 10, 2019
@sytelus sytelus merged commit 0bc7165 into microsoft:master Jan 11, 2019
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.

2 participants