AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Unexpected 'f' Expected '}' Error In Settings When Running AirSim

Open exploke opened this issue 9 years ago • 2 comments

When I run the latest commit of AirSim, I get an unexpected 'f' expected '}' error in the settings.json file.

ff error

The error in the settings file seems to be with RecordInterval portion.

settings f

Any help to fix this problem as soon as possible would be appreciated.

exploke avatar Aug 31 '17 16:08 exploke

Please try to delete the 'f' after all the float value, like change ""AutoExposureMaxBrightness": 0.64f" to ""AutoExposureMaxBrightness": 0.64". By the way, add ',' in line 20("ImageType":1,), 35, 43.

Robin-Wong avatar Sep 01 '17 07:09 Robin-Wong

Also, if setting is just default value, I would highly recommand not adding it in setting.json. This way if default changes in later releases, you get it without issues.

sytelus avatar Sep 01 '17 08:09 sytelus