| 344 | |
| 345 | |
| 346 | def _weather_to_dict(self, carla_weather): |
| 347 | weather = { |
| 348 | 'cloudiness': carla_weather.cloudiness, |
| 349 | 'precipitation': carla_weather.precipitation, |
| 350 | 'precipitation_deposits': carla_weather.precipitation_deposits, |
| 351 | 'wind_intensity': carla_weather.wind_intensity, |
| 352 | 'sun_azimuth_angle': carla_weather.sun_azimuth_angle, |
| 353 | 'sun_altitude_angle': carla_weather.sun_altitude_angle, |
| 354 | 'fog_density': carla_weather.fog_density, |
| 355 | 'fog_distance': carla_weather.fog_distance, |
| 356 | 'wetness': carla_weather.wetness, |
| 357 | 'fog_falloff': carla_weather.fog_falloff, |
| 358 | } |
| 359 | |
| 360 | return weather |
| 361 | |
| 362 | def _create_bb_points(self, bb): |
| 363 | """ |