scenario_simulator_v2 C++ API
override_controller_value_action.hpp
Go to the documentation of this file.
1 // Copyright 2015 TIER IV, Inc. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef OPENSCENARIO_INTERPRETER__SYNTAX__OVERRIDE_CONTROLLER_VALUE_ACTION_HPP_
16 #define OPENSCENARIO_INTERPRETER__SYNTAX__OVERRIDE_CONTROLLER_VALUE_ACTION_HPP_
17 
19 #include <pugixml.hpp>
20 
22 {
23 inline namespace syntax
24 {
25 /* ---- OverrideControllerValueAction ------------------------------------------
26  *
27  * Overrides entity controller values. Mostly suited for motor vehicles.
28  *
29  * <xsd:complexType name="OverrideControllerValueAction">
30  * <xsd:all>
31  * <xsd:element name="Throttle" type="OverrideThrottleAction"/>
32  * <xsd:element name="Brake" type="OverrideBrakeAction"/>
33  * <xsd:element name="Clutch" type="OverrideClutchAction"/>
34  * <xsd:element name="ParkingBrake" type="OverrideParkingBrakeAction"/>
35  * <xsd:element name="SteeringWheel" type="OverrideSteeringWheelAction"/>
36  * <xsd:element name="Gear" type="OverrideGearAction"/>
37  * </xsd:all>
38  * </xsd:complexType>
39  *
40  * -------------------------------------------------------------------------- */
42 {
43  // New value for throttle pedal position or unset value.
44  // const OverrideThrottleAction overrideThrottle;
45 
46  // New value for brake position or unset value.
47  // const OverrideBrakeAction overrideBrake;
48 
49  // New value for clutch position or unset value.
50  // const OverrideClutchAction overrideClutch;
51 
52  // New value for parking brake position or unset value.
53  // const OverrideParkingBrakeAction overrideParkingBrake;
54 
55  // New value for steering wheel position or unset value.
56  // const OverrideSteeringWheelAction overrideSteeringWheel;
57 
58  // New value for gear position or unset value.
59  // const OverrideGearAction overrideGear;
60 
62 
63  explicit OverrideControllerValueAction(const pugi::xml_node &, Scope &);
64 };
65 } // namespace syntax
66 } // namespace openscenario_interpreter
67 
68 #endif // OPENSCENARIO_INTERPRETER__SYNTAX__OVERRIDE_CONTROLLER_VALUE_ACTION_HPP_
Definition: scope.hpp:154
Definition: escape_sequence.hpp:22
Definition: override_controller_value_action.hpp:42