Branch data Line data Source code
1 : : /* 2 : : * ----------------- BEGIN LICENSE BLOCK --------------------------------- 3 : : * 4 : : * Copyright (C) 2018-2021 Intel Corporation 5 : : * 6 : : * SPDX-License-Identifier: LGPL-2.1-only 7 : : * 8 : : * ----------------- END LICENSE BLOCK ----------------------------------- 9 : : */ 10 : : 11 : : /* 12 : : * Generated file 13 : : */ 14 : : 15 : : #include <gtest/gtest.h> 16 : : 17 : : #include <limits> 18 : : 19 : : #include "ad/rss/situation/SituationSnapshotValidInputRange.hpp" 20 : : 21 : 2 : TEST(SituationSnapshotValidInputRangeTests, testValidInputRange) 22 : : { 23 : 1 : ::ad::rss::situation::SituationSnapshot value; 24 : 1 : ::ad::rss::world::TimeIndex valueTimeIndex(std::numeric_limits<::ad::rss::world::TimeIndex>::lowest()); 25 : 1 : valueTimeIndex = ::ad::rss::world::TimeIndex(1); // set to valid value within struct 26 : 1 : value.timeIndex = valueTimeIndex; 27 : 1 : ::ad::rss::world::RssDynamics valueDefaultEgoVehicleRssDynamics; 28 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLon; 29 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax(-1e2); 30 : : valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax 31 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 32 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax; 33 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax(-1e2); 34 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax; 35 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin(-1e2); 36 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin; 37 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect(-1e2); 38 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect; 39 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax; 40 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 41 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect; 42 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 43 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLon = valueDefaultEgoVehicleRssDynamicsAlphaLon; 44 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLat; 45 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax(-1e2); 46 : : valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax 47 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 48 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax; 49 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin(-1e2); 50 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin; 51 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLat = valueDefaultEgoVehicleRssDynamicsAlphaLat; 52 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin(-1e9); 53 : : valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin 54 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 55 : : valueDefaultEgoVehicleRssDynamics.lateralFluctuationMargin 56 : 1 : = valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin; 57 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsResponseTime(0.); 58 : : valueDefaultEgoVehicleRssDynamicsResponseTime 59 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 60 : 1 : valueDefaultEgoVehicleRssDynamics.responseTime = valueDefaultEgoVehicleRssDynamicsResponseTime; 61 : 1 : ::ad::physics::Speed valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration(-100.); 62 : 1 : valueDefaultEgoVehicleRssDynamics.maxSpeedOnAcceleration = valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration; 63 : 1 : ::ad::rss::world::UnstructuredSettings valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 64 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9); 65 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianTurningRadius 66 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius; 67 : 1 : ::ad::physics::Angle valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 68 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.driveAwayMaxAngle 69 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle; 70 : 1 : ::ad::physics::AngularAcceleration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 71 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleYawRateChange 72 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange; 73 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 74 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleMinRadius 75 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius; 76 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 77 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 78 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 79 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 80 : : std::numeric_limits<uint32_t>::min()}; 81 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 82 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 83 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 84 : : std::numeric_limits<uint32_t>::min()}; 85 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 86 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 87 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 88 : : std::numeric_limits<uint32_t>::min()}; 89 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 90 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 91 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 92 : : std::numeric_limits<uint32_t>::min()}; 93 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 94 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 95 : : uint32_t 96 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps{ 97 : : std::numeric_limits<uint32_t>::min()}; 98 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateYawRateChangeRatioSteps 99 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps; 100 : : uint32_t 101 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps{ 102 : : std::numeric_limits<uint32_t>::min()}; 103 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps 104 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps; 105 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps{ 106 : : std::numeric_limits<uint32_t>::min()}; 107 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateAccelerationSteps 108 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps; 109 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps{ 110 : : std::numeric_limits<uint32_t>::min()}; 111 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBrakeIntermediateAccelerationSteps 112 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps; 113 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps{ 114 : : std::numeric_limits<uint32_t>::min()}; 115 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianFrontIntermediateHeadingChangeRatioSteps 116 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps; 117 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps{ 118 : : std::numeric_limits<uint32_t>::min()}; 119 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBackIntermediateHeadingChangeRatioSteps 120 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps; 121 : 1 : valueDefaultEgoVehicleRssDynamics.unstructuredSettings = valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 122 : 1 : value.defaultEgoVehicleRssDynamics = valueDefaultEgoVehicleRssDynamics; 123 : 1 : ::ad::rss::situation::SituationVector valueSituations; 124 : 1 : ::ad::rss::situation::Situation valueSituationsElement; 125 : 1 : ::ad::rss::situation::SituationId valueSituationsElementSituationId( 126 : : std::numeric_limits<::ad::rss::situation::SituationId>::lowest()); 127 : 1 : valueSituationsElement.situationId = valueSituationsElementSituationId; 128 : 1 : ::ad::rss::world::ObjectId valueSituationsElementObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 129 : 1 : valueSituationsElement.objectId = valueSituationsElementObjectId; 130 : 1 : ::ad::rss::situation::SituationType valueSituationsElementSituationType( 131 : : ::ad::rss::situation::SituationType::NotRelevant); 132 : 1 : valueSituationsElement.situationType = valueSituationsElementSituationType; 133 : 1 : ::ad::rss::situation::VehicleState valueSituationsElementEgoVehicleState; 134 : 1 : ::ad::rss::situation::VelocityRange valueSituationsElementEgoVehicleStateVelocity; 135 : 1 : ::ad::physics::SpeedRange valueSituationsElementEgoVehicleStateVelocitySpeedLon; 136 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLonMinimum(-100.); 137 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum 138 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLonMinimum; 139 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLonMaximum(-100.); 140 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum 141 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLonMaximum; 142 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum 143 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum; 144 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum 145 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum; 146 : 1 : valueSituationsElementEgoVehicleStateVelocity.speedLon = valueSituationsElementEgoVehicleStateVelocitySpeedLon; 147 : 1 : ::ad::physics::SpeedRange valueSituationsElementEgoVehicleStateVelocitySpeedLat; 148 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLatMinimum(-100.); 149 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum 150 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLatMinimum; 151 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLatMaximum(-100.); 152 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum 153 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLatMaximum; 154 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum 155 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum; 156 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum 157 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum; 158 : 1 : valueSituationsElementEgoVehicleStateVelocity.speedLat = valueSituationsElementEgoVehicleStateVelocitySpeedLat; 159 : 1 : valueSituationsElementEgoVehicleState.velocity = valueSituationsElementEgoVehicleStateVelocity; 160 : 1 : ::ad::rss::world::RssDynamics valueSituationsElementEgoVehicleStateDynamics; 161 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueSituationsElementEgoVehicleStateDynamicsAlphaLon; 162 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax(-1e2); 163 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax 164 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 165 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.accelMax 166 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax; 167 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMax(-1e2); 168 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax 169 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMax; 170 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMin(-1e2); 171 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 172 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMin; 173 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2); 174 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect 175 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect; 176 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 177 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax; 178 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect 179 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin; 180 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 181 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect; 182 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax 183 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin; 184 : 1 : valueSituationsElementEgoVehicleStateDynamics.alphaLon = valueSituationsElementEgoVehicleStateDynamicsAlphaLon; 185 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueSituationsElementEgoVehicleStateDynamicsAlphaLat; 186 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax(-1e2); 187 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax 188 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 189 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLat.accelMax 190 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax; 191 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLatBrakeMin(-1e2); 192 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLat.brakeMin 193 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLatBrakeMin; 194 : 1 : valueSituationsElementEgoVehicleStateDynamics.alphaLat = valueSituationsElementEgoVehicleStateDynamicsAlphaLat; 195 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin(-1e9); 196 : : valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin 197 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 198 : : valueSituationsElementEgoVehicleStateDynamics.lateralFluctuationMargin 199 : 1 : = valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin; 200 : 1 : ::ad::physics::Duration valueSituationsElementEgoVehicleStateDynamicsResponseTime(0.); 201 : : valueSituationsElementEgoVehicleStateDynamicsResponseTime 202 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 203 : : valueSituationsElementEgoVehicleStateDynamics.responseTime 204 : 1 : = valueSituationsElementEgoVehicleStateDynamicsResponseTime; 205 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateDynamicsMaxSpeedOnAcceleration(-100.); 206 : : valueSituationsElementEgoVehicleStateDynamics.maxSpeedOnAcceleration 207 : 1 : = valueSituationsElementEgoVehicleStateDynamicsMaxSpeedOnAcceleration; 208 : 1 : ::ad::rss::world::UnstructuredSettings valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings; 209 : : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius( 210 : 1 : -1e9); 211 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius 212 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius; 213 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 214 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle 215 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle; 216 : : ::ad::physics::AngularAcceleration 217 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 218 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange 219 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange; 220 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 221 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius 222 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius; 223 : : ::ad::physics::Duration 224 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 225 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 226 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 227 : : uint32_t 228 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 229 : : std::numeric_limits<uint32_t>::min()}; 230 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 231 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 232 : : uint32_t 233 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 234 : : std::numeric_limits<uint32_t>::min()}; 235 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 236 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 237 : 1 : uint32_t valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 238 : : std::numeric_limits<uint32_t>::min()}; 239 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 240 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 241 : : uint32_t 242 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 243 : : std::numeric_limits<uint32_t>::min()}; 244 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 245 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 246 : : valueSituationsElementEgoVehicleStateDynamics.unstructuredSettings 247 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings; 248 : 1 : valueSituationsElementEgoVehicleState.dynamics = valueSituationsElementEgoVehicleStateDynamics; 249 : 1 : bool valueSituationsElementEgoVehicleStateHasPriority{true}; 250 : 1 : valueSituationsElementEgoVehicleState.hasPriority = valueSituationsElementEgoVehicleStateHasPriority; 251 : 1 : bool valueSituationsElementEgoVehicleStateIsInCorrectLane{true}; 252 : 1 : valueSituationsElementEgoVehicleState.isInCorrectLane = valueSituationsElementEgoVehicleStateIsInCorrectLane; 253 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDistanceToEnterIntersection(-1e9); 254 : : valueSituationsElementEgoVehicleStateDistanceToEnterIntersection 255 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 256 : : valueSituationsElementEgoVehicleState.distanceToEnterIntersection 257 : 1 : = valueSituationsElementEgoVehicleStateDistanceToEnterIntersection; 258 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDistanceToLeaveIntersection(-1e9); 259 : : valueSituationsElementEgoVehicleState.distanceToLeaveIntersection 260 : 1 : = valueSituationsElementEgoVehicleStateDistanceToLeaveIntersection; 261 : 1 : ::ad::rss::world::ObjectType valueSituationsElementEgoVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid); 262 : 1 : valueSituationsElementEgoVehicleState.objectType = valueSituationsElementEgoVehicleStateObjectType; 263 : 1 : ::ad::rss::world::ObjectState valueSituationsElementEgoVehicleStateObjectState; 264 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateObjectStateYaw(-6.283185308); 265 : 1 : valueSituationsElementEgoVehicleStateObjectState.yaw = valueSituationsElementEgoVehicleStateObjectStateYaw; 266 : 1 : ::ad::physics::Dimension2D valueSituationsElementEgoVehicleStateObjectStateDimension; 267 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateDimensionLength(-1e9); 268 : : valueSituationsElementEgoVehicleStateObjectStateDimension.length 269 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimensionLength; 270 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateDimensionWidth(-1e9); 271 : : valueSituationsElementEgoVehicleStateObjectStateDimension.width 272 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimensionWidth; 273 : : valueSituationsElementEgoVehicleStateObjectState.dimension 274 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimension; 275 : 1 : ::ad::physics::AngularVelocity valueSituationsElementEgoVehicleStateObjectStateYawRate(-100.); 276 : 1 : valueSituationsElementEgoVehicleStateObjectState.yawRate = valueSituationsElementEgoVehicleStateObjectStateYawRate; 277 : 1 : ::ad::physics::Distance2D valueSituationsElementEgoVehicleStateObjectStateCenterPoint; 278 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateCenterPointX(-1e9); 279 : : valueSituationsElementEgoVehicleStateObjectStateCenterPoint.x 280 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPointX; 281 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateCenterPointY(-1e9); 282 : : valueSituationsElementEgoVehicleStateObjectStateCenterPoint.y 283 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPointY; 284 : : valueSituationsElementEgoVehicleStateObjectState.centerPoint 285 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPoint; 286 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateObjectStateSpeed(-100.); 287 : 1 : valueSituationsElementEgoVehicleStateObjectState.speed = valueSituationsElementEgoVehicleStateObjectStateSpeed; 288 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateObjectStateSteeringAngle(-6.283185308); 289 : : valueSituationsElementEgoVehicleStateObjectState.steeringAngle 290 : 1 : = valueSituationsElementEgoVehicleStateObjectStateSteeringAngle; 291 : 1 : valueSituationsElementEgoVehicleState.objectState = valueSituationsElementEgoVehicleStateObjectState; 292 : : valueSituationsElementEgoVehicleState.distanceToLeaveIntersection 293 : 1 : = valueSituationsElementEgoVehicleState.distanceToEnterIntersection; 294 : : valueSituationsElementEgoVehicleState.distanceToEnterIntersection 295 : 1 : = valueSituationsElementEgoVehicleState.distanceToLeaveIntersection; 296 : 1 : valueSituationsElement.egoVehicleState = valueSituationsElementEgoVehicleState; 297 : 1 : ::ad::rss::situation::VehicleState valueSituationsElementOtherVehicleState; 298 : 1 : ::ad::rss::situation::VelocityRange valueSituationsElementOtherVehicleStateVelocity; 299 : 1 : ::ad::physics::SpeedRange valueSituationsElementOtherVehicleStateVelocitySpeedLon; 300 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLonMinimum(-100.); 301 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum 302 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLonMinimum; 303 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLonMaximum(-100.); 304 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum 305 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLonMaximum; 306 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum 307 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum; 308 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum 309 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum; 310 : 1 : valueSituationsElementOtherVehicleStateVelocity.speedLon = valueSituationsElementOtherVehicleStateVelocitySpeedLon; 311 : 1 : ::ad::physics::SpeedRange valueSituationsElementOtherVehicleStateVelocitySpeedLat; 312 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLatMinimum(-100.); 313 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum 314 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLatMinimum; 315 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLatMaximum(-100.); 316 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum 317 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLatMaximum; 318 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum 319 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum; 320 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum 321 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum; 322 : 1 : valueSituationsElementOtherVehicleStateVelocity.speedLat = valueSituationsElementOtherVehicleStateVelocitySpeedLat; 323 : 1 : valueSituationsElementOtherVehicleState.velocity = valueSituationsElementOtherVehicleStateVelocity; 324 : 1 : ::ad::rss::world::RssDynamics valueSituationsElementOtherVehicleStateDynamics; 325 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueSituationsElementOtherVehicleStateDynamicsAlphaLon; 326 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax(-1e2); 327 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax 328 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 329 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.accelMax 330 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax; 331 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMax(-1e2); 332 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax 333 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMax; 334 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMin(-1e2); 335 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 336 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMin; 337 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2); 338 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect 339 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect; 340 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 341 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax; 342 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect 343 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin; 344 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 345 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect; 346 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax 347 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin; 348 : 1 : valueSituationsElementOtherVehicleStateDynamics.alphaLon = valueSituationsElementOtherVehicleStateDynamicsAlphaLon; 349 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueSituationsElementOtherVehicleStateDynamicsAlphaLat; 350 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax(-1e2); 351 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax 352 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 353 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLat.accelMax 354 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax; 355 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLatBrakeMin(-1e2); 356 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLat.brakeMin 357 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLatBrakeMin; 358 : 1 : valueSituationsElementOtherVehicleStateDynamics.alphaLat = valueSituationsElementOtherVehicleStateDynamicsAlphaLat; 359 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin(-1e9); 360 : : valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin 361 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 362 : : valueSituationsElementOtherVehicleStateDynamics.lateralFluctuationMargin 363 : 1 : = valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin; 364 : 1 : ::ad::physics::Duration valueSituationsElementOtherVehicleStateDynamicsResponseTime(0.); 365 : : valueSituationsElementOtherVehicleStateDynamicsResponseTime 366 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 367 : : valueSituationsElementOtherVehicleStateDynamics.responseTime 368 : 1 : = valueSituationsElementOtherVehicleStateDynamicsResponseTime; 369 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateDynamicsMaxSpeedOnAcceleration(-100.); 370 : : valueSituationsElementOtherVehicleStateDynamics.maxSpeedOnAcceleration 371 : 1 : = valueSituationsElementOtherVehicleStateDynamicsMaxSpeedOnAcceleration; 372 : 1 : ::ad::rss::world::UnstructuredSettings valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings; 373 : : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius( 374 : 1 : -1e9); 375 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius 376 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius; 377 : : ::ad::physics::Angle valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle( 378 : 1 : -6.283185308); 379 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle 380 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle; 381 : : ::ad::physics::AngularAcceleration 382 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 383 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange 384 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange; 385 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 386 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius 387 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius; 388 : : ::ad::physics::Duration 389 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 390 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 391 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 392 : : uint32_t 393 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 394 : : std::numeric_limits<uint32_t>::min()}; 395 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 396 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 397 : : uint32_t 398 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 399 : : std::numeric_limits<uint32_t>::min()}; 400 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 401 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 402 : 1 : uint32_t valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 403 : : std::numeric_limits<uint32_t>::min()}; 404 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 405 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 406 : : uint32_t 407 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 408 : : std::numeric_limits<uint32_t>::min()}; 409 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings 410 : : .vehicleContinueForwardIntermediateAccelerationSteps 411 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 412 : : valueSituationsElementOtherVehicleStateDynamics.unstructuredSettings 413 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings; 414 : 1 : valueSituationsElementOtherVehicleState.dynamics = valueSituationsElementOtherVehicleStateDynamics; 415 : 1 : bool valueSituationsElementOtherVehicleStateHasPriority{true}; 416 : 1 : valueSituationsElementOtherVehicleState.hasPriority = valueSituationsElementOtherVehicleStateHasPriority; 417 : 1 : bool valueSituationsElementOtherVehicleStateIsInCorrectLane{true}; 418 : 1 : valueSituationsElementOtherVehicleState.isInCorrectLane = valueSituationsElementOtherVehicleStateIsInCorrectLane; 419 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDistanceToEnterIntersection(-1e9); 420 : : valueSituationsElementOtherVehicleStateDistanceToEnterIntersection 421 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 422 : : valueSituationsElementOtherVehicleState.distanceToEnterIntersection 423 : 1 : = valueSituationsElementOtherVehicleStateDistanceToEnterIntersection; 424 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDistanceToLeaveIntersection(-1e9); 425 : : valueSituationsElementOtherVehicleState.distanceToLeaveIntersection 426 : 1 : = valueSituationsElementOtherVehicleStateDistanceToLeaveIntersection; 427 : 1 : ::ad::rss::world::ObjectType valueSituationsElementOtherVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid); 428 : 1 : valueSituationsElementOtherVehicleState.objectType = valueSituationsElementOtherVehicleStateObjectType; 429 : 1 : ::ad::rss::world::ObjectState valueSituationsElementOtherVehicleStateObjectState; 430 : 1 : ::ad::physics::Angle valueSituationsElementOtherVehicleStateObjectStateYaw(-6.283185308); 431 : 1 : valueSituationsElementOtherVehicleStateObjectState.yaw = valueSituationsElementOtherVehicleStateObjectStateYaw; 432 : 1 : ::ad::physics::Dimension2D valueSituationsElementOtherVehicleStateObjectStateDimension; 433 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateDimensionLength(-1e9); 434 : : valueSituationsElementOtherVehicleStateObjectStateDimension.length 435 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimensionLength; 436 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateDimensionWidth(-1e9); 437 : : valueSituationsElementOtherVehicleStateObjectStateDimension.width 438 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimensionWidth; 439 : : valueSituationsElementOtherVehicleStateObjectState.dimension 440 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimension; 441 : 1 : ::ad::physics::AngularVelocity valueSituationsElementOtherVehicleStateObjectStateYawRate(-100.); 442 : : valueSituationsElementOtherVehicleStateObjectState.yawRate 443 : 1 : = valueSituationsElementOtherVehicleStateObjectStateYawRate; 444 : 1 : ::ad::physics::Distance2D valueSituationsElementOtherVehicleStateObjectStateCenterPoint; 445 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateCenterPointX(-1e9); 446 : : valueSituationsElementOtherVehicleStateObjectStateCenterPoint.x 447 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPointX; 448 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateCenterPointY(-1e9); 449 : : valueSituationsElementOtherVehicleStateObjectStateCenterPoint.y 450 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPointY; 451 : : valueSituationsElementOtherVehicleStateObjectState.centerPoint 452 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPoint; 453 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateObjectStateSpeed(-100.); 454 : 1 : valueSituationsElementOtherVehicleStateObjectState.speed = valueSituationsElementOtherVehicleStateObjectStateSpeed; 455 : 1 : ::ad::physics::Angle valueSituationsElementOtherVehicleStateObjectStateSteeringAngle(-6.283185308); 456 : : valueSituationsElementOtherVehicleStateObjectState.steeringAngle 457 : 1 : = valueSituationsElementOtherVehicleStateObjectStateSteeringAngle; 458 : 1 : valueSituationsElementOtherVehicleState.objectState = valueSituationsElementOtherVehicleStateObjectState; 459 : : valueSituationsElementOtherVehicleState.distanceToLeaveIntersection 460 : 1 : = valueSituationsElementOtherVehicleState.distanceToEnterIntersection; 461 : : valueSituationsElementOtherVehicleState.distanceToEnterIntersection 462 : 1 : = valueSituationsElementOtherVehicleState.distanceToLeaveIntersection; 463 : 1 : valueSituationsElement.otherVehicleState = valueSituationsElementOtherVehicleState; 464 : 1 : ::ad::rss::situation::RelativePosition valueSituationsElementRelativePosition; 465 : 1 : ::ad::rss::situation::LongitudinalRelativePosition valueSituationsElementRelativePositionLongitudinalPosition( 466 : : ::ad::rss::situation::LongitudinalRelativePosition::InFront); 467 : : valueSituationsElementRelativePosition.longitudinalPosition 468 : 1 : = valueSituationsElementRelativePositionLongitudinalPosition; 469 : 1 : ::ad::physics::Distance valueSituationsElementRelativePositionLongitudinalDistance(-1e9); 470 : : valueSituationsElementRelativePosition.longitudinalDistance 471 : 1 : = valueSituationsElementRelativePositionLongitudinalDistance; 472 : 1 : ::ad::rss::situation::LateralRelativePosition valueSituationsElementRelativePositionLateralPosition( 473 : : ::ad::rss::situation::LateralRelativePosition::AtLeft); 474 : 1 : valueSituationsElementRelativePosition.lateralPosition = valueSituationsElementRelativePositionLateralPosition; 475 : 1 : ::ad::physics::Distance valueSituationsElementRelativePositionLateralDistance(-1e9); 476 : 1 : valueSituationsElementRelativePosition.lateralDistance = valueSituationsElementRelativePositionLateralDistance; 477 : 1 : valueSituationsElement.relativePosition = valueSituationsElementRelativePosition; 478 [ + - ]: 1 : valueSituations.resize(1, valueSituationsElement); 479 [ + - ]: 1 : value.situations = valueSituations; 480 [ + - - + : 1 : ASSERT_TRUE(withinValidInputRange(value)); - - - - - - - - ] 481 : : } 482 : : 483 : 2 : TEST(SituationSnapshotValidInputRangeTests, testValidInputRangeDefaultEgoVehicleRssDynamicsTooSmall) 484 : : { 485 : 1 : ::ad::rss::situation::SituationSnapshot value; 486 : 1 : ::ad::rss::world::TimeIndex valueTimeIndex(std::numeric_limits<::ad::rss::world::TimeIndex>::lowest()); 487 : 1 : valueTimeIndex = ::ad::rss::world::TimeIndex(1); // set to valid value within struct 488 : 1 : value.timeIndex = valueTimeIndex; 489 : 1 : ::ad::rss::world::RssDynamics valueDefaultEgoVehicleRssDynamics; 490 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLon; 491 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax(-1e2); 492 : : valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax 493 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 494 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax; 495 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax(-1e2); 496 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax; 497 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin(-1e2); 498 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin; 499 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect(-1e2); 500 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect; 501 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax; 502 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 503 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect; 504 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 505 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLon = valueDefaultEgoVehicleRssDynamicsAlphaLon; 506 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLat; 507 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax(-1e2); 508 : : valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax 509 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 510 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax; 511 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin(-1e2); 512 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin; 513 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLat = valueDefaultEgoVehicleRssDynamicsAlphaLat; 514 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin(-1e9); 515 : : valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin 516 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 517 : : valueDefaultEgoVehicleRssDynamics.lateralFluctuationMargin 518 : 1 : = valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin; 519 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsResponseTime(0.); 520 : : valueDefaultEgoVehicleRssDynamicsResponseTime 521 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 522 : 1 : valueDefaultEgoVehicleRssDynamics.responseTime = valueDefaultEgoVehicleRssDynamicsResponseTime; 523 : 1 : ::ad::physics::Speed valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration(-100.); 524 : 1 : valueDefaultEgoVehicleRssDynamics.maxSpeedOnAcceleration = valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration; 525 : 1 : ::ad::rss::world::UnstructuredSettings valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 526 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9); 527 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianTurningRadius 528 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius; 529 : 1 : ::ad::physics::Angle valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 530 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.driveAwayMaxAngle 531 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle; 532 : 1 : ::ad::physics::AngularAcceleration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 533 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleYawRateChange 534 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange; 535 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 536 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleMinRadius 537 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius; 538 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 539 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 540 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 541 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 542 : : std::numeric_limits<uint32_t>::min()}; 543 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 544 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 545 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 546 : : std::numeric_limits<uint32_t>::min()}; 547 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 548 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 549 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 550 : : std::numeric_limits<uint32_t>::min()}; 551 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 552 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 553 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 554 : : std::numeric_limits<uint32_t>::min()}; 555 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 556 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 557 : : uint32_t 558 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps{ 559 : : std::numeric_limits<uint32_t>::min()}; 560 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateYawRateChangeRatioSteps 561 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps; 562 : : uint32_t 563 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps{ 564 : : std::numeric_limits<uint32_t>::min()}; 565 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps 566 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps; 567 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps{ 568 : : std::numeric_limits<uint32_t>::min()}; 569 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateAccelerationSteps 570 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps; 571 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps{ 572 : : std::numeric_limits<uint32_t>::min()}; 573 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBrakeIntermediateAccelerationSteps 574 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps; 575 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps{ 576 : : std::numeric_limits<uint32_t>::min()}; 577 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianFrontIntermediateHeadingChangeRatioSteps 578 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps; 579 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps{ 580 : : std::numeric_limits<uint32_t>::min()}; 581 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBackIntermediateHeadingChangeRatioSteps 582 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps; 583 : 1 : valueDefaultEgoVehicleRssDynamics.unstructuredSettings = valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 584 : 1 : value.defaultEgoVehicleRssDynamics = valueDefaultEgoVehicleRssDynamics; 585 : 1 : ::ad::rss::situation::SituationVector valueSituations; 586 : 1 : ::ad::rss::situation::Situation valueSituationsElement; 587 : 1 : ::ad::rss::situation::SituationId valueSituationsElementSituationId( 588 : : std::numeric_limits<::ad::rss::situation::SituationId>::lowest()); 589 : 1 : valueSituationsElement.situationId = valueSituationsElementSituationId; 590 : 1 : ::ad::rss::world::ObjectId valueSituationsElementObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 591 : 1 : valueSituationsElement.objectId = valueSituationsElementObjectId; 592 : 1 : ::ad::rss::situation::SituationType valueSituationsElementSituationType( 593 : : ::ad::rss::situation::SituationType::NotRelevant); 594 : 1 : valueSituationsElement.situationType = valueSituationsElementSituationType; 595 : 1 : ::ad::rss::situation::VehicleState valueSituationsElementEgoVehicleState; 596 : 1 : ::ad::rss::situation::VelocityRange valueSituationsElementEgoVehicleStateVelocity; 597 : 1 : ::ad::physics::SpeedRange valueSituationsElementEgoVehicleStateVelocitySpeedLon; 598 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLonMinimum(-100.); 599 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum 600 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLonMinimum; 601 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLonMaximum(-100.); 602 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum 603 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLonMaximum; 604 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum 605 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum; 606 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum 607 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum; 608 : 1 : valueSituationsElementEgoVehicleStateVelocity.speedLon = valueSituationsElementEgoVehicleStateVelocitySpeedLon; 609 : 1 : ::ad::physics::SpeedRange valueSituationsElementEgoVehicleStateVelocitySpeedLat; 610 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLatMinimum(-100.); 611 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum 612 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLatMinimum; 613 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLatMaximum(-100.); 614 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum 615 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLatMaximum; 616 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum 617 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum; 618 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum 619 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum; 620 : 1 : valueSituationsElementEgoVehicleStateVelocity.speedLat = valueSituationsElementEgoVehicleStateVelocitySpeedLat; 621 : 1 : valueSituationsElementEgoVehicleState.velocity = valueSituationsElementEgoVehicleStateVelocity; 622 : 1 : ::ad::rss::world::RssDynamics valueSituationsElementEgoVehicleStateDynamics; 623 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueSituationsElementEgoVehicleStateDynamicsAlphaLon; 624 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax(-1e2); 625 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax 626 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 627 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.accelMax 628 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax; 629 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMax(-1e2); 630 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax 631 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMax; 632 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMin(-1e2); 633 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 634 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMin; 635 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2); 636 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect 637 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect; 638 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 639 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax; 640 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect 641 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin; 642 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 643 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect; 644 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax 645 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin; 646 : 1 : valueSituationsElementEgoVehicleStateDynamics.alphaLon = valueSituationsElementEgoVehicleStateDynamicsAlphaLon; 647 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueSituationsElementEgoVehicleStateDynamicsAlphaLat; 648 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax(-1e2); 649 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax 650 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 651 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLat.accelMax 652 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax; 653 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLatBrakeMin(-1e2); 654 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLat.brakeMin 655 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLatBrakeMin; 656 : 1 : valueSituationsElementEgoVehicleStateDynamics.alphaLat = valueSituationsElementEgoVehicleStateDynamicsAlphaLat; 657 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin(-1e9); 658 : : valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin 659 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 660 : : valueSituationsElementEgoVehicleStateDynamics.lateralFluctuationMargin 661 : 1 : = valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin; 662 : 1 : ::ad::physics::Duration valueSituationsElementEgoVehicleStateDynamicsResponseTime(0.); 663 : : valueSituationsElementEgoVehicleStateDynamicsResponseTime 664 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 665 : : valueSituationsElementEgoVehicleStateDynamics.responseTime 666 : 1 : = valueSituationsElementEgoVehicleStateDynamicsResponseTime; 667 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateDynamicsMaxSpeedOnAcceleration(-100.); 668 : : valueSituationsElementEgoVehicleStateDynamics.maxSpeedOnAcceleration 669 : 1 : = valueSituationsElementEgoVehicleStateDynamicsMaxSpeedOnAcceleration; 670 : 1 : ::ad::rss::world::UnstructuredSettings valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings; 671 : : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius( 672 : 1 : -1e9); 673 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius 674 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius; 675 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 676 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle 677 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle; 678 : : ::ad::physics::AngularAcceleration 679 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 680 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange 681 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange; 682 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 683 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius 684 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius; 685 : : ::ad::physics::Duration 686 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 687 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 688 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 689 : : uint32_t 690 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 691 : : std::numeric_limits<uint32_t>::min()}; 692 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 693 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 694 : : uint32_t 695 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 696 : : std::numeric_limits<uint32_t>::min()}; 697 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 698 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 699 : 1 : uint32_t valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 700 : : std::numeric_limits<uint32_t>::min()}; 701 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 702 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 703 : : uint32_t 704 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 705 : : std::numeric_limits<uint32_t>::min()}; 706 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 707 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 708 : : valueSituationsElementEgoVehicleStateDynamics.unstructuredSettings 709 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings; 710 : 1 : valueSituationsElementEgoVehicleState.dynamics = valueSituationsElementEgoVehicleStateDynamics; 711 : 1 : bool valueSituationsElementEgoVehicleStateHasPriority{true}; 712 : 1 : valueSituationsElementEgoVehicleState.hasPriority = valueSituationsElementEgoVehicleStateHasPriority; 713 : 1 : bool valueSituationsElementEgoVehicleStateIsInCorrectLane{true}; 714 : 1 : valueSituationsElementEgoVehicleState.isInCorrectLane = valueSituationsElementEgoVehicleStateIsInCorrectLane; 715 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDistanceToEnterIntersection(-1e9); 716 : : valueSituationsElementEgoVehicleStateDistanceToEnterIntersection 717 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 718 : : valueSituationsElementEgoVehicleState.distanceToEnterIntersection 719 : 1 : = valueSituationsElementEgoVehicleStateDistanceToEnterIntersection; 720 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDistanceToLeaveIntersection(-1e9); 721 : : valueSituationsElementEgoVehicleState.distanceToLeaveIntersection 722 : 1 : = valueSituationsElementEgoVehicleStateDistanceToLeaveIntersection; 723 : 1 : ::ad::rss::world::ObjectType valueSituationsElementEgoVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid); 724 : 1 : valueSituationsElementEgoVehicleState.objectType = valueSituationsElementEgoVehicleStateObjectType; 725 : 1 : ::ad::rss::world::ObjectState valueSituationsElementEgoVehicleStateObjectState; 726 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateObjectStateYaw(-6.283185308); 727 : 1 : valueSituationsElementEgoVehicleStateObjectState.yaw = valueSituationsElementEgoVehicleStateObjectStateYaw; 728 : 1 : ::ad::physics::Dimension2D valueSituationsElementEgoVehicleStateObjectStateDimension; 729 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateDimensionLength(-1e9); 730 : : valueSituationsElementEgoVehicleStateObjectStateDimension.length 731 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimensionLength; 732 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateDimensionWidth(-1e9); 733 : : valueSituationsElementEgoVehicleStateObjectStateDimension.width 734 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimensionWidth; 735 : : valueSituationsElementEgoVehicleStateObjectState.dimension 736 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimension; 737 : 1 : ::ad::physics::AngularVelocity valueSituationsElementEgoVehicleStateObjectStateYawRate(-100.); 738 : 1 : valueSituationsElementEgoVehicleStateObjectState.yawRate = valueSituationsElementEgoVehicleStateObjectStateYawRate; 739 : 1 : ::ad::physics::Distance2D valueSituationsElementEgoVehicleStateObjectStateCenterPoint; 740 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateCenterPointX(-1e9); 741 : : valueSituationsElementEgoVehicleStateObjectStateCenterPoint.x 742 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPointX; 743 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateCenterPointY(-1e9); 744 : : valueSituationsElementEgoVehicleStateObjectStateCenterPoint.y 745 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPointY; 746 : : valueSituationsElementEgoVehicleStateObjectState.centerPoint 747 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPoint; 748 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateObjectStateSpeed(-100.); 749 : 1 : valueSituationsElementEgoVehicleStateObjectState.speed = valueSituationsElementEgoVehicleStateObjectStateSpeed; 750 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateObjectStateSteeringAngle(-6.283185308); 751 : : valueSituationsElementEgoVehicleStateObjectState.steeringAngle 752 : 1 : = valueSituationsElementEgoVehicleStateObjectStateSteeringAngle; 753 : 1 : valueSituationsElementEgoVehicleState.objectState = valueSituationsElementEgoVehicleStateObjectState; 754 : : valueSituationsElementEgoVehicleState.distanceToLeaveIntersection 755 : 1 : = valueSituationsElementEgoVehicleState.distanceToEnterIntersection; 756 : : valueSituationsElementEgoVehicleState.distanceToEnterIntersection 757 : 1 : = valueSituationsElementEgoVehicleState.distanceToLeaveIntersection; 758 : 1 : valueSituationsElement.egoVehicleState = valueSituationsElementEgoVehicleState; 759 : 1 : ::ad::rss::situation::VehicleState valueSituationsElementOtherVehicleState; 760 : 1 : ::ad::rss::situation::VelocityRange valueSituationsElementOtherVehicleStateVelocity; 761 : 1 : ::ad::physics::SpeedRange valueSituationsElementOtherVehicleStateVelocitySpeedLon; 762 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLonMinimum(-100.); 763 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum 764 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLonMinimum; 765 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLonMaximum(-100.); 766 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum 767 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLonMaximum; 768 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum 769 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum; 770 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum 771 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum; 772 : 1 : valueSituationsElementOtherVehicleStateVelocity.speedLon = valueSituationsElementOtherVehicleStateVelocitySpeedLon; 773 : 1 : ::ad::physics::SpeedRange valueSituationsElementOtherVehicleStateVelocitySpeedLat; 774 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLatMinimum(-100.); 775 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum 776 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLatMinimum; 777 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLatMaximum(-100.); 778 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum 779 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLatMaximum; 780 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum 781 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum; 782 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum 783 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum; 784 : 1 : valueSituationsElementOtherVehicleStateVelocity.speedLat = valueSituationsElementOtherVehicleStateVelocitySpeedLat; 785 : 1 : valueSituationsElementOtherVehicleState.velocity = valueSituationsElementOtherVehicleStateVelocity; 786 : 1 : ::ad::rss::world::RssDynamics valueSituationsElementOtherVehicleStateDynamics; 787 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueSituationsElementOtherVehicleStateDynamicsAlphaLon; 788 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax(-1e2); 789 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax 790 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 791 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.accelMax 792 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax; 793 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMax(-1e2); 794 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax 795 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMax; 796 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMin(-1e2); 797 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 798 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMin; 799 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2); 800 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect 801 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect; 802 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 803 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax; 804 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect 805 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin; 806 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 807 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect; 808 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax 809 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin; 810 : 1 : valueSituationsElementOtherVehicleStateDynamics.alphaLon = valueSituationsElementOtherVehicleStateDynamicsAlphaLon; 811 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueSituationsElementOtherVehicleStateDynamicsAlphaLat; 812 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax(-1e2); 813 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax 814 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 815 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLat.accelMax 816 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax; 817 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLatBrakeMin(-1e2); 818 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLat.brakeMin 819 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLatBrakeMin; 820 : 1 : valueSituationsElementOtherVehicleStateDynamics.alphaLat = valueSituationsElementOtherVehicleStateDynamicsAlphaLat; 821 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin(-1e9); 822 : : valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin 823 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 824 : : valueSituationsElementOtherVehicleStateDynamics.lateralFluctuationMargin 825 : 1 : = valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin; 826 : 1 : ::ad::physics::Duration valueSituationsElementOtherVehicleStateDynamicsResponseTime(0.); 827 : : valueSituationsElementOtherVehicleStateDynamicsResponseTime 828 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 829 : : valueSituationsElementOtherVehicleStateDynamics.responseTime 830 : 1 : = valueSituationsElementOtherVehicleStateDynamicsResponseTime; 831 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateDynamicsMaxSpeedOnAcceleration(-100.); 832 : : valueSituationsElementOtherVehicleStateDynamics.maxSpeedOnAcceleration 833 : 1 : = valueSituationsElementOtherVehicleStateDynamicsMaxSpeedOnAcceleration; 834 : 1 : ::ad::rss::world::UnstructuredSettings valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings; 835 : : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius( 836 : 1 : -1e9); 837 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius 838 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius; 839 : : ::ad::physics::Angle valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle( 840 : 1 : -6.283185308); 841 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle 842 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle; 843 : : ::ad::physics::AngularAcceleration 844 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 845 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange 846 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange; 847 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 848 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius 849 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius; 850 : : ::ad::physics::Duration 851 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 852 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 853 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 854 : : uint32_t 855 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 856 : : std::numeric_limits<uint32_t>::min()}; 857 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 858 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 859 : : uint32_t 860 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 861 : : std::numeric_limits<uint32_t>::min()}; 862 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 863 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 864 : 1 : uint32_t valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 865 : : std::numeric_limits<uint32_t>::min()}; 866 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 867 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 868 : : uint32_t 869 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 870 : : std::numeric_limits<uint32_t>::min()}; 871 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings 872 : : .vehicleContinueForwardIntermediateAccelerationSteps 873 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 874 : : valueSituationsElementOtherVehicleStateDynamics.unstructuredSettings 875 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings; 876 : 1 : valueSituationsElementOtherVehicleState.dynamics = valueSituationsElementOtherVehicleStateDynamics; 877 : 1 : bool valueSituationsElementOtherVehicleStateHasPriority{true}; 878 : 1 : valueSituationsElementOtherVehicleState.hasPriority = valueSituationsElementOtherVehicleStateHasPriority; 879 : 1 : bool valueSituationsElementOtherVehicleStateIsInCorrectLane{true}; 880 : 1 : valueSituationsElementOtherVehicleState.isInCorrectLane = valueSituationsElementOtherVehicleStateIsInCorrectLane; 881 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDistanceToEnterIntersection(-1e9); 882 : : valueSituationsElementOtherVehicleStateDistanceToEnterIntersection 883 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 884 : : valueSituationsElementOtherVehicleState.distanceToEnterIntersection 885 : 1 : = valueSituationsElementOtherVehicleStateDistanceToEnterIntersection; 886 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDistanceToLeaveIntersection(-1e9); 887 : : valueSituationsElementOtherVehicleState.distanceToLeaveIntersection 888 : 1 : = valueSituationsElementOtherVehicleStateDistanceToLeaveIntersection; 889 : 1 : ::ad::rss::world::ObjectType valueSituationsElementOtherVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid); 890 : 1 : valueSituationsElementOtherVehicleState.objectType = valueSituationsElementOtherVehicleStateObjectType; 891 : 1 : ::ad::rss::world::ObjectState valueSituationsElementOtherVehicleStateObjectState; 892 : 1 : ::ad::physics::Angle valueSituationsElementOtherVehicleStateObjectStateYaw(-6.283185308); 893 : 1 : valueSituationsElementOtherVehicleStateObjectState.yaw = valueSituationsElementOtherVehicleStateObjectStateYaw; 894 : 1 : ::ad::physics::Dimension2D valueSituationsElementOtherVehicleStateObjectStateDimension; 895 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateDimensionLength(-1e9); 896 : : valueSituationsElementOtherVehicleStateObjectStateDimension.length 897 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimensionLength; 898 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateDimensionWidth(-1e9); 899 : : valueSituationsElementOtherVehicleStateObjectStateDimension.width 900 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimensionWidth; 901 : : valueSituationsElementOtherVehicleStateObjectState.dimension 902 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimension; 903 : 1 : ::ad::physics::AngularVelocity valueSituationsElementOtherVehicleStateObjectStateYawRate(-100.); 904 : : valueSituationsElementOtherVehicleStateObjectState.yawRate 905 : 1 : = valueSituationsElementOtherVehicleStateObjectStateYawRate; 906 : 1 : ::ad::physics::Distance2D valueSituationsElementOtherVehicleStateObjectStateCenterPoint; 907 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateCenterPointX(-1e9); 908 : : valueSituationsElementOtherVehicleStateObjectStateCenterPoint.x 909 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPointX; 910 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateCenterPointY(-1e9); 911 : : valueSituationsElementOtherVehicleStateObjectStateCenterPoint.y 912 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPointY; 913 : : valueSituationsElementOtherVehicleStateObjectState.centerPoint 914 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPoint; 915 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateObjectStateSpeed(-100.); 916 : 1 : valueSituationsElementOtherVehicleStateObjectState.speed = valueSituationsElementOtherVehicleStateObjectStateSpeed; 917 : 1 : ::ad::physics::Angle valueSituationsElementOtherVehicleStateObjectStateSteeringAngle(-6.283185308); 918 : : valueSituationsElementOtherVehicleStateObjectState.steeringAngle 919 : 1 : = valueSituationsElementOtherVehicleStateObjectStateSteeringAngle; 920 : 1 : valueSituationsElementOtherVehicleState.objectState = valueSituationsElementOtherVehicleStateObjectState; 921 : : valueSituationsElementOtherVehicleState.distanceToLeaveIntersection 922 : 1 : = valueSituationsElementOtherVehicleState.distanceToEnterIntersection; 923 : : valueSituationsElementOtherVehicleState.distanceToEnterIntersection 924 : 1 : = valueSituationsElementOtherVehicleState.distanceToLeaveIntersection; 925 : 1 : valueSituationsElement.otherVehicleState = valueSituationsElementOtherVehicleState; 926 : 1 : ::ad::rss::situation::RelativePosition valueSituationsElementRelativePosition; 927 : 1 : ::ad::rss::situation::LongitudinalRelativePosition valueSituationsElementRelativePositionLongitudinalPosition( 928 : : ::ad::rss::situation::LongitudinalRelativePosition::InFront); 929 : : valueSituationsElementRelativePosition.longitudinalPosition 930 : 1 : = valueSituationsElementRelativePositionLongitudinalPosition; 931 : 1 : ::ad::physics::Distance valueSituationsElementRelativePositionLongitudinalDistance(-1e9); 932 : : valueSituationsElementRelativePosition.longitudinalDistance 933 : 1 : = valueSituationsElementRelativePositionLongitudinalDistance; 934 : 1 : ::ad::rss::situation::LateralRelativePosition valueSituationsElementRelativePositionLateralPosition( 935 : : ::ad::rss::situation::LateralRelativePosition::AtLeft); 936 : 1 : valueSituationsElementRelativePosition.lateralPosition = valueSituationsElementRelativePositionLateralPosition; 937 : 1 : ::ad::physics::Distance valueSituationsElementRelativePositionLateralDistance(-1e9); 938 : 1 : valueSituationsElementRelativePosition.lateralDistance = valueSituationsElementRelativePositionLateralDistance; 939 : 1 : valueSituationsElement.relativePosition = valueSituationsElementRelativePosition; 940 [ + - ]: 1 : valueSituations.resize(1, valueSituationsElement); 941 [ + - ]: 1 : value.situations = valueSituations; 942 : : 943 : : // override member with data type value below input range minimum 944 : 1 : ::ad::rss::world::RssDynamics invalidInitializedMember; 945 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues invalidInitializedMemberAlphaLon; 946 : 1 : ::ad::physics::Acceleration invalidInitializedMemberAlphaLonAccelMax(-1e2 * 1.1); 947 : 1 : invalidInitializedMemberAlphaLon.accelMax = invalidInitializedMemberAlphaLonAccelMax; 948 : 1 : invalidInitializedMember.alphaLon = invalidInitializedMemberAlphaLon; 949 : 1 : value.defaultEgoVehicleRssDynamics = invalidInitializedMember; 950 [ + - - + : 1 : ASSERT_FALSE(withinValidInputRange(value)); - - - - - - - - ] 951 : : } 952 : : 953 : 2 : TEST(SituationSnapshotValidInputRangeTests, testValidInputRangeDefaultEgoVehicleRssDynamicsTooBig) 954 : : { 955 : 1 : ::ad::rss::situation::SituationSnapshot value; 956 : 1 : ::ad::rss::world::TimeIndex valueTimeIndex(std::numeric_limits<::ad::rss::world::TimeIndex>::lowest()); 957 : 1 : valueTimeIndex = ::ad::rss::world::TimeIndex(1); // set to valid value within struct 958 : 1 : value.timeIndex = valueTimeIndex; 959 : 1 : ::ad::rss::world::RssDynamics valueDefaultEgoVehicleRssDynamics; 960 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLon; 961 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax(-1e2); 962 : : valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax 963 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 964 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax; 965 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax(-1e2); 966 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax; 967 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin(-1e2); 968 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin; 969 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect(-1e2); 970 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect; 971 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax; 972 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 973 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect; 974 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 975 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLon = valueDefaultEgoVehicleRssDynamicsAlphaLon; 976 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLat; 977 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax(-1e2); 978 : : valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax 979 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 980 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax; 981 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin(-1e2); 982 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin; 983 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLat = valueDefaultEgoVehicleRssDynamicsAlphaLat; 984 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin(-1e9); 985 : : valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin 986 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 987 : : valueDefaultEgoVehicleRssDynamics.lateralFluctuationMargin 988 : 1 : = valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin; 989 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsResponseTime(0.); 990 : : valueDefaultEgoVehicleRssDynamicsResponseTime 991 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 992 : 1 : valueDefaultEgoVehicleRssDynamics.responseTime = valueDefaultEgoVehicleRssDynamicsResponseTime; 993 : 1 : ::ad::physics::Speed valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration(-100.); 994 : 1 : valueDefaultEgoVehicleRssDynamics.maxSpeedOnAcceleration = valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration; 995 : 1 : ::ad::rss::world::UnstructuredSettings valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 996 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9); 997 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianTurningRadius 998 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius; 999 : 1 : ::ad::physics::Angle valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 1000 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.driveAwayMaxAngle 1001 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle; 1002 : 1 : ::ad::physics::AngularAcceleration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 1003 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleYawRateChange 1004 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange; 1005 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 1006 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleMinRadius 1007 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius; 1008 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 1009 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 1010 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 1011 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 1012 : : std::numeric_limits<uint32_t>::min()}; 1013 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 1014 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 1015 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 1016 : : std::numeric_limits<uint32_t>::min()}; 1017 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 1018 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 1019 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 1020 : : std::numeric_limits<uint32_t>::min()}; 1021 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 1022 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 1023 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 1024 : : std::numeric_limits<uint32_t>::min()}; 1025 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 1026 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 1027 : : uint32_t 1028 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps{ 1029 : : std::numeric_limits<uint32_t>::min()}; 1030 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateYawRateChangeRatioSteps 1031 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps; 1032 : : uint32_t 1033 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps{ 1034 : : std::numeric_limits<uint32_t>::min()}; 1035 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps 1036 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps; 1037 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps{ 1038 : : std::numeric_limits<uint32_t>::min()}; 1039 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateAccelerationSteps 1040 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps; 1041 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps{ 1042 : : std::numeric_limits<uint32_t>::min()}; 1043 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBrakeIntermediateAccelerationSteps 1044 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps; 1045 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps{ 1046 : : std::numeric_limits<uint32_t>::min()}; 1047 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianFrontIntermediateHeadingChangeRatioSteps 1048 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps; 1049 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps{ 1050 : : std::numeric_limits<uint32_t>::min()}; 1051 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBackIntermediateHeadingChangeRatioSteps 1052 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps; 1053 : 1 : valueDefaultEgoVehicleRssDynamics.unstructuredSettings = valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 1054 : 1 : value.defaultEgoVehicleRssDynamics = valueDefaultEgoVehicleRssDynamics; 1055 : 1 : ::ad::rss::situation::SituationVector valueSituations; 1056 : 1 : ::ad::rss::situation::Situation valueSituationsElement; 1057 : 1 : ::ad::rss::situation::SituationId valueSituationsElementSituationId( 1058 : : std::numeric_limits<::ad::rss::situation::SituationId>::lowest()); 1059 : 1 : valueSituationsElement.situationId = valueSituationsElementSituationId; 1060 : 1 : ::ad::rss::world::ObjectId valueSituationsElementObjectId(std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 1061 : 1 : valueSituationsElement.objectId = valueSituationsElementObjectId; 1062 : 1 : ::ad::rss::situation::SituationType valueSituationsElementSituationType( 1063 : : ::ad::rss::situation::SituationType::NotRelevant); 1064 : 1 : valueSituationsElement.situationType = valueSituationsElementSituationType; 1065 : 1 : ::ad::rss::situation::VehicleState valueSituationsElementEgoVehicleState; 1066 : 1 : ::ad::rss::situation::VelocityRange valueSituationsElementEgoVehicleStateVelocity; 1067 : 1 : ::ad::physics::SpeedRange valueSituationsElementEgoVehicleStateVelocitySpeedLon; 1068 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLonMinimum(-100.); 1069 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum 1070 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLonMinimum; 1071 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLonMaximum(-100.); 1072 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum 1073 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLonMaximum; 1074 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum 1075 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum; 1076 : : valueSituationsElementEgoVehicleStateVelocitySpeedLon.minimum 1077 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLon.maximum; 1078 : 1 : valueSituationsElementEgoVehicleStateVelocity.speedLon = valueSituationsElementEgoVehicleStateVelocitySpeedLon; 1079 : 1 : ::ad::physics::SpeedRange valueSituationsElementEgoVehicleStateVelocitySpeedLat; 1080 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLatMinimum(-100.); 1081 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum 1082 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLatMinimum; 1083 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateVelocitySpeedLatMaximum(-100.); 1084 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum 1085 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLatMaximum; 1086 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum 1087 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum; 1088 : : valueSituationsElementEgoVehicleStateVelocitySpeedLat.minimum 1089 : 1 : = valueSituationsElementEgoVehicleStateVelocitySpeedLat.maximum; 1090 : 1 : valueSituationsElementEgoVehicleStateVelocity.speedLat = valueSituationsElementEgoVehicleStateVelocitySpeedLat; 1091 : 1 : valueSituationsElementEgoVehicleState.velocity = valueSituationsElementEgoVehicleStateVelocity; 1092 : 1 : ::ad::rss::world::RssDynamics valueSituationsElementEgoVehicleStateDynamics; 1093 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueSituationsElementEgoVehicleStateDynamicsAlphaLon; 1094 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax(-1e2); 1095 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax 1096 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 1097 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.accelMax 1098 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonAccelMax; 1099 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMax(-1e2); 1100 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax 1101 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMax; 1102 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMin(-1e2); 1103 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 1104 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMin; 1105 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2); 1106 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect 1107 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLonBrakeMinCorrect; 1108 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 1109 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax; 1110 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect 1111 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin; 1112 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin 1113 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMinCorrect; 1114 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMax 1115 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLon.brakeMin; 1116 : 1 : valueSituationsElementEgoVehicleStateDynamics.alphaLon = valueSituationsElementEgoVehicleStateDynamicsAlphaLon; 1117 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueSituationsElementEgoVehicleStateDynamicsAlphaLat; 1118 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax(-1e2); 1119 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax 1120 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 1121 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLat.accelMax 1122 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLatAccelMax; 1123 : 1 : ::ad::physics::Acceleration valueSituationsElementEgoVehicleStateDynamicsAlphaLatBrakeMin(-1e2); 1124 : : valueSituationsElementEgoVehicleStateDynamicsAlphaLat.brakeMin 1125 : 1 : = valueSituationsElementEgoVehicleStateDynamicsAlphaLatBrakeMin; 1126 : 1 : valueSituationsElementEgoVehicleStateDynamics.alphaLat = valueSituationsElementEgoVehicleStateDynamicsAlphaLat; 1127 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin(-1e9); 1128 : : valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin 1129 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 1130 : : valueSituationsElementEgoVehicleStateDynamics.lateralFluctuationMargin 1131 : 1 : = valueSituationsElementEgoVehicleStateDynamicsLateralFluctuationMargin; 1132 : 1 : ::ad::physics::Duration valueSituationsElementEgoVehicleStateDynamicsResponseTime(0.); 1133 : : valueSituationsElementEgoVehicleStateDynamicsResponseTime 1134 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 1135 : : valueSituationsElementEgoVehicleStateDynamics.responseTime 1136 : 1 : = valueSituationsElementEgoVehicleStateDynamicsResponseTime; 1137 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateDynamicsMaxSpeedOnAcceleration(-100.); 1138 : : valueSituationsElementEgoVehicleStateDynamics.maxSpeedOnAcceleration 1139 : 1 : = valueSituationsElementEgoVehicleStateDynamicsMaxSpeedOnAcceleration; 1140 : 1 : ::ad::rss::world::UnstructuredSettings valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings; 1141 : : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius( 1142 : 1 : -1e9); 1143 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius 1144 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius; 1145 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 1146 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle 1147 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle; 1148 : : ::ad::physics::AngularAcceleration 1149 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 1150 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange 1151 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange; 1152 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 1153 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius 1154 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius; 1155 : : ::ad::physics::Duration 1156 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 1157 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 1158 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 1159 : : uint32_t 1160 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 1161 : : std::numeric_limits<uint32_t>::min()}; 1162 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 1163 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 1164 : : uint32_t 1165 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 1166 : : std::numeric_limits<uint32_t>::min()}; 1167 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 1168 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 1169 : 1 : uint32_t valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 1170 : : std::numeric_limits<uint32_t>::min()}; 1171 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 1172 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 1173 : : uint32_t 1174 : 1 : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 1175 : : std::numeric_limits<uint32_t>::min()}; 1176 : : valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 1177 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 1178 : : valueSituationsElementEgoVehicleStateDynamics.unstructuredSettings 1179 : 1 : = valueSituationsElementEgoVehicleStateDynamicsUnstructuredSettings; 1180 : 1 : valueSituationsElementEgoVehicleState.dynamics = valueSituationsElementEgoVehicleStateDynamics; 1181 : 1 : bool valueSituationsElementEgoVehicleStateHasPriority{true}; 1182 : 1 : valueSituationsElementEgoVehicleState.hasPriority = valueSituationsElementEgoVehicleStateHasPriority; 1183 : 1 : bool valueSituationsElementEgoVehicleStateIsInCorrectLane{true}; 1184 : 1 : valueSituationsElementEgoVehicleState.isInCorrectLane = valueSituationsElementEgoVehicleStateIsInCorrectLane; 1185 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDistanceToEnterIntersection(-1e9); 1186 : : valueSituationsElementEgoVehicleStateDistanceToEnterIntersection 1187 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 1188 : : valueSituationsElementEgoVehicleState.distanceToEnterIntersection 1189 : 1 : = valueSituationsElementEgoVehicleStateDistanceToEnterIntersection; 1190 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateDistanceToLeaveIntersection(-1e9); 1191 : : valueSituationsElementEgoVehicleState.distanceToLeaveIntersection 1192 : 1 : = valueSituationsElementEgoVehicleStateDistanceToLeaveIntersection; 1193 : 1 : ::ad::rss::world::ObjectType valueSituationsElementEgoVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid); 1194 : 1 : valueSituationsElementEgoVehicleState.objectType = valueSituationsElementEgoVehicleStateObjectType; 1195 : 1 : ::ad::rss::world::ObjectState valueSituationsElementEgoVehicleStateObjectState; 1196 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateObjectStateYaw(-6.283185308); 1197 : 1 : valueSituationsElementEgoVehicleStateObjectState.yaw = valueSituationsElementEgoVehicleStateObjectStateYaw; 1198 : 1 : ::ad::physics::Dimension2D valueSituationsElementEgoVehicleStateObjectStateDimension; 1199 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateDimensionLength(-1e9); 1200 : : valueSituationsElementEgoVehicleStateObjectStateDimension.length 1201 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimensionLength; 1202 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateDimensionWidth(-1e9); 1203 : : valueSituationsElementEgoVehicleStateObjectStateDimension.width 1204 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimensionWidth; 1205 : : valueSituationsElementEgoVehicleStateObjectState.dimension 1206 : 1 : = valueSituationsElementEgoVehicleStateObjectStateDimension; 1207 : 1 : ::ad::physics::AngularVelocity valueSituationsElementEgoVehicleStateObjectStateYawRate(-100.); 1208 : 1 : valueSituationsElementEgoVehicleStateObjectState.yawRate = valueSituationsElementEgoVehicleStateObjectStateYawRate; 1209 : 1 : ::ad::physics::Distance2D valueSituationsElementEgoVehicleStateObjectStateCenterPoint; 1210 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateCenterPointX(-1e9); 1211 : : valueSituationsElementEgoVehicleStateObjectStateCenterPoint.x 1212 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPointX; 1213 : 1 : ::ad::physics::Distance valueSituationsElementEgoVehicleStateObjectStateCenterPointY(-1e9); 1214 : : valueSituationsElementEgoVehicleStateObjectStateCenterPoint.y 1215 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPointY; 1216 : : valueSituationsElementEgoVehicleStateObjectState.centerPoint 1217 : 1 : = valueSituationsElementEgoVehicleStateObjectStateCenterPoint; 1218 : 1 : ::ad::physics::Speed valueSituationsElementEgoVehicleStateObjectStateSpeed(-100.); 1219 : 1 : valueSituationsElementEgoVehicleStateObjectState.speed = valueSituationsElementEgoVehicleStateObjectStateSpeed; 1220 : 1 : ::ad::physics::Angle valueSituationsElementEgoVehicleStateObjectStateSteeringAngle(-6.283185308); 1221 : : valueSituationsElementEgoVehicleStateObjectState.steeringAngle 1222 : 1 : = valueSituationsElementEgoVehicleStateObjectStateSteeringAngle; 1223 : 1 : valueSituationsElementEgoVehicleState.objectState = valueSituationsElementEgoVehicleStateObjectState; 1224 : : valueSituationsElementEgoVehicleState.distanceToLeaveIntersection 1225 : 1 : = valueSituationsElementEgoVehicleState.distanceToEnterIntersection; 1226 : : valueSituationsElementEgoVehicleState.distanceToEnterIntersection 1227 : 1 : = valueSituationsElementEgoVehicleState.distanceToLeaveIntersection; 1228 : 1 : valueSituationsElement.egoVehicleState = valueSituationsElementEgoVehicleState; 1229 : 1 : ::ad::rss::situation::VehicleState valueSituationsElementOtherVehicleState; 1230 : 1 : ::ad::rss::situation::VelocityRange valueSituationsElementOtherVehicleStateVelocity; 1231 : 1 : ::ad::physics::SpeedRange valueSituationsElementOtherVehicleStateVelocitySpeedLon; 1232 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLonMinimum(-100.); 1233 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum 1234 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLonMinimum; 1235 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLonMaximum(-100.); 1236 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum 1237 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLonMaximum; 1238 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum 1239 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum; 1240 : : valueSituationsElementOtherVehicleStateVelocitySpeedLon.minimum 1241 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLon.maximum; 1242 : 1 : valueSituationsElementOtherVehicleStateVelocity.speedLon = valueSituationsElementOtherVehicleStateVelocitySpeedLon; 1243 : 1 : ::ad::physics::SpeedRange valueSituationsElementOtherVehicleStateVelocitySpeedLat; 1244 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLatMinimum(-100.); 1245 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum 1246 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLatMinimum; 1247 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateVelocitySpeedLatMaximum(-100.); 1248 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum 1249 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLatMaximum; 1250 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum 1251 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum; 1252 : : valueSituationsElementOtherVehicleStateVelocitySpeedLat.minimum 1253 : 1 : = valueSituationsElementOtherVehicleStateVelocitySpeedLat.maximum; 1254 : 1 : valueSituationsElementOtherVehicleStateVelocity.speedLat = valueSituationsElementOtherVehicleStateVelocitySpeedLat; 1255 : 1 : valueSituationsElementOtherVehicleState.velocity = valueSituationsElementOtherVehicleStateVelocity; 1256 : 1 : ::ad::rss::world::RssDynamics valueSituationsElementOtherVehicleStateDynamics; 1257 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueSituationsElementOtherVehicleStateDynamicsAlphaLon; 1258 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax(-1e2); 1259 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax 1260 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 1261 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.accelMax 1262 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonAccelMax; 1263 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMax(-1e2); 1264 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax 1265 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMax; 1266 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMin(-1e2); 1267 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 1268 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMin; 1269 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect(-1e2); 1270 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect 1271 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLonBrakeMinCorrect; 1272 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 1273 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax; 1274 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect 1275 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin; 1276 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin 1277 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMinCorrect; 1278 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMax 1279 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLon.brakeMin; 1280 : 1 : valueSituationsElementOtherVehicleStateDynamics.alphaLon = valueSituationsElementOtherVehicleStateDynamicsAlphaLon; 1281 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueSituationsElementOtherVehicleStateDynamicsAlphaLat; 1282 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax(-1e2); 1283 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax 1284 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 1285 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLat.accelMax 1286 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLatAccelMax; 1287 : 1 : ::ad::physics::Acceleration valueSituationsElementOtherVehicleStateDynamicsAlphaLatBrakeMin(-1e2); 1288 : : valueSituationsElementOtherVehicleStateDynamicsAlphaLat.brakeMin 1289 : 1 : = valueSituationsElementOtherVehicleStateDynamicsAlphaLatBrakeMin; 1290 : 1 : valueSituationsElementOtherVehicleStateDynamics.alphaLat = valueSituationsElementOtherVehicleStateDynamicsAlphaLat; 1291 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin(-1e9); 1292 : : valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin 1293 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 1294 : : valueSituationsElementOtherVehicleStateDynamics.lateralFluctuationMargin 1295 : 1 : = valueSituationsElementOtherVehicleStateDynamicsLateralFluctuationMargin; 1296 : 1 : ::ad::physics::Duration valueSituationsElementOtherVehicleStateDynamicsResponseTime(0.); 1297 : : valueSituationsElementOtherVehicleStateDynamicsResponseTime 1298 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 1299 : : valueSituationsElementOtherVehicleStateDynamics.responseTime 1300 : 1 : = valueSituationsElementOtherVehicleStateDynamicsResponseTime; 1301 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateDynamicsMaxSpeedOnAcceleration(-100.); 1302 : : valueSituationsElementOtherVehicleStateDynamics.maxSpeedOnAcceleration 1303 : 1 : = valueSituationsElementOtherVehicleStateDynamicsMaxSpeedOnAcceleration; 1304 : 1 : ::ad::rss::world::UnstructuredSettings valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings; 1305 : : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius( 1306 : 1 : -1e9); 1307 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.pedestrianTurningRadius 1308 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsPedestrianTurningRadius; 1309 : : ::ad::physics::Angle valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle( 1310 : 1 : -6.283185308); 1311 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.driveAwayMaxAngle 1312 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsDriveAwayMaxAngle; 1313 : : ::ad::physics::AngularAcceleration 1314 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 1315 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleYawRateChange 1316 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleYawRateChange; 1317 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 1318 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleMinRadius 1319 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleMinRadius; 1320 : : ::ad::physics::Duration 1321 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 1322 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 1323 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 1324 : : uint32_t 1325 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 1326 : : std::numeric_limits<uint32_t>::min()}; 1327 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 1328 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 1329 : : uint32_t 1330 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 1331 : : std::numeric_limits<uint32_t>::min()}; 1332 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 1333 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 1334 : 1 : uint32_t valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 1335 : : std::numeric_limits<uint32_t>::min()}; 1336 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 1337 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 1338 : : uint32_t 1339 : 1 : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 1340 : : std::numeric_limits<uint32_t>::min()}; 1341 : : valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings 1342 : : .vehicleContinueForwardIntermediateAccelerationSteps 1343 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 1344 : : valueSituationsElementOtherVehicleStateDynamics.unstructuredSettings 1345 : 1 : = valueSituationsElementOtherVehicleStateDynamicsUnstructuredSettings; 1346 : 1 : valueSituationsElementOtherVehicleState.dynamics = valueSituationsElementOtherVehicleStateDynamics; 1347 : 1 : bool valueSituationsElementOtherVehicleStateHasPriority{true}; 1348 : 1 : valueSituationsElementOtherVehicleState.hasPriority = valueSituationsElementOtherVehicleStateHasPriority; 1349 : 1 : bool valueSituationsElementOtherVehicleStateIsInCorrectLane{true}; 1350 : 1 : valueSituationsElementOtherVehicleState.isInCorrectLane = valueSituationsElementOtherVehicleStateIsInCorrectLane; 1351 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDistanceToEnterIntersection(-1e9); 1352 : : valueSituationsElementOtherVehicleStateDistanceToEnterIntersection 1353 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 1354 : : valueSituationsElementOtherVehicleState.distanceToEnterIntersection 1355 : 1 : = valueSituationsElementOtherVehicleStateDistanceToEnterIntersection; 1356 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateDistanceToLeaveIntersection(-1e9); 1357 : : valueSituationsElementOtherVehicleState.distanceToLeaveIntersection 1358 : 1 : = valueSituationsElementOtherVehicleStateDistanceToLeaveIntersection; 1359 : 1 : ::ad::rss::world::ObjectType valueSituationsElementOtherVehicleStateObjectType(::ad::rss::world::ObjectType::Invalid); 1360 : 1 : valueSituationsElementOtherVehicleState.objectType = valueSituationsElementOtherVehicleStateObjectType; 1361 : 1 : ::ad::rss::world::ObjectState valueSituationsElementOtherVehicleStateObjectState; 1362 : 1 : ::ad::physics::Angle valueSituationsElementOtherVehicleStateObjectStateYaw(-6.283185308); 1363 : 1 : valueSituationsElementOtherVehicleStateObjectState.yaw = valueSituationsElementOtherVehicleStateObjectStateYaw; 1364 : 1 : ::ad::physics::Dimension2D valueSituationsElementOtherVehicleStateObjectStateDimension; 1365 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateDimensionLength(-1e9); 1366 : : valueSituationsElementOtherVehicleStateObjectStateDimension.length 1367 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimensionLength; 1368 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateDimensionWidth(-1e9); 1369 : : valueSituationsElementOtherVehicleStateObjectStateDimension.width 1370 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimensionWidth; 1371 : : valueSituationsElementOtherVehicleStateObjectState.dimension 1372 : 1 : = valueSituationsElementOtherVehicleStateObjectStateDimension; 1373 : 1 : ::ad::physics::AngularVelocity valueSituationsElementOtherVehicleStateObjectStateYawRate(-100.); 1374 : : valueSituationsElementOtherVehicleStateObjectState.yawRate 1375 : 1 : = valueSituationsElementOtherVehicleStateObjectStateYawRate; 1376 : 1 : ::ad::physics::Distance2D valueSituationsElementOtherVehicleStateObjectStateCenterPoint; 1377 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateCenterPointX(-1e9); 1378 : : valueSituationsElementOtherVehicleStateObjectStateCenterPoint.x 1379 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPointX; 1380 : 1 : ::ad::physics::Distance valueSituationsElementOtherVehicleStateObjectStateCenterPointY(-1e9); 1381 : : valueSituationsElementOtherVehicleStateObjectStateCenterPoint.y 1382 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPointY; 1383 : : valueSituationsElementOtherVehicleStateObjectState.centerPoint 1384 : 1 : = valueSituationsElementOtherVehicleStateObjectStateCenterPoint; 1385 : 1 : ::ad::physics::Speed valueSituationsElementOtherVehicleStateObjectStateSpeed(-100.); 1386 : 1 : valueSituationsElementOtherVehicleStateObjectState.speed = valueSituationsElementOtherVehicleStateObjectStateSpeed; 1387 : 1 : ::ad::physics::Angle valueSituationsElementOtherVehicleStateObjectStateSteeringAngle(-6.283185308); 1388 : : valueSituationsElementOtherVehicleStateObjectState.steeringAngle 1389 : 1 : = valueSituationsElementOtherVehicleStateObjectStateSteeringAngle; 1390 : 1 : valueSituationsElementOtherVehicleState.objectState = valueSituationsElementOtherVehicleStateObjectState; 1391 : : valueSituationsElementOtherVehicleState.distanceToLeaveIntersection 1392 : 1 : = valueSituationsElementOtherVehicleState.distanceToEnterIntersection; 1393 : : valueSituationsElementOtherVehicleState.distanceToEnterIntersection 1394 : 1 : = valueSituationsElementOtherVehicleState.distanceToLeaveIntersection; 1395 : 1 : valueSituationsElement.otherVehicleState = valueSituationsElementOtherVehicleState; 1396 : 1 : ::ad::rss::situation::RelativePosition valueSituationsElementRelativePosition; 1397 : 1 : ::ad::rss::situation::LongitudinalRelativePosition valueSituationsElementRelativePositionLongitudinalPosition( 1398 : : ::ad::rss::situation::LongitudinalRelativePosition::InFront); 1399 : : valueSituationsElementRelativePosition.longitudinalPosition 1400 : 1 : = valueSituationsElementRelativePositionLongitudinalPosition; 1401 : 1 : ::ad::physics::Distance valueSituationsElementRelativePositionLongitudinalDistance(-1e9); 1402 : : valueSituationsElementRelativePosition.longitudinalDistance 1403 : 1 : = valueSituationsElementRelativePositionLongitudinalDistance; 1404 : 1 : ::ad::rss::situation::LateralRelativePosition valueSituationsElementRelativePositionLateralPosition( 1405 : : ::ad::rss::situation::LateralRelativePosition::AtLeft); 1406 : 1 : valueSituationsElementRelativePosition.lateralPosition = valueSituationsElementRelativePositionLateralPosition; 1407 : 1 : ::ad::physics::Distance valueSituationsElementRelativePositionLateralDistance(-1e9); 1408 : 1 : valueSituationsElementRelativePosition.lateralDistance = valueSituationsElementRelativePositionLateralDistance; 1409 : 1 : valueSituationsElement.relativePosition = valueSituationsElementRelativePosition; 1410 [ + - ]: 1 : valueSituations.resize(1, valueSituationsElement); 1411 [ + - ]: 1 : value.situations = valueSituations; 1412 : : 1413 : : // override member with data type value above input range maximum 1414 : 1 : ::ad::rss::world::RssDynamics invalidInitializedMember; 1415 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues invalidInitializedMemberAlphaLon; 1416 : 1 : ::ad::physics::Acceleration invalidInitializedMemberAlphaLonAccelMax(1e2 * 1.1); 1417 : 1 : invalidInitializedMemberAlphaLon.accelMax = invalidInitializedMemberAlphaLonAccelMax; 1418 : 1 : invalidInitializedMember.alphaLon = invalidInitializedMemberAlphaLon; 1419 : 1 : value.defaultEgoVehicleRssDynamics = invalidInitializedMember; 1420 [ + - - + : 1 : ASSERT_FALSE(withinValidInputRange(value)); - - - - - - - - ] 1421 : : }