-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Argument --settings is ineffective for Release v1.3.1-linux Blocks environment #3195
Comments
Hi @wangwwno1 , the feature was introduced in #2668 which was merged a couple of months after the 1.3.1 release. If you clone the latest repo and compile the binary through the included Blocks development environment this would probably work. |
Thanks! I'll give a try! |
Get an error during package process, just like issue #2957: Current Status:
|
It looks like the UnrealEngine parser won't process json strings without opening and closing quote. |
@ahmed-elsaharti
Result: Pop-up "Choose Vehicle"window that ask to use car or quadcopter |
I currently don't have access to my Linux system. However, I'll compile a binary using the latest repo on my Windows system and test this. |
Here's what I found so far (for Windows):
|
Thanks for the response! I got similar result on Ubuntu 18.04 terminal console. The console encoding is |
I was experiencing the same issue with the The function does not properly support passing a json object with
Here is my suggested fixes to SimHud.cpp and settings.md Change the settings command line argument from
|
Thanks, @niwc-jamelc for sharing a fix. Why don't you submit a pull request? |
@jonyMarino Apologies for the delay. I've created a pull request. |
OS: Ubuntu 18.04
AirSim: v1.3.1-linux(release)
Python: 3.8.4
Unreal Engine: 4.24.3
This doc said I can specify customized
settings.json
through argument--settings
or-s
. However, this argument seems ineffective for the Blocks environment downloaded from the same releases page.How to replicate:
./Blocks.sh --settings '{"SimMode": "Multirotor"}'
in the terminal consoleResult: Pop-up "Choose Vehicle"window that ask to use car or quadcopter
Expect: No pop-up window
Edit: This issue disappeared after:
Here is my python code with pexpect.spawn
The resuslt would be:
I'm not sure the root of this problem, maybe there is something wrong in the terminal console.
Edit: Passing settings as argument to pexpect.spawn, however, is ineffective
The text was updated successfully, but these errors were encountered: