You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to change settings.json? It become default setting when I turn on. #3005
Hi. I'm using windows, python version 3.8, unreal version 4.24.1
I'm doing some work at making auto-driving safety algorithm and, I'm learning airsim.
By the way, I want to change camera location and direction.
So I tried changing settings.json, but it returns to default setting when I turn on airsim in unreal engine.
I even tried saving it with encoded with ASCII Code, but it doesn't work... How can I change my settings.json?
Either change the file in the Documents/Airsim folder, or, if you are trying to create a custom settings.json in the executable folder, make sure that it is in the same folder as the actual executable. This is not the same as the top level executable in the binary folder. E.g. if you are using the Blocks environment, the settings.json file should be placed in ...\Blocks\Blocks\Binaries\Win64
@shkim1030 When you start Airsim, it should list the location that it is pulling the settings.json file from in the top left corner logs. Can you see where that location is for your setup?
Hi @shkim1030! The place searched for the settings.json is (in my windows machine) C:\Program Files\Epic Games\UE_4.24\Engine\Binaries\Win64\settings.json.
if that doesn't help, try debugging here please:
Activity
GimpelZhang commentedon Sep 7, 2020
The default path to the setting file is: /Documents/AirSim/settings.json
So are you changing this setting file? If so, please ignore my comment.
nabeelsherazi commentedon Sep 22, 2020
Either change the file in the Documents/Airsim folder, or, if you are trying to create a custom settings.json in the executable folder, make sure that it is in the same folder as the actual executable. This is not the same as the top level executable in the binary folder. E.g. if you are using the Blocks environment, the settings.json file should be placed in
...\Blocks\Blocks\Binaries\Win64nabeelsherazi commentedon Sep 25, 2020
@shkim1030 When you start Airsim, it should list the location that it is pulling the settings.json file from in the top left corner logs. Can you see where that location is for your setup?
jonyMarino commentedon Nov 6, 2020
Hi @shkim1030! The place searched for the settings.json is (in my windows machine) C:\Program Files\Epic Games\UE_4.24\Engine\Binaries\Win64\settings.json.
if that doesn't help, try debugging here please:
AirSim/Unreal/Plugins/AirSim/Source/SimHUD/SimHUD.cpp
Lines 365 to 372 in d59ceb7