ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
ap_traffic_light_sim_dummy.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2017-2020 German Aerospace Center (DLR).
3  * Eclipse ADORe, Automated Driving Open Research https://eclipse.org/adore
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License 2.0 which is available at
7  * http://www.eclipse.org/legal/epl-2.0.
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  * Jan Lauermann - initial API and implementation
13  ********************************************************************************/
14 
15 #include <string>
17 
18 #pragma once
19 namespace adore
20 {
21  namespace params
22  {
28  {
29 
30  public:
31 
32  virtual int getRedDuration()const override
33  {
34  return 8000;
35  }
36  virtual int getGreenDuration()const override
37  {
38  return 8000;
39  }
40  virtual int getRedYellowDuration()const override
41  {
42  return 2000;
43  }
44  virtual int getYellowDuration()const override
45  {
46  return 2000;
47  }
48  virtual std::string getStartState()const override
49  {
50  return "r";
51  }
52 
53  virtual bool getIsProbeMode()const override
54  {
55  return false;
56  }
57  };
58 
59  }
60 }
a dummy implementation for testing purposes
Definition: ap_traffic_light_sim_dummy.h:28
virtual int getYellowDuration() const override
Definition: ap_traffic_light_sim_dummy.h:44
virtual int getRedDuration() const override
Definition: ap_traffic_light_sim_dummy.h:32
virtual int getRedYellowDuration() const override
Definition: ap_traffic_light_sim_dummy.h:40
virtual std::string getStartState() const override
Definition: ap_traffic_light_sim_dummy.h:48
virtual bool getIsProbeMode() const override
Definition: ap_traffic_light_sim_dummy.h:53
virtual int getGreenDuration() const override
Definition: ap_traffic_light_sim_dummy.h:36
abstract class containing parameters to configure aspects of the map provider
Definition: ap_traffic_light_sim.h:27
Definition: areaofeffectconverter.h:20