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/state/RssStateSnapshotValidInputRange.hpp" 20 : : 21 : 2 : TEST(RssStateSnapshotValidInputRangeTests, testValidInputRange) 22 : : { 23 : 1 : ::ad::rss::state::RssStateSnapshot 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::state::RssStateVector valueIndividualResponses; 124 : 1 : ::ad::rss::state::RssState valueIndividualResponsesElement; 125 : 1 : ::ad::rss::world::ObjectId valueIndividualResponsesElementObjectId( 126 : : std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 127 : 1 : valueIndividualResponsesElement.objectId = valueIndividualResponsesElementObjectId; 128 : 1 : ::ad::rss::situation::SituationId valueIndividualResponsesElementSituationId( 129 : : std::numeric_limits<::ad::rss::situation::SituationId>::lowest()); 130 : 1 : valueIndividualResponsesElement.situationId = valueIndividualResponsesElementSituationId; 131 : 1 : ::ad::rss::state::LongitudinalRssState valueIndividualResponsesElementLongitudinalState; 132 : 1 : bool valueIndividualResponsesElementLongitudinalStateIsSafe{true}; 133 : 1 : valueIndividualResponsesElementLongitudinalState.isSafe = valueIndividualResponsesElementLongitudinalStateIsSafe; 134 : 1 : ::ad::rss::state::LongitudinalResponse valueIndividualResponsesElementLongitudinalStateResponse( 135 : : ::ad::rss::state::LongitudinalResponse::None); 136 : 1 : valueIndividualResponsesElementLongitudinalState.response = valueIndividualResponsesElementLongitudinalStateResponse; 137 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueIndividualResponsesElementLongitudinalStateAlphaLon; 138 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax(-1e2); 139 : : valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax 140 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 141 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.accelMax 142 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax; 143 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMax(-1e2); 144 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax 145 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMax; 146 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMin(-1e2); 147 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 148 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMin; 149 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMinCorrect(-1e2); 150 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect 151 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMinCorrect; 152 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 153 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax; 154 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect 155 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin; 156 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 157 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect; 158 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax 159 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin; 160 : 1 : valueIndividualResponsesElementLongitudinalState.alphaLon = valueIndividualResponsesElementLongitudinalStateAlphaLon; 161 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLongitudinalStateRssStateInformation; 162 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLongitudinalStateRssStateInformationSafeDistance(-1e9); 163 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.safeDistance 164 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationSafeDistance; 165 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLongitudinalStateRssStateInformationCurrentDistance(-1e9); 166 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.currentDistance 167 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationCurrentDistance; 168 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLongitudinalStateRssStateInformationEvaluator( 169 : : ::ad::rss::state::RssStateEvaluator::None); 170 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.evaluator 171 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationEvaluator; 172 : : valueIndividualResponsesElementLongitudinalState.rssStateInformation 173 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformation; 174 : 1 : valueIndividualResponsesElement.longitudinalState = valueIndividualResponsesElementLongitudinalState; 175 : 1 : ::ad::rss::state::LateralRssState valueIndividualResponsesElementLateralStateRight; 176 : 1 : bool valueIndividualResponsesElementLateralStateRightIsSafe{true}; 177 : 1 : valueIndividualResponsesElementLateralStateRight.isSafe = valueIndividualResponsesElementLateralStateRightIsSafe; 178 : 1 : ::ad::rss::state::LateralResponse valueIndividualResponsesElementLateralStateRightResponse( 179 : : ::ad::rss::state::LateralResponse::None); 180 : 1 : valueIndividualResponsesElementLateralStateRight.response = valueIndividualResponsesElementLateralStateRightResponse; 181 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueIndividualResponsesElementLateralStateRightAlphaLat; 182 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax(-1e2); 183 : : valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax 184 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 185 : : valueIndividualResponsesElementLateralStateRightAlphaLat.accelMax 186 : 1 : = valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax; 187 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateRightAlphaLatBrakeMin(-1e2); 188 : : valueIndividualResponsesElementLateralStateRightAlphaLat.brakeMin 189 : 1 : = valueIndividualResponsesElementLateralStateRightAlphaLatBrakeMin; 190 : 1 : valueIndividualResponsesElementLateralStateRight.alphaLat = valueIndividualResponsesElementLateralStateRightAlphaLat; 191 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLateralStateRightRssStateInformation; 192 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateRightRssStateInformationSafeDistance(-1e9); 193 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.safeDistance 194 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationSafeDistance; 195 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateRightRssStateInformationCurrentDistance(-1e9); 196 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.currentDistance 197 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationCurrentDistance; 198 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLateralStateRightRssStateInformationEvaluator( 199 : : ::ad::rss::state::RssStateEvaluator::None); 200 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.evaluator 201 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationEvaluator; 202 : : valueIndividualResponsesElementLateralStateRight.rssStateInformation 203 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformation; 204 : 1 : valueIndividualResponsesElement.lateralStateRight = valueIndividualResponsesElementLateralStateRight; 205 : 1 : ::ad::rss::state::LateralRssState valueIndividualResponsesElementLateralStateLeft; 206 : 1 : bool valueIndividualResponsesElementLateralStateLeftIsSafe{true}; 207 : 1 : valueIndividualResponsesElementLateralStateLeft.isSafe = valueIndividualResponsesElementLateralStateLeftIsSafe; 208 : 1 : ::ad::rss::state::LateralResponse valueIndividualResponsesElementLateralStateLeftResponse( 209 : : ::ad::rss::state::LateralResponse::None); 210 : 1 : valueIndividualResponsesElementLateralStateLeft.response = valueIndividualResponsesElementLateralStateLeftResponse; 211 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueIndividualResponsesElementLateralStateLeftAlphaLat; 212 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax(-1e2); 213 : : valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax 214 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 215 : : valueIndividualResponsesElementLateralStateLeftAlphaLat.accelMax 216 : 1 : = valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax; 217 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateLeftAlphaLatBrakeMin(-1e2); 218 : : valueIndividualResponsesElementLateralStateLeftAlphaLat.brakeMin 219 : 1 : = valueIndividualResponsesElementLateralStateLeftAlphaLatBrakeMin; 220 : 1 : valueIndividualResponsesElementLateralStateLeft.alphaLat = valueIndividualResponsesElementLateralStateLeftAlphaLat; 221 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLateralStateLeftRssStateInformation; 222 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateLeftRssStateInformationSafeDistance(-1e9); 223 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.safeDistance 224 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationSafeDistance; 225 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateLeftRssStateInformationCurrentDistance(-1e9); 226 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.currentDistance 227 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationCurrentDistance; 228 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLateralStateLeftRssStateInformationEvaluator( 229 : : ::ad::rss::state::RssStateEvaluator::None); 230 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.evaluator 231 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationEvaluator; 232 : : valueIndividualResponsesElementLateralStateLeft.rssStateInformation 233 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformation; 234 : 1 : valueIndividualResponsesElement.lateralStateLeft = valueIndividualResponsesElementLateralStateLeft; 235 : 1 : ::ad::rss::state::UnstructuredSceneRssState valueIndividualResponsesElementUnstructuredSceneState; 236 : 1 : bool valueIndividualResponsesElementUnstructuredSceneStateIsSafe{true}; 237 : : valueIndividualResponsesElementUnstructuredSceneState.isSafe 238 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateIsSafe; 239 : 1 : ::ad::rss::state::UnstructuredSceneResponse valueIndividualResponsesElementUnstructuredSceneStateResponse( 240 : : ::ad::rss::state::UnstructuredSceneResponse::None); 241 : : valueIndividualResponsesElementUnstructuredSceneState.response 242 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateResponse; 243 : 1 : ::ad::rss::state::HeadingRange valueIndividualResponsesElementUnstructuredSceneStateHeadingRange; 244 : 1 : ::ad::physics::Angle valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeBegin(-6.283185308); 245 : : valueIndividualResponsesElementUnstructuredSceneStateHeadingRange.begin 246 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeBegin; 247 : 1 : ::ad::physics::Angle valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeEnd(-6.283185308); 248 : : valueIndividualResponsesElementUnstructuredSceneStateHeadingRange.end 249 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeEnd; 250 : : valueIndividualResponsesElementUnstructuredSceneState.headingRange 251 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRange; 252 : : ::ad::rss::state::UnstructuredSceneStateInformation 253 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation; 254 : : ::ad::physics::Distance2DList 255 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet; 256 : : ::ad::physics::Distance2D 257 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement; 258 : : ::ad::physics::Distance 259 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9); 260 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x 261 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX; 262 : : ::ad::physics::Distance 263 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9); 264 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y 265 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY; 266 [ + - ]: 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize( 267 : : 1, valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement); 268 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation.brakeTrajectorySet 269 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet; 270 : : ::ad::physics::Distance2DList 271 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet; 272 : : ::ad::physics::Distance2D 273 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement; 274 : : ::ad::physics::Distance 275 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9); 276 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x 277 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX; 278 : : ::ad::physics::Distance 279 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9); 280 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y 281 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY; 282 [ + - ]: 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize( 283 : : 1, valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement); 284 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet 285 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet; 286 : : valueIndividualResponsesElementUnstructuredSceneState.rssStateInformation 287 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation; 288 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueIndividualResponsesElementUnstructuredSceneStateAlphaLon; 289 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax(-1e2); 290 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax 291 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 292 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.accelMax 293 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax; 294 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMax(-1e2); 295 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax 296 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMax; 297 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMin(-1e2); 298 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 299 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMin; 300 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2); 301 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect 302 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMinCorrect; 303 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 304 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax; 305 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect 306 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin; 307 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 308 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect; 309 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax 310 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin; 311 : : valueIndividualResponsesElementUnstructuredSceneState.alphaLon 312 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon; 313 [ + - ]: 1 : valueIndividualResponsesElement.unstructuredSceneState = valueIndividualResponsesElementUnstructuredSceneState; 314 : 1 : ::ad::rss::situation::SituationType valueIndividualResponsesElementSituationType( 315 : : ::ad::rss::situation::SituationType::NotRelevant); 316 : 1 : valueIndividualResponsesElement.situationType = valueIndividualResponsesElementSituationType; 317 [ + - ]: 1 : valueIndividualResponses.resize(1, valueIndividualResponsesElement); 318 [ + - ]: 1 : value.individualResponses = valueIndividualResponses; 319 : 1 : ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneEgoInformation; 320 : 1 : ::ad::physics::Distance2DList valueUnstructuredSceneEgoInformationBrakeTrajectorySet; 321 : 1 : ::ad::physics::Distance2D valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement; 322 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementX(-1e9); 323 : : valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement.x 324 : 1 : = valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementX; 325 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementY(-1e9); 326 : : valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement.y 327 : 1 : = valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementY; 328 [ + - ]: 1 : valueUnstructuredSceneEgoInformationBrakeTrajectorySet.resize( 329 : : 1, valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement); 330 [ + - ]: 1 : valueUnstructuredSceneEgoInformation.brakeTrajectorySet = valueUnstructuredSceneEgoInformationBrakeTrajectorySet; 331 : 1 : ::ad::physics::Distance2DList valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet; 332 : 1 : ::ad::physics::Distance2D valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement; 333 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementX(-1e9); 334 : : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement.x 335 : 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementX; 336 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementY(-1e9); 337 : : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement.y 338 : 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementY; 339 [ + - ]: 1 : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet.resize( 340 : : 1, valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement); 341 : : valueUnstructuredSceneEgoInformation.continueForwardTrajectorySet 342 [ + - ]: 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet; 343 [ + - ]: 1 : value.unstructuredSceneEgoInformation = valueUnstructuredSceneEgoInformation; 344 [ + - - + : 1 : ASSERT_TRUE(withinValidInputRange(value)); - - - - - - - - ] 345 : : } 346 : : 347 : 2 : TEST(RssStateSnapshotValidInputRangeTests, testValidInputRangeDefaultEgoVehicleRssDynamicsTooSmall) 348 : : { 349 : 1 : ::ad::rss::state::RssStateSnapshot value; 350 : 1 : ::ad::rss::world::TimeIndex valueTimeIndex(std::numeric_limits<::ad::rss::world::TimeIndex>::lowest()); 351 : 1 : valueTimeIndex = ::ad::rss::world::TimeIndex(1); // set to valid value within struct 352 : 1 : value.timeIndex = valueTimeIndex; 353 : 1 : ::ad::rss::world::RssDynamics valueDefaultEgoVehicleRssDynamics; 354 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLon; 355 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax(-1e2); 356 : : valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax 357 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 358 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax; 359 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax(-1e2); 360 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax; 361 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin(-1e2); 362 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin; 363 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect(-1e2); 364 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect; 365 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax; 366 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 367 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect; 368 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 369 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLon = valueDefaultEgoVehicleRssDynamicsAlphaLon; 370 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLat; 371 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax(-1e2); 372 : : valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax 373 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 374 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax; 375 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin(-1e2); 376 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin; 377 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLat = valueDefaultEgoVehicleRssDynamicsAlphaLat; 378 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin(-1e9); 379 : : valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin 380 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 381 : : valueDefaultEgoVehicleRssDynamics.lateralFluctuationMargin 382 : 1 : = valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin; 383 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsResponseTime(0.); 384 : : valueDefaultEgoVehicleRssDynamicsResponseTime 385 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 386 : 1 : valueDefaultEgoVehicleRssDynamics.responseTime = valueDefaultEgoVehicleRssDynamicsResponseTime; 387 : 1 : ::ad::physics::Speed valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration(-100.); 388 : 1 : valueDefaultEgoVehicleRssDynamics.maxSpeedOnAcceleration = valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration; 389 : 1 : ::ad::rss::world::UnstructuredSettings valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 390 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9); 391 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianTurningRadius 392 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius; 393 : 1 : ::ad::physics::Angle valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 394 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.driveAwayMaxAngle 395 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle; 396 : 1 : ::ad::physics::AngularAcceleration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 397 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleYawRateChange 398 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange; 399 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 400 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleMinRadius 401 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius; 402 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 403 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 404 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 405 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 406 : : std::numeric_limits<uint32_t>::min()}; 407 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 408 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 409 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 410 : : std::numeric_limits<uint32_t>::min()}; 411 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 412 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 413 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 414 : : std::numeric_limits<uint32_t>::min()}; 415 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 416 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 417 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 418 : : std::numeric_limits<uint32_t>::min()}; 419 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 420 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 421 : : uint32_t 422 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps{ 423 : : std::numeric_limits<uint32_t>::min()}; 424 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateYawRateChangeRatioSteps 425 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps; 426 : : uint32_t 427 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps{ 428 : : std::numeric_limits<uint32_t>::min()}; 429 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps 430 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps; 431 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps{ 432 : : std::numeric_limits<uint32_t>::min()}; 433 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateAccelerationSteps 434 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps; 435 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps{ 436 : : std::numeric_limits<uint32_t>::min()}; 437 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBrakeIntermediateAccelerationSteps 438 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps; 439 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps{ 440 : : std::numeric_limits<uint32_t>::min()}; 441 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianFrontIntermediateHeadingChangeRatioSteps 442 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps; 443 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps{ 444 : : std::numeric_limits<uint32_t>::min()}; 445 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBackIntermediateHeadingChangeRatioSteps 446 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps; 447 : 1 : valueDefaultEgoVehicleRssDynamics.unstructuredSettings = valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 448 : 1 : value.defaultEgoVehicleRssDynamics = valueDefaultEgoVehicleRssDynamics; 449 : 1 : ::ad::rss::state::RssStateVector valueIndividualResponses; 450 : 1 : ::ad::rss::state::RssState valueIndividualResponsesElement; 451 : 1 : ::ad::rss::world::ObjectId valueIndividualResponsesElementObjectId( 452 : : std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 453 : 1 : valueIndividualResponsesElement.objectId = valueIndividualResponsesElementObjectId; 454 : 1 : ::ad::rss::situation::SituationId valueIndividualResponsesElementSituationId( 455 : : std::numeric_limits<::ad::rss::situation::SituationId>::lowest()); 456 : 1 : valueIndividualResponsesElement.situationId = valueIndividualResponsesElementSituationId; 457 : 1 : ::ad::rss::state::LongitudinalRssState valueIndividualResponsesElementLongitudinalState; 458 : 1 : bool valueIndividualResponsesElementLongitudinalStateIsSafe{true}; 459 : 1 : valueIndividualResponsesElementLongitudinalState.isSafe = valueIndividualResponsesElementLongitudinalStateIsSafe; 460 : 1 : ::ad::rss::state::LongitudinalResponse valueIndividualResponsesElementLongitudinalStateResponse( 461 : : ::ad::rss::state::LongitudinalResponse::None); 462 : 1 : valueIndividualResponsesElementLongitudinalState.response = valueIndividualResponsesElementLongitudinalStateResponse; 463 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueIndividualResponsesElementLongitudinalStateAlphaLon; 464 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax(-1e2); 465 : : valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax 466 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 467 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.accelMax 468 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax; 469 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMax(-1e2); 470 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax 471 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMax; 472 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMin(-1e2); 473 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 474 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMin; 475 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMinCorrect(-1e2); 476 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect 477 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMinCorrect; 478 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 479 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax; 480 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect 481 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin; 482 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 483 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect; 484 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax 485 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin; 486 : 1 : valueIndividualResponsesElementLongitudinalState.alphaLon = valueIndividualResponsesElementLongitudinalStateAlphaLon; 487 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLongitudinalStateRssStateInformation; 488 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLongitudinalStateRssStateInformationSafeDistance(-1e9); 489 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.safeDistance 490 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationSafeDistance; 491 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLongitudinalStateRssStateInformationCurrentDistance(-1e9); 492 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.currentDistance 493 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationCurrentDistance; 494 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLongitudinalStateRssStateInformationEvaluator( 495 : : ::ad::rss::state::RssStateEvaluator::None); 496 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.evaluator 497 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationEvaluator; 498 : : valueIndividualResponsesElementLongitudinalState.rssStateInformation 499 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformation; 500 : 1 : valueIndividualResponsesElement.longitudinalState = valueIndividualResponsesElementLongitudinalState; 501 : 1 : ::ad::rss::state::LateralRssState valueIndividualResponsesElementLateralStateRight; 502 : 1 : bool valueIndividualResponsesElementLateralStateRightIsSafe{true}; 503 : 1 : valueIndividualResponsesElementLateralStateRight.isSafe = valueIndividualResponsesElementLateralStateRightIsSafe; 504 : 1 : ::ad::rss::state::LateralResponse valueIndividualResponsesElementLateralStateRightResponse( 505 : : ::ad::rss::state::LateralResponse::None); 506 : 1 : valueIndividualResponsesElementLateralStateRight.response = valueIndividualResponsesElementLateralStateRightResponse; 507 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueIndividualResponsesElementLateralStateRightAlphaLat; 508 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax(-1e2); 509 : : valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax 510 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 511 : : valueIndividualResponsesElementLateralStateRightAlphaLat.accelMax 512 : 1 : = valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax; 513 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateRightAlphaLatBrakeMin(-1e2); 514 : : valueIndividualResponsesElementLateralStateRightAlphaLat.brakeMin 515 : 1 : = valueIndividualResponsesElementLateralStateRightAlphaLatBrakeMin; 516 : 1 : valueIndividualResponsesElementLateralStateRight.alphaLat = valueIndividualResponsesElementLateralStateRightAlphaLat; 517 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLateralStateRightRssStateInformation; 518 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateRightRssStateInformationSafeDistance(-1e9); 519 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.safeDistance 520 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationSafeDistance; 521 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateRightRssStateInformationCurrentDistance(-1e9); 522 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.currentDistance 523 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationCurrentDistance; 524 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLateralStateRightRssStateInformationEvaluator( 525 : : ::ad::rss::state::RssStateEvaluator::None); 526 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.evaluator 527 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationEvaluator; 528 : : valueIndividualResponsesElementLateralStateRight.rssStateInformation 529 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformation; 530 : 1 : valueIndividualResponsesElement.lateralStateRight = valueIndividualResponsesElementLateralStateRight; 531 : 1 : ::ad::rss::state::LateralRssState valueIndividualResponsesElementLateralStateLeft; 532 : 1 : bool valueIndividualResponsesElementLateralStateLeftIsSafe{true}; 533 : 1 : valueIndividualResponsesElementLateralStateLeft.isSafe = valueIndividualResponsesElementLateralStateLeftIsSafe; 534 : 1 : ::ad::rss::state::LateralResponse valueIndividualResponsesElementLateralStateLeftResponse( 535 : : ::ad::rss::state::LateralResponse::None); 536 : 1 : valueIndividualResponsesElementLateralStateLeft.response = valueIndividualResponsesElementLateralStateLeftResponse; 537 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueIndividualResponsesElementLateralStateLeftAlphaLat; 538 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax(-1e2); 539 : : valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax 540 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 541 : : valueIndividualResponsesElementLateralStateLeftAlphaLat.accelMax 542 : 1 : = valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax; 543 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateLeftAlphaLatBrakeMin(-1e2); 544 : : valueIndividualResponsesElementLateralStateLeftAlphaLat.brakeMin 545 : 1 : = valueIndividualResponsesElementLateralStateLeftAlphaLatBrakeMin; 546 : 1 : valueIndividualResponsesElementLateralStateLeft.alphaLat = valueIndividualResponsesElementLateralStateLeftAlphaLat; 547 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLateralStateLeftRssStateInformation; 548 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateLeftRssStateInformationSafeDistance(-1e9); 549 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.safeDistance 550 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationSafeDistance; 551 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateLeftRssStateInformationCurrentDistance(-1e9); 552 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.currentDistance 553 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationCurrentDistance; 554 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLateralStateLeftRssStateInformationEvaluator( 555 : : ::ad::rss::state::RssStateEvaluator::None); 556 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.evaluator 557 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationEvaluator; 558 : : valueIndividualResponsesElementLateralStateLeft.rssStateInformation 559 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformation; 560 : 1 : valueIndividualResponsesElement.lateralStateLeft = valueIndividualResponsesElementLateralStateLeft; 561 : 1 : ::ad::rss::state::UnstructuredSceneRssState valueIndividualResponsesElementUnstructuredSceneState; 562 : 1 : bool valueIndividualResponsesElementUnstructuredSceneStateIsSafe{true}; 563 : : valueIndividualResponsesElementUnstructuredSceneState.isSafe 564 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateIsSafe; 565 : 1 : ::ad::rss::state::UnstructuredSceneResponse valueIndividualResponsesElementUnstructuredSceneStateResponse( 566 : : ::ad::rss::state::UnstructuredSceneResponse::None); 567 : : valueIndividualResponsesElementUnstructuredSceneState.response 568 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateResponse; 569 : 1 : ::ad::rss::state::HeadingRange valueIndividualResponsesElementUnstructuredSceneStateHeadingRange; 570 : 1 : ::ad::physics::Angle valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeBegin(-6.283185308); 571 : : valueIndividualResponsesElementUnstructuredSceneStateHeadingRange.begin 572 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeBegin; 573 : 1 : ::ad::physics::Angle valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeEnd(-6.283185308); 574 : : valueIndividualResponsesElementUnstructuredSceneStateHeadingRange.end 575 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeEnd; 576 : : valueIndividualResponsesElementUnstructuredSceneState.headingRange 577 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRange; 578 : : ::ad::rss::state::UnstructuredSceneStateInformation 579 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation; 580 : : ::ad::physics::Distance2DList 581 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet; 582 : : ::ad::physics::Distance2D 583 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement; 584 : : ::ad::physics::Distance 585 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9); 586 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x 587 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX; 588 : : ::ad::physics::Distance 589 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9); 590 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y 591 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY; 592 [ + - ]: 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize( 593 : : 1, valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement); 594 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation.brakeTrajectorySet 595 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet; 596 : : ::ad::physics::Distance2DList 597 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet; 598 : : ::ad::physics::Distance2D 599 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement; 600 : : ::ad::physics::Distance 601 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9); 602 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x 603 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX; 604 : : ::ad::physics::Distance 605 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9); 606 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y 607 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY; 608 [ + - ]: 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize( 609 : : 1, valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement); 610 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet 611 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet; 612 : : valueIndividualResponsesElementUnstructuredSceneState.rssStateInformation 613 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation; 614 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueIndividualResponsesElementUnstructuredSceneStateAlphaLon; 615 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax(-1e2); 616 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax 617 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 618 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.accelMax 619 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax; 620 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMax(-1e2); 621 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax 622 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMax; 623 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMin(-1e2); 624 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 625 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMin; 626 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2); 627 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect 628 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMinCorrect; 629 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 630 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax; 631 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect 632 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin; 633 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 634 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect; 635 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax 636 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin; 637 : : valueIndividualResponsesElementUnstructuredSceneState.alphaLon 638 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon; 639 [ + - ]: 1 : valueIndividualResponsesElement.unstructuredSceneState = valueIndividualResponsesElementUnstructuredSceneState; 640 : 1 : ::ad::rss::situation::SituationType valueIndividualResponsesElementSituationType( 641 : : ::ad::rss::situation::SituationType::NotRelevant); 642 : 1 : valueIndividualResponsesElement.situationType = valueIndividualResponsesElementSituationType; 643 [ + - ]: 1 : valueIndividualResponses.resize(1, valueIndividualResponsesElement); 644 [ + - ]: 1 : value.individualResponses = valueIndividualResponses; 645 : 1 : ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneEgoInformation; 646 : 1 : ::ad::physics::Distance2DList valueUnstructuredSceneEgoInformationBrakeTrajectorySet; 647 : 1 : ::ad::physics::Distance2D valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement; 648 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementX(-1e9); 649 : : valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement.x 650 : 1 : = valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementX; 651 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementY(-1e9); 652 : : valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement.y 653 : 1 : = valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementY; 654 [ + - ]: 1 : valueUnstructuredSceneEgoInformationBrakeTrajectorySet.resize( 655 : : 1, valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement); 656 [ + - ]: 1 : valueUnstructuredSceneEgoInformation.brakeTrajectorySet = valueUnstructuredSceneEgoInformationBrakeTrajectorySet; 657 : 1 : ::ad::physics::Distance2DList valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet; 658 : 1 : ::ad::physics::Distance2D valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement; 659 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementX(-1e9); 660 : : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement.x 661 : 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementX; 662 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementY(-1e9); 663 : : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement.y 664 : 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementY; 665 [ + - ]: 1 : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet.resize( 666 : : 1, valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement); 667 : : valueUnstructuredSceneEgoInformation.continueForwardTrajectorySet 668 [ + - ]: 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet; 669 [ + - ]: 1 : value.unstructuredSceneEgoInformation = valueUnstructuredSceneEgoInformation; 670 : : 671 : : // override member with data type value below input range minimum 672 : 1 : ::ad::rss::world::RssDynamics invalidInitializedMember; 673 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues invalidInitializedMemberAlphaLon; 674 : 1 : ::ad::physics::Acceleration invalidInitializedMemberAlphaLonAccelMax(-1e2 * 1.1); 675 : 1 : invalidInitializedMemberAlphaLon.accelMax = invalidInitializedMemberAlphaLonAccelMax; 676 : 1 : invalidInitializedMember.alphaLon = invalidInitializedMemberAlphaLon; 677 : 1 : value.defaultEgoVehicleRssDynamics = invalidInitializedMember; 678 [ + - - + : 1 : ASSERT_FALSE(withinValidInputRange(value)); - - - - - - - - ] 679 : : } 680 : : 681 : 2 : TEST(RssStateSnapshotValidInputRangeTests, testValidInputRangeDefaultEgoVehicleRssDynamicsTooBig) 682 : : { 683 : 1 : ::ad::rss::state::RssStateSnapshot value; 684 : 1 : ::ad::rss::world::TimeIndex valueTimeIndex(std::numeric_limits<::ad::rss::world::TimeIndex>::lowest()); 685 : 1 : valueTimeIndex = ::ad::rss::world::TimeIndex(1); // set to valid value within struct 686 : 1 : value.timeIndex = valueTimeIndex; 687 : 1 : ::ad::rss::world::RssDynamics valueDefaultEgoVehicleRssDynamics; 688 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLon; 689 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax(-1e2); 690 : : valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax 691 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 692 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLonAccelMax; 693 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax(-1e2); 694 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMax; 695 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin(-1e2); 696 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMin; 697 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect(-1e2); 698 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLonBrakeMinCorrect; 699 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax; 700 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 701 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMinCorrect; 702 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMax = valueDefaultEgoVehicleRssDynamicsAlphaLon.brakeMin; 703 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLon = valueDefaultEgoVehicleRssDynamicsAlphaLon; 704 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueDefaultEgoVehicleRssDynamicsAlphaLat; 705 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax(-1e2); 706 : : valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax 707 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 708 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.accelMax = valueDefaultEgoVehicleRssDynamicsAlphaLatAccelMax; 709 : 1 : ::ad::physics::Acceleration valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin(-1e2); 710 : 1 : valueDefaultEgoVehicleRssDynamicsAlphaLat.brakeMin = valueDefaultEgoVehicleRssDynamicsAlphaLatBrakeMin; 711 : 1 : valueDefaultEgoVehicleRssDynamics.alphaLat = valueDefaultEgoVehicleRssDynamicsAlphaLat; 712 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin(-1e9); 713 : : valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin 714 : 1 : = ::ad::physics::Distance(0.); // set to valid value within struct 715 : : valueDefaultEgoVehicleRssDynamics.lateralFluctuationMargin 716 : 1 : = valueDefaultEgoVehicleRssDynamicsLateralFluctuationMargin; 717 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsResponseTime(0.); 718 : : valueDefaultEgoVehicleRssDynamicsResponseTime 719 : 1 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 720 : 1 : valueDefaultEgoVehicleRssDynamics.responseTime = valueDefaultEgoVehicleRssDynamicsResponseTime; 721 : 1 : ::ad::physics::Speed valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration(-100.); 722 : 1 : valueDefaultEgoVehicleRssDynamics.maxSpeedOnAcceleration = valueDefaultEgoVehicleRssDynamicsMaxSpeedOnAcceleration; 723 : 1 : ::ad::rss::world::UnstructuredSettings valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 724 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius(-1e9); 725 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianTurningRadius 726 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianTurningRadius; 727 : 1 : ::ad::physics::Angle valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle(-6.283185308); 728 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.driveAwayMaxAngle 729 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsDriveAwayMaxAngle; 730 : 1 : ::ad::physics::AngularAcceleration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange(-1e2); 731 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleYawRateChange 732 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleYawRateChange; 733 : 1 : ::ad::physics::Distance valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius(-1e9); 734 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleMinRadius 735 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleMinRadius; 736 : 1 : ::ad::physics::Duration valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep(0.); 737 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleTrajectoryCalculationStep 738 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleTrajectoryCalculationStep; 739 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps{ 740 : : std::numeric_limits<uint32_t>::min()}; 741 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleFrontIntermediateYawRateChangeRatioSteps 742 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleFrontIntermediateYawRateChangeRatioSteps; 743 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps{ 744 : : std::numeric_limits<uint32_t>::min()}; 745 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBackIntermediateYawRateChangeRatioSteps 746 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBackIntermediateYawRateChangeRatioSteps; 747 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps{ 748 : : std::numeric_limits<uint32_t>::min()}; 749 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleBrakeIntermediateAccelerationSteps 750 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleBrakeIntermediateAccelerationSteps; 751 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps{ 752 : : std::numeric_limits<uint32_t>::min()}; 753 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateAccelerationSteps 754 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateAccelerationSteps; 755 : : uint32_t 756 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps{ 757 : : std::numeric_limits<uint32_t>::min()}; 758 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.vehicleContinueForwardIntermediateYawRateChangeRatioSteps 759 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsVehicleContinueForwardIntermediateYawRateChangeRatioSteps; 760 : : uint32_t 761 : 1 : valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps{ 762 : : std::numeric_limits<uint32_t>::min()}; 763 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateHeadingChangeRatioSteps 764 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateHeadingChangeRatioSteps; 765 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps{ 766 : : std::numeric_limits<uint32_t>::min()}; 767 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianContinueForwardIntermediateAccelerationSteps 768 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianContinueForwardIntermediateAccelerationSteps; 769 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps{ 770 : : std::numeric_limits<uint32_t>::min()}; 771 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBrakeIntermediateAccelerationSteps 772 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBrakeIntermediateAccelerationSteps; 773 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps{ 774 : : std::numeric_limits<uint32_t>::min()}; 775 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianFrontIntermediateHeadingChangeRatioSteps 776 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianFrontIntermediateHeadingChangeRatioSteps; 777 : 1 : uint32_t valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps{ 778 : : std::numeric_limits<uint32_t>::min()}; 779 : : valueDefaultEgoVehicleRssDynamicsUnstructuredSettings.pedestrianBackIntermediateHeadingChangeRatioSteps 780 : 1 : = valueDefaultEgoVehicleRssDynamicsUnstructuredSettingsPedestrianBackIntermediateHeadingChangeRatioSteps; 781 : 1 : valueDefaultEgoVehicleRssDynamics.unstructuredSettings = valueDefaultEgoVehicleRssDynamicsUnstructuredSettings; 782 : 1 : value.defaultEgoVehicleRssDynamics = valueDefaultEgoVehicleRssDynamics; 783 : 1 : ::ad::rss::state::RssStateVector valueIndividualResponses; 784 : 1 : ::ad::rss::state::RssState valueIndividualResponsesElement; 785 : 1 : ::ad::rss::world::ObjectId valueIndividualResponsesElementObjectId( 786 : : std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 787 : 1 : valueIndividualResponsesElement.objectId = valueIndividualResponsesElementObjectId; 788 : 1 : ::ad::rss::situation::SituationId valueIndividualResponsesElementSituationId( 789 : : std::numeric_limits<::ad::rss::situation::SituationId>::lowest()); 790 : 1 : valueIndividualResponsesElement.situationId = valueIndividualResponsesElementSituationId; 791 : 1 : ::ad::rss::state::LongitudinalRssState valueIndividualResponsesElementLongitudinalState; 792 : 1 : bool valueIndividualResponsesElementLongitudinalStateIsSafe{true}; 793 : 1 : valueIndividualResponsesElementLongitudinalState.isSafe = valueIndividualResponsesElementLongitudinalStateIsSafe; 794 : 1 : ::ad::rss::state::LongitudinalResponse valueIndividualResponsesElementLongitudinalStateResponse( 795 : : ::ad::rss::state::LongitudinalResponse::None); 796 : 1 : valueIndividualResponsesElementLongitudinalState.response = valueIndividualResponsesElementLongitudinalStateResponse; 797 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueIndividualResponsesElementLongitudinalStateAlphaLon; 798 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax(-1e2); 799 : : valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax 800 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 801 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.accelMax 802 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonAccelMax; 803 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMax(-1e2); 804 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax 805 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMax; 806 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMin(-1e2); 807 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 808 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMin; 809 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMinCorrect(-1e2); 810 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect 811 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLonBrakeMinCorrect; 812 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 813 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax; 814 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect 815 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin; 816 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin 817 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMinCorrect; 818 : : valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMax 819 : 1 : = valueIndividualResponsesElementLongitudinalStateAlphaLon.brakeMin; 820 : 1 : valueIndividualResponsesElementLongitudinalState.alphaLon = valueIndividualResponsesElementLongitudinalStateAlphaLon; 821 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLongitudinalStateRssStateInformation; 822 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLongitudinalStateRssStateInformationSafeDistance(-1e9); 823 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.safeDistance 824 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationSafeDistance; 825 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLongitudinalStateRssStateInformationCurrentDistance(-1e9); 826 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.currentDistance 827 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationCurrentDistance; 828 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLongitudinalStateRssStateInformationEvaluator( 829 : : ::ad::rss::state::RssStateEvaluator::None); 830 : : valueIndividualResponsesElementLongitudinalStateRssStateInformation.evaluator 831 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformationEvaluator; 832 : : valueIndividualResponsesElementLongitudinalState.rssStateInformation 833 : 1 : = valueIndividualResponsesElementLongitudinalStateRssStateInformation; 834 : 1 : valueIndividualResponsesElement.longitudinalState = valueIndividualResponsesElementLongitudinalState; 835 : 1 : ::ad::rss::state::LateralRssState valueIndividualResponsesElementLateralStateRight; 836 : 1 : bool valueIndividualResponsesElementLateralStateRightIsSafe{true}; 837 : 1 : valueIndividualResponsesElementLateralStateRight.isSafe = valueIndividualResponsesElementLateralStateRightIsSafe; 838 : 1 : ::ad::rss::state::LateralResponse valueIndividualResponsesElementLateralStateRightResponse( 839 : : ::ad::rss::state::LateralResponse::None); 840 : 1 : valueIndividualResponsesElementLateralStateRight.response = valueIndividualResponsesElementLateralStateRightResponse; 841 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueIndividualResponsesElementLateralStateRightAlphaLat; 842 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax(-1e2); 843 : : valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax 844 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 845 : : valueIndividualResponsesElementLateralStateRightAlphaLat.accelMax 846 : 1 : = valueIndividualResponsesElementLateralStateRightAlphaLatAccelMax; 847 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateRightAlphaLatBrakeMin(-1e2); 848 : : valueIndividualResponsesElementLateralStateRightAlphaLat.brakeMin 849 : 1 : = valueIndividualResponsesElementLateralStateRightAlphaLatBrakeMin; 850 : 1 : valueIndividualResponsesElementLateralStateRight.alphaLat = valueIndividualResponsesElementLateralStateRightAlphaLat; 851 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLateralStateRightRssStateInformation; 852 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateRightRssStateInformationSafeDistance(-1e9); 853 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.safeDistance 854 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationSafeDistance; 855 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateRightRssStateInformationCurrentDistance(-1e9); 856 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.currentDistance 857 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationCurrentDistance; 858 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLateralStateRightRssStateInformationEvaluator( 859 : : ::ad::rss::state::RssStateEvaluator::None); 860 : : valueIndividualResponsesElementLateralStateRightRssStateInformation.evaluator 861 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformationEvaluator; 862 : : valueIndividualResponsesElementLateralStateRight.rssStateInformation 863 : 1 : = valueIndividualResponsesElementLateralStateRightRssStateInformation; 864 : 1 : valueIndividualResponsesElement.lateralStateRight = valueIndividualResponsesElementLateralStateRight; 865 : 1 : ::ad::rss::state::LateralRssState valueIndividualResponsesElementLateralStateLeft; 866 : 1 : bool valueIndividualResponsesElementLateralStateLeftIsSafe{true}; 867 : 1 : valueIndividualResponsesElementLateralStateLeft.isSafe = valueIndividualResponsesElementLateralStateLeftIsSafe; 868 : 1 : ::ad::rss::state::LateralResponse valueIndividualResponsesElementLateralStateLeftResponse( 869 : : ::ad::rss::state::LateralResponse::None); 870 : 1 : valueIndividualResponsesElementLateralStateLeft.response = valueIndividualResponsesElementLateralStateLeftResponse; 871 : 1 : ::ad::rss::world::LateralRssAccelerationValues valueIndividualResponsesElementLateralStateLeftAlphaLat; 872 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax(-1e2); 873 : : valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax 874 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 875 : : valueIndividualResponsesElementLateralStateLeftAlphaLat.accelMax 876 : 1 : = valueIndividualResponsesElementLateralStateLeftAlphaLatAccelMax; 877 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementLateralStateLeftAlphaLatBrakeMin(-1e2); 878 : : valueIndividualResponsesElementLateralStateLeftAlphaLat.brakeMin 879 : 1 : = valueIndividualResponsesElementLateralStateLeftAlphaLatBrakeMin; 880 : 1 : valueIndividualResponsesElementLateralStateLeft.alphaLat = valueIndividualResponsesElementLateralStateLeftAlphaLat; 881 : 1 : ::ad::rss::state::RssStateInformation valueIndividualResponsesElementLateralStateLeftRssStateInformation; 882 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateLeftRssStateInformationSafeDistance(-1e9); 883 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.safeDistance 884 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationSafeDistance; 885 : 1 : ::ad::physics::Distance valueIndividualResponsesElementLateralStateLeftRssStateInformationCurrentDistance(-1e9); 886 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.currentDistance 887 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationCurrentDistance; 888 : 1 : ::ad::rss::state::RssStateEvaluator valueIndividualResponsesElementLateralStateLeftRssStateInformationEvaluator( 889 : : ::ad::rss::state::RssStateEvaluator::None); 890 : : valueIndividualResponsesElementLateralStateLeftRssStateInformation.evaluator 891 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformationEvaluator; 892 : : valueIndividualResponsesElementLateralStateLeft.rssStateInformation 893 : 1 : = valueIndividualResponsesElementLateralStateLeftRssStateInformation; 894 : 1 : valueIndividualResponsesElement.lateralStateLeft = valueIndividualResponsesElementLateralStateLeft; 895 : 1 : ::ad::rss::state::UnstructuredSceneRssState valueIndividualResponsesElementUnstructuredSceneState; 896 : 1 : bool valueIndividualResponsesElementUnstructuredSceneStateIsSafe{true}; 897 : : valueIndividualResponsesElementUnstructuredSceneState.isSafe 898 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateIsSafe; 899 : 1 : ::ad::rss::state::UnstructuredSceneResponse valueIndividualResponsesElementUnstructuredSceneStateResponse( 900 : : ::ad::rss::state::UnstructuredSceneResponse::None); 901 : : valueIndividualResponsesElementUnstructuredSceneState.response 902 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateResponse; 903 : 1 : ::ad::rss::state::HeadingRange valueIndividualResponsesElementUnstructuredSceneStateHeadingRange; 904 : 1 : ::ad::physics::Angle valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeBegin(-6.283185308); 905 : : valueIndividualResponsesElementUnstructuredSceneStateHeadingRange.begin 906 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeBegin; 907 : 1 : ::ad::physics::Angle valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeEnd(-6.283185308); 908 : : valueIndividualResponsesElementUnstructuredSceneStateHeadingRange.end 909 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRangeEnd; 910 : : valueIndividualResponsesElementUnstructuredSceneState.headingRange 911 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateHeadingRange; 912 : : ::ad::rss::state::UnstructuredSceneStateInformation 913 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation; 914 : : ::ad::physics::Distance2DList 915 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet; 916 : : ::ad::physics::Distance2D 917 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement; 918 : : ::ad::physics::Distance 919 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX(-1e9); 920 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.x 921 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementX; 922 : : ::ad::physics::Distance 923 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY(-1e9); 924 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement.y 925 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElementY; 926 [ + - ]: 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet.resize( 927 : : 1, valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySetElement); 928 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation.brakeTrajectorySet 929 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationBrakeTrajectorySet; 930 : : ::ad::physics::Distance2DList 931 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet; 932 : : ::ad::physics::Distance2D 933 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement; 934 : : ::ad::physics::Distance 935 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX(-1e9); 936 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.x 937 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementX; 938 : : ::ad::physics::Distance 939 : 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY(-1e9); 940 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement.y 941 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElementY; 942 [ + - ]: 1 : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet.resize( 943 : : 1, valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySetElement); 944 : : valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation.continueForwardTrajectorySet 945 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformationContinueForwardTrajectorySet; 946 : : valueIndividualResponsesElementUnstructuredSceneState.rssStateInformation 947 [ + - ]: 1 : = valueIndividualResponsesElementUnstructuredSceneStateRssStateInformation; 948 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues valueIndividualResponsesElementUnstructuredSceneStateAlphaLon; 949 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax(-1e2); 950 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax 951 : 1 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 952 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.accelMax 953 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonAccelMax; 954 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMax(-1e2); 955 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax 956 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMax; 957 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMin(-1e2); 958 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 959 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMin; 960 : 1 : ::ad::physics::Acceleration valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMinCorrect(-1e2); 961 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect 962 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLonBrakeMinCorrect; 963 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 964 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax; 965 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect 966 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin; 967 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin 968 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMinCorrect; 969 : : valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMax 970 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon.brakeMin; 971 : : valueIndividualResponsesElementUnstructuredSceneState.alphaLon 972 : 1 : = valueIndividualResponsesElementUnstructuredSceneStateAlphaLon; 973 [ + - ]: 1 : valueIndividualResponsesElement.unstructuredSceneState = valueIndividualResponsesElementUnstructuredSceneState; 974 : 1 : ::ad::rss::situation::SituationType valueIndividualResponsesElementSituationType( 975 : : ::ad::rss::situation::SituationType::NotRelevant); 976 : 1 : valueIndividualResponsesElement.situationType = valueIndividualResponsesElementSituationType; 977 [ + - ]: 1 : valueIndividualResponses.resize(1, valueIndividualResponsesElement); 978 [ + - ]: 1 : value.individualResponses = valueIndividualResponses; 979 : 1 : ::ad::rss::state::UnstructuredSceneStateInformation valueUnstructuredSceneEgoInformation; 980 : 1 : ::ad::physics::Distance2DList valueUnstructuredSceneEgoInformationBrakeTrajectorySet; 981 : 1 : ::ad::physics::Distance2D valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement; 982 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementX(-1e9); 983 : : valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement.x 984 : 1 : = valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementX; 985 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementY(-1e9); 986 : : valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement.y 987 : 1 : = valueUnstructuredSceneEgoInformationBrakeTrajectorySetElementY; 988 [ + - ]: 1 : valueUnstructuredSceneEgoInformationBrakeTrajectorySet.resize( 989 : : 1, valueUnstructuredSceneEgoInformationBrakeTrajectorySetElement); 990 [ + - ]: 1 : valueUnstructuredSceneEgoInformation.brakeTrajectorySet = valueUnstructuredSceneEgoInformationBrakeTrajectorySet; 991 : 1 : ::ad::physics::Distance2DList valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet; 992 : 1 : ::ad::physics::Distance2D valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement; 993 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementX(-1e9); 994 : : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement.x 995 : 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementX; 996 : 1 : ::ad::physics::Distance valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementY(-1e9); 997 : : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement.y 998 : 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElementY; 999 [ + - ]: 1 : valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet.resize( 1000 : : 1, valueUnstructuredSceneEgoInformationContinueForwardTrajectorySetElement); 1001 : : valueUnstructuredSceneEgoInformation.continueForwardTrajectorySet 1002 [ + - ]: 1 : = valueUnstructuredSceneEgoInformationContinueForwardTrajectorySet; 1003 [ + - ]: 1 : value.unstructuredSceneEgoInformation = valueUnstructuredSceneEgoInformation; 1004 : : 1005 : : // override member with data type value above input range maximum 1006 : 1 : ::ad::rss::world::RssDynamics invalidInitializedMember; 1007 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues invalidInitializedMemberAlphaLon; 1008 : 1 : ::ad::physics::Acceleration invalidInitializedMemberAlphaLonAccelMax(1e2 * 1.1); 1009 : 1 : invalidInitializedMemberAlphaLon.accelMax = invalidInitializedMemberAlphaLonAccelMax; 1010 : 1 : invalidInitializedMember.alphaLon = invalidInitializedMemberAlphaLon; 1011 : 1 : value.defaultEgoVehicleRssDynamics = invalidInitializedMember; 1012 [ + - - + : 1 : ASSERT_FALSE(withinValidInputRange(value)); - - - - - - - - ] 1013 : : }