Add dummy weather presets
This commit is contained in:
parent
e19a5cb7b9
commit
f45375c747
|
@ -0,0 +1,31 @@
|
|||
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
|
||||
// de Barcelona (UAB).
|
||||
//
|
||||
// This work is licensed under the terms of the MIT license.
|
||||
// For a copy, see <https://opensource.org/licenses/MIT>.
|
||||
|
||||
#include "carla/rpc/WeatherParameters.h"
|
||||
|
||||
namespace carla {
|
||||
namespace rpc {
|
||||
|
||||
using WP = WeatherParameters;
|
||||
|
||||
// cloudyness precip. prec.dep. wind azimuth altitude
|
||||
WP WP::ClearNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::CloudyNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::WetNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::WetCloudyNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::MidRainyNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::HardRainNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::SoftRainNoon = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::ClearSunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::CloudySunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::WetSunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::WetCloudySunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::MidRainSunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::HardRainSunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
WP WP::SoftRainSunset = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
|
||||
|
||||
} // namespace rpc
|
||||
} // namespace carla
|
|
@ -18,6 +18,26 @@ namespace rpc {
|
|||
class WeatherParameters {
|
||||
public:
|
||||
|
||||
/// @name Weather presets
|
||||
/// @{
|
||||
|
||||
static WeatherParameters ClearNoon;
|
||||
static WeatherParameters CloudyNoon;
|
||||
static WeatherParameters WetNoon;
|
||||
static WeatherParameters WetCloudyNoon;
|
||||
static WeatherParameters MidRainyNoon;
|
||||
static WeatherParameters HardRainNoon;
|
||||
static WeatherParameters SoftRainNoon;
|
||||
static WeatherParameters ClearSunset;
|
||||
static WeatherParameters CloudySunset;
|
||||
static WeatherParameters WetSunset;
|
||||
static WeatherParameters WetCloudySunset;
|
||||
static WeatherParameters MidRainSunset;
|
||||
static WeatherParameters HardRainSunset;
|
||||
static WeatherParameters SoftRainSunset;
|
||||
|
||||
/// @}
|
||||
|
||||
WeatherParameters() = default;
|
||||
|
||||
WeatherParameters(
|
||||
|
|
Loading…
Reference in New Issue