Skip to content

fix: correct CarlaAir AirSim settings source path - #3701

Open
beyond-ovo wants to merge 1 commit into
OpenHUTB:hutbfrom
beyond-ovo:fix/carlaair-settings-source
Open

beyond-ovo wants to merge 1 commit into
OpenHUTB:hutbfrom
beyond-ovo:fix/carlaair-settings-source

Conversation

@beyond-ovo

Copy link
Copy Markdown

Description

Fix the CarlaAir startup script so that it copies the repository's default AirSim settings from the correct path. When ~/Documents/AirSim/settings.json does not exist, the script now copies Util/air/settings.json instead of the nonexistent Util/air/AirSimConfig/settings.json. This prevents set -e from aborting the first startup.

Fixes: None provided.

Where has this been tested?

  • Platform(s): Linux shell environment; isolated first-start configuration-copy smoke test
  • Python version(s): Not applicable
  • Unreal Engine version(s): Not run; simulator runtime was unavailable

Validation performed:

  • bash -n Util/air/carlaAir.sh
  • git diff --check
  • Isolated first-start configuration-copy smoke test with a temporary home directory

Full make check and CARLA/AirSim integration tests were not run because a simulator build and runtime environment were unavailable.

Possible Drawbacks

None expected. Existing user-provided AirSim settings are not overwritten.

This branch has not been deployed

No deployments
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.

1 participant