Replies: 3 comments
-
Hi @Panshark , apologies for the delayed response. Unfortunately, pygame objects cannot be pickled. Any replacement for pygame (to render/display to screen) will also likely use objects that cannot be pickled. |
Beta Was this translation helpful? Give feedback.
-
Hi @praveen-palanisamy , In the beginning, I tried to train a meta reinforcement learning network for Carla, so I need to use Now I am trying to design some continuous changing environment in Carla, do you have any example of how do we define the weather changing using cloudy, precipitation, precipitation deposits, and wind intensity? Like, give it a changing function to simulate the weather change in our true world. Also, I will be really grateful if you can share any information about this question. Best Regards |
Beta Was this translation helpful? Give feedback.
-
Hi @Panshark , macad-gym/src/macad_gym/carla/scenarios.py Line 113 in 38884ac to include multiple weather conditions like this: "weather_distribution": [0, 1, 2, 3, 4], Where the weather integer enum values are described as below: macad-gym/src/macad_gym/carla/scenarios.py Lines 8 to 23 in 38884ac If you want to change the weather dynamically within each of the episodes (not recommended), you can use the CARLA API directly. Sample script to dynamically change weather is provided here: Dynamic Weather Converting this question to a GitHub discussion. Mark as answered if you got answer to your question. |
Beta Was this translation helpful? Give feedback.
-
Hi @praveen-palanisamy ,
I want to use multiprocess in macad-gym, but I find pygame cannot be pickled:
Can we use something to replace pygame? I notice you use it to obtain observation. Or do you have any idea how to pickle it?
Really thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions