How to change settings.json? It become default setting when I turn on. #3354
-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Thanks for your comment! |
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
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. AirSim/Unreal/Plugins/AirSim/Source/SimHUD/SimHUD.cpp Lines 365 to 372 in d59ceb7 |
Beta Was this translation helpful? Give feedback.
-
I have same issue |
Beta Was this translation helpful? Give feedback.
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