Airsim: Weathering Effects on Airsim Neighborhood

Created on 11 Jan 2019  Â·  8Comments  Â·  Source: microsoft/AirSim

**Hello.
I am in the process of extracting img / state data using Airsim.
I tried to put a weathering effect to lower the reliability of img.

In the Blocks Environment, simEnableWeather(True) command worked normally.
But it did not work in Airsim Neighborhood.
The error codes are shown below.

```Connected!
Client Ver:1 (Min Req: 1), Server Ver:1 (Min Req: 1)

Traceback (most recent call last):
File "test1.py", line 8, in
client.simEnableWeather(True)
File "/usr/local/lib/python3.5/dist-packages/airsim/client.py", line 83, in simEnableWeather
return self.client.call('simEnableWeather', enable)
File "/usr/local/lib/python3.5/dist-packages/msgpackrpc/session.py", line 41, in call
return self.send_request(method, args).get()
File "/usr/local/lib/python3.5/dist-packages/msgpackrpc/future.py", line 45, in get
raise error.RPCError(self._error)
msgpackrpc.error.RPCError: rpclib: server could not find function 'simEnableWeather' with argument count 1.
```

I understand that the AirsimNH map is a copyrighted map and can not be separated by UnrealEngine. If you purchase the Modular Neighborhood Package in the market, can you use the weather effect normally?

Best Regards
S.J. Nah**

All 8 comments

Weather effects such as rain and snow accumulation on surfaces has not been enabled in Neighborhood. With the latest AS code, you can see the rain/dust/fog/snow particle effects, but you won't see accumulations on surfaces without some changes to the materials.

Sorry. I think I chose the wrong words.
It does not mean that I want effects like snow accumulation.

The weather-related code or F10 key did not work on the AirSimNH map on the Release page.

Is the weather contents missing from the AirSimNH(Release version) map's Airsim Plugins?
If I use 'Modular Neighborhood' map, is it possible to use weather function?

@sjnah The newest binaries haven't been released just yet, but keep an eye out for updates, we're planning to have them released in the very near future.

Thank you a lot.

S.J.Nah
Best Regards

Did you ensure that you’ve updated the AirSim plug-in for that environment?

From: sjnah notifications@github.com
Sent: Tuesday, January 15, 2019 5:54 PM
To: Microsoft/AirSim AirSim@noreply.github.com
Cc: Jim Piavis Jim.Piavis@microsoft.com; Comment comment@noreply.github.com
Subject: Re: [Microsoft/AirSim] Weathering Effects on Airsim Neighborhood (#1692)

Sorry. I think I chose the wrong words.
It does not mean that I want effects like snow accumulation.

The weather-related code or F10 key did not work on the AirSimNH map on the Release page.

Is the weather contents missing from the AirSimNH(Release version) map's Airsim Plugins?
If I use 'Modular Neighborhood' map, is it possible to use weather function?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAirSim%2Fissues%2F1692%23issuecomment-454621326&data=02%7C01%7Cjim.piavis%40microsoft.com%7C1dfd50279ba9453a591908d67b557a23%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636832004386367650&sdata=tLTFEiIZLeeWWSK6c9YfPhffmizd8Afi5K%2FCv%2FrPLEM%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAcIIKh2Zrbhg4sEyHeDmyrBC0iEmW6BRks5vDoY0gaJpZM4Z7DkP&data=02%7C01%7Cjim.piavis%40microsoft.com%7C1dfd50279ba9453a591908d67b557a23%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636832004386377655&sdata=JIoNGw7EFAIbkd0UGRq8o37LWCCWlqftVn%2FH13KlO6w%3D&reserved=0.

I understood how to apply Airsim function to new environment as follows. Is that right?

  1. Copy the airsim plugins file to the environment folder.
  2. Run UE4Editor and compile it.
  3. Change Gamemode to Airsim.

If that's true, I can do that with the AirSimNH environment available at the Unreal Marketplace. However, AirsimNH, which can be downloaded from Airsim-Release(Free), does not have an uproject file.
I know it can not be compiled because it can not be opened with UE4Editor.

Weather effects such as rain and snow accumulation on surfaces has not been enabled in Neighborhood. With the latest AS code, you can see the rain/dust/fog/snow particle effects, but you won't see accumulations on surfaces without some changes to the materials.

Do you have any plan to add the surface snow or dust effect in the future? BTW, thanks for your hard work!

That’s in work with a new Neighborhood environment. We just don’t have a firm release date set for that. Hopefully soon.

Was this page helpful?
0 / 5 - 0 ratings