Branch data Line data Source code
1 : : /* 2 : : * ----------------- BEGIN LICENSE BLOCK --------------------------------- 3 : : * 4 : : * Copyright (C) 2018-2022 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 : : #if defined(__clang__) && (__clang_major__ >= 7) 16 : : #pragma GCC diagnostic push 17 : : #pragma GCC diagnostic ignored "-Wself-assign-overloaded" 18 : : #endif 19 : : 20 : : #include <gtest/gtest.h> 21 : : #include <limits> 22 : : #include "ad/rss/core/RssSituationSnapshot.hpp" 23 : : 24 : : class RssSituationSnapshotTests : public testing::Test 25 : : { 26 : : protected: 27 : 9 : virtual void SetUp() override 28 : : { 29 : : // valid initialization 30 : 9 : ::ad::rss::core::RssSituationSnapshot value; 31 : 9 : ::ad::rss::world::TimeIndex valueTime_index(std::numeric_limits<::ad::rss::world::TimeIndex>::lowest()); 32 : 9 : valueTime_index = ::ad::rss::world::TimeIndex(1); // set to valid value within struct 33 : 9 : value.time_index = valueTime_index; 34 : 9 : ::ad::rss::world::RssDynamics valueDefault_ego_vehicle_rss_dynamics; 35 : 9 : ::ad::rss::world::LongitudinalRssAccelerationValues valueDefault_ego_vehicle_rss_dynamicsAlpha_lon; 36 : 9 : ::ad::physics::Acceleration valueDefault_ego_vehicle_rss_dynamicsAlpha_lonAccel_max(-1e2); 37 : : valueDefault_ego_vehicle_rss_dynamicsAlpha_lonAccel_max 38 : 9 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 39 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.accel_max = valueDefault_ego_vehicle_rss_dynamicsAlpha_lonAccel_max; 40 : 9 : ::ad::physics::Acceleration valueDefault_ego_vehicle_rss_dynamicsAlpha_lonBrake_max(-1e2); 41 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_max = valueDefault_ego_vehicle_rss_dynamicsAlpha_lonBrake_max; 42 : 9 : ::ad::physics::Acceleration valueDefault_ego_vehicle_rss_dynamicsAlpha_lonBrake_min(-1e2); 43 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min = valueDefault_ego_vehicle_rss_dynamicsAlpha_lonBrake_min; 44 : 9 : ::ad::physics::Acceleration valueDefault_ego_vehicle_rss_dynamicsAlpha_lonBrake_min_correct(-1e2); 45 : : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min_correct 46 : 9 : = valueDefault_ego_vehicle_rss_dynamicsAlpha_lonBrake_min_correct; 47 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min = valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_max; 48 : : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min_correct 49 : 9 : = valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min; 50 : : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min 51 : 9 : = valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min_correct; 52 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_max = valueDefault_ego_vehicle_rss_dynamicsAlpha_lon.brake_min; 53 : 9 : valueDefault_ego_vehicle_rss_dynamics.alpha_lon = valueDefault_ego_vehicle_rss_dynamicsAlpha_lon; 54 : 9 : ::ad::rss::world::LateralRssAccelerationValues valueDefault_ego_vehicle_rss_dynamicsAlpha_lat; 55 : 9 : ::ad::physics::Acceleration valueDefault_ego_vehicle_rss_dynamicsAlpha_latAccel_max(-1e2); 56 : : valueDefault_ego_vehicle_rss_dynamicsAlpha_latAccel_max 57 : 9 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 58 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lat.accel_max = valueDefault_ego_vehicle_rss_dynamicsAlpha_latAccel_max; 59 : 9 : ::ad::physics::Acceleration valueDefault_ego_vehicle_rss_dynamicsAlpha_latBrake_min(-1e2); 60 : 9 : valueDefault_ego_vehicle_rss_dynamicsAlpha_lat.brake_min = valueDefault_ego_vehicle_rss_dynamicsAlpha_latBrake_min; 61 : 9 : valueDefault_ego_vehicle_rss_dynamics.alpha_lat = valueDefault_ego_vehicle_rss_dynamicsAlpha_lat; 62 : 9 : ::ad::physics::Distance valueDefault_ego_vehicle_rss_dynamicsLateral_fluctuation_margin(-1e9); 63 : : valueDefault_ego_vehicle_rss_dynamicsLateral_fluctuation_margin 64 : 9 : = ::ad::physics::Distance(0.); // set to valid value within struct 65 : : valueDefault_ego_vehicle_rss_dynamics.lateral_fluctuation_margin 66 : 9 : = valueDefault_ego_vehicle_rss_dynamicsLateral_fluctuation_margin; 67 : 9 : ::ad::physics::Duration valueDefault_ego_vehicle_rss_dynamicsResponse_time(0.); 68 : : valueDefault_ego_vehicle_rss_dynamicsResponse_time 69 : 9 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 70 : 9 : valueDefault_ego_vehicle_rss_dynamics.response_time = valueDefault_ego_vehicle_rss_dynamicsResponse_time; 71 : 9 : ::ad::physics::Speed valueDefault_ego_vehicle_rss_dynamicsMax_speed_on_acceleration(-100.); 72 : : valueDefault_ego_vehicle_rss_dynamics.max_speed_on_acceleration 73 : 9 : = valueDefault_ego_vehicle_rss_dynamicsMax_speed_on_acceleration; 74 : 9 : ::ad::rss::world::UnstructuredSettings valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings; 75 : 9 : ::ad::physics::Distance valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_turning_radius(-1e9); 76 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_turning_radius 77 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_turning_radius; 78 : 9 : ::ad::physics::Angle valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsDrive_away_max_angle(-6.283185308); 79 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.drive_away_max_angle 80 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsDrive_away_max_angle; 81 : : ::ad::physics::AngularAcceleration 82 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_yaw_rate_change(-1e2); 83 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_yaw_rate_change 84 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_yaw_rate_change; 85 : 9 : ::ad::physics::Distance valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_min_radius(-1e9); 86 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_min_radius 87 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_min_radius; 88 : : ::ad::physics::Duration 89 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_trajectory_calculation_step(0.); 90 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_trajectory_calculation_step 91 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_trajectory_calculation_step; 92 : : uint32_t 93 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{ 94 : : std::numeric_limits<uint32_t>::min()}; 95 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps 96 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps; 97 : : uint32_t 98 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{ 99 : : std::numeric_limits<uint32_t>::min()}; 100 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps 101 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps; 102 : 9 : uint32_t valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{ 103 : : std::numeric_limits<uint32_t>::min()}; 104 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps 105 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps; 106 : : uint32_t 107 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{ 108 : : std::numeric_limits<uint32_t>::min()}; 109 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps 110 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps; 111 : : uint32_t 112 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{ 113 : : std::numeric_limits<uint32_t>::min()}; 114 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings 115 : : .vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps 116 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps; 117 : : uint32_t 118 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{ 119 : : std::numeric_limits<uint32_t>::min()}; 120 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings 121 : : .pedestrian_continue_forward_intermediate_heading_change_ratio_steps 122 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps; 123 : : uint32_t 124 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{ 125 : : std::numeric_limits<uint32_t>::min()}; 126 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings 127 : : .pedestrian_continue_forward_intermediate_acceleration_steps 128 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps; 129 : 9 : uint32_t valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{ 130 : : std::numeric_limits<uint32_t>::min()}; 131 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps 132 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps; 133 : : uint32_t 134 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{ 135 : : std::numeric_limits<uint32_t>::min()}; 136 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps 137 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps; 138 : : uint32_t 139 : 9 : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{ 140 : : std::numeric_limits<uint32_t>::min()}; 141 : : valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps 142 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps; 143 : : valueDefault_ego_vehicle_rss_dynamics.unstructured_settings 144 : 9 : = valueDefault_ego_vehicle_rss_dynamicsUnstructured_settings; 145 : 9 : ::ad::physics::Distance valueDefault_ego_vehicle_rss_dynamicsMin_longitudinal_safety_distance(-1e9); 146 : : valueDefault_ego_vehicle_rss_dynamics.min_longitudinal_safety_distance 147 : 9 : = valueDefault_ego_vehicle_rss_dynamicsMin_longitudinal_safety_distance; 148 : 9 : value.default_ego_vehicle_rss_dynamics = valueDefault_ego_vehicle_rss_dynamics; 149 : 9 : ::ad::rss::core::RelativeConstellationVector valueConstellations; 150 : 9 : ::ad::rss::core::RelativeConstellation valueConstellationsElement; 151 : 9 : ::ad::rss::world::ObjectId valueConstellationsElementEgo_id( 152 : : std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 153 : 9 : valueConstellationsElement.ego_id = valueConstellationsElementEgo_id; 154 : 9 : ::ad::rss::world::ObjectId valueConstellationsElementObject_id( 155 : : std::numeric_limits<::ad::rss::world::ObjectId>::lowest()); 156 : 9 : valueConstellationsElement.object_id = valueConstellationsElementObject_id; 157 : 9 : ::ad::rss::core::RelativeConstellationId valueConstellationsElementConstellation_id( 158 : : std::numeric_limits<::ad::rss::core::RelativeConstellationId>::lowest()); 159 : 9 : valueConstellationsElement.constellation_id = valueConstellationsElementConstellation_id; 160 : 9 : ::ad::rss::world::ConstellationType valueConstellationsElementConstellation_type( 161 : : ::ad::rss::world::ConstellationType::NotRelevant); 162 : 9 : valueConstellationsElement.constellation_type = valueConstellationsElementConstellation_type; 163 : 9 : ::ad::rss::core::RelativeObjectState valueConstellationsElementEgo_state; 164 : 9 : ::ad::rss::world::ObjectType valueConstellationsElementEgo_stateObject_type(::ad::rss::world::ObjectType::Invalid); 165 : 9 : valueConstellationsElementEgo_state.object_type = valueConstellationsElementEgo_stateObject_type; 166 : 9 : ::ad::rss::world::RssDynamics valueConstellationsElementEgo_stateDynamics; 167 : 9 : ::ad::rss::world::LongitudinalRssAccelerationValues valueConstellationsElementEgo_stateDynamicsAlpha_lon; 168 : 9 : ::ad::physics::Acceleration valueConstellationsElementEgo_stateDynamicsAlpha_lonAccel_max(-1e2); 169 : : valueConstellationsElementEgo_stateDynamicsAlpha_lonAccel_max 170 : 9 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 171 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.accel_max 172 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lonAccel_max; 173 : 9 : ::ad::physics::Acceleration valueConstellationsElementEgo_stateDynamicsAlpha_lonBrake_max(-1e2); 174 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_max 175 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lonBrake_max; 176 : 9 : ::ad::physics::Acceleration valueConstellationsElementEgo_stateDynamicsAlpha_lonBrake_min(-1e2); 177 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min 178 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lonBrake_min; 179 : 9 : ::ad::physics::Acceleration valueConstellationsElementEgo_stateDynamicsAlpha_lonBrake_min_correct(-1e2); 180 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min_correct 181 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lonBrake_min_correct; 182 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min 183 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_max; 184 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min_correct 185 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min; 186 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min 187 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min_correct; 188 : : valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_max 189 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_lon.brake_min; 190 : 9 : valueConstellationsElementEgo_stateDynamics.alpha_lon = valueConstellationsElementEgo_stateDynamicsAlpha_lon; 191 : 9 : ::ad::rss::world::LateralRssAccelerationValues valueConstellationsElementEgo_stateDynamicsAlpha_lat; 192 : 9 : ::ad::physics::Acceleration valueConstellationsElementEgo_stateDynamicsAlpha_latAccel_max(-1e2); 193 : : valueConstellationsElementEgo_stateDynamicsAlpha_latAccel_max 194 : 9 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 195 : : valueConstellationsElementEgo_stateDynamicsAlpha_lat.accel_max 196 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_latAccel_max; 197 : 9 : ::ad::physics::Acceleration valueConstellationsElementEgo_stateDynamicsAlpha_latBrake_min(-1e2); 198 : : valueConstellationsElementEgo_stateDynamicsAlpha_lat.brake_min 199 : 9 : = valueConstellationsElementEgo_stateDynamicsAlpha_latBrake_min; 200 : 9 : valueConstellationsElementEgo_stateDynamics.alpha_lat = valueConstellationsElementEgo_stateDynamicsAlpha_lat; 201 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateDynamicsLateral_fluctuation_margin(-1e9); 202 : : valueConstellationsElementEgo_stateDynamicsLateral_fluctuation_margin 203 : 9 : = ::ad::physics::Distance(0.); // set to valid value within struct 204 : : valueConstellationsElementEgo_stateDynamics.lateral_fluctuation_margin 205 : 9 : = valueConstellationsElementEgo_stateDynamicsLateral_fluctuation_margin; 206 : 9 : ::ad::physics::Duration valueConstellationsElementEgo_stateDynamicsResponse_time(0.); 207 : : valueConstellationsElementEgo_stateDynamicsResponse_time 208 : 9 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 209 : : valueConstellationsElementEgo_stateDynamics.response_time 210 : 9 : = valueConstellationsElementEgo_stateDynamicsResponse_time; 211 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateDynamicsMax_speed_on_acceleration(-100.); 212 : : valueConstellationsElementEgo_stateDynamics.max_speed_on_acceleration 213 : 9 : = valueConstellationsElementEgo_stateDynamicsMax_speed_on_acceleration; 214 : 9 : ::ad::rss::world::UnstructuredSettings valueConstellationsElementEgo_stateDynamicsUnstructured_settings; 215 : : ::ad::physics::Distance valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_turning_radius( 216 : 9 : -1e9); 217 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.pedestrian_turning_radius 218 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_turning_radius; 219 : : ::ad::physics::Angle valueConstellationsElementEgo_stateDynamicsUnstructured_settingsDrive_away_max_angle( 220 : 9 : -6.283185308); 221 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.drive_away_max_angle 222 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsDrive_away_max_angle; 223 : : ::ad::physics::AngularAcceleration 224 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(-1e2); 225 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change 226 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change; 227 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_min_radius(-1e9); 228 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_min_radius 229 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_min_radius; 230 : : ::ad::physics::Duration 231 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(0.); 232 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step 233 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step; 234 : : uint32_t 235 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{ 236 : : std::numeric_limits<uint32_t>::min()}; 237 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 238 : : .vehicle_front_intermediate_yaw_rate_change_ratio_steps 239 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps; 240 : : uint32_t 241 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{ 242 : : std::numeric_limits<uint32_t>::min()}; 243 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 244 : : .vehicle_back_intermediate_yaw_rate_change_ratio_steps 245 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps; 246 : : uint32_t 247 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{ 248 : : std::numeric_limits<uint32_t>::min()}; 249 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps 250 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps; 251 : : uint32_t 252 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{ 253 : : std::numeric_limits<uint32_t>::min()}; 254 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 255 : : .vehicle_continue_forward_intermediate_acceleration_steps 256 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps; 257 : : uint32_t 258 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{ 259 : : std::numeric_limits<uint32_t>::min()}; 260 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 261 : : .vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps 262 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps; 263 : : uint32_t 264 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{ 265 : : std::numeric_limits<uint32_t>::min()}; 266 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 267 : : .pedestrian_continue_forward_intermediate_heading_change_ratio_steps 268 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps; 269 : : uint32_t 270 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{ 271 : : std::numeric_limits<uint32_t>::min()}; 272 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 273 : : .pedestrian_continue_forward_intermediate_acceleration_steps 274 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps; 275 : : uint32_t 276 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{ 277 : : std::numeric_limits<uint32_t>::min()}; 278 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps 279 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps; 280 : : uint32_t 281 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{ 282 : : std::numeric_limits<uint32_t>::min()}; 283 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 284 : : .pedestrian_front_intermediate_heading_change_ratio_steps 285 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps; 286 : : uint32_t 287 : 9 : valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{ 288 : : std::numeric_limits<uint32_t>::min()}; 289 : : valueConstellationsElementEgo_stateDynamicsUnstructured_settings 290 : : .pedestrian_back_intermediate_heading_change_ratio_steps 291 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps; 292 : : valueConstellationsElementEgo_stateDynamics.unstructured_settings 293 : 9 : = valueConstellationsElementEgo_stateDynamicsUnstructured_settings; 294 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateDynamicsMin_longitudinal_safety_distance(-1e9); 295 : : valueConstellationsElementEgo_stateDynamics.min_longitudinal_safety_distance 296 : 9 : = valueConstellationsElementEgo_stateDynamicsMin_longitudinal_safety_distance; 297 : 9 : valueConstellationsElementEgo_state.dynamics = valueConstellationsElementEgo_stateDynamics; 298 : 9 : ::ad::rss::world::ObjectState valueConstellationsElementEgo_stateUnstructured_object_state; 299 : 9 : ::ad::physics::Angle valueConstellationsElementEgo_stateUnstructured_object_stateYaw(-6.283185308); 300 : : valueConstellationsElementEgo_stateUnstructured_object_state.yaw 301 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateYaw; 302 : 9 : ::ad::physics::Dimension2D valueConstellationsElementEgo_stateUnstructured_object_stateDimension; 303 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateUnstructured_object_stateDimensionLength(-1e9); 304 : : valueConstellationsElementEgo_stateUnstructured_object_stateDimension.length 305 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateDimensionLength; 306 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateUnstructured_object_stateDimensionWidth(-1e9); 307 : : valueConstellationsElementEgo_stateUnstructured_object_stateDimension.width 308 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateDimensionWidth; 309 : : valueConstellationsElementEgo_stateUnstructured_object_state.dimension 310 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateDimension; 311 : 9 : ::ad::physics::AngularVelocity valueConstellationsElementEgo_stateUnstructured_object_stateYaw_rate(-100.); 312 : : valueConstellationsElementEgo_stateUnstructured_object_state.yaw_rate 313 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateYaw_rate; 314 : 9 : ::ad::physics::Distance2D valueConstellationsElementEgo_stateUnstructured_object_stateCenter_point; 315 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateUnstructured_object_stateCenter_pointX(-1e9); 316 : : valueConstellationsElementEgo_stateUnstructured_object_stateCenter_point.x 317 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateCenter_pointX; 318 : 9 : ::ad::physics::Distance valueConstellationsElementEgo_stateUnstructured_object_stateCenter_pointY(-1e9); 319 : : valueConstellationsElementEgo_stateUnstructured_object_stateCenter_point.y 320 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateCenter_pointY; 321 : : valueConstellationsElementEgo_stateUnstructured_object_state.center_point 322 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateCenter_point; 323 : 9 : ::ad::physics::SpeedRange valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range; 324 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMinimum(-100.); 325 : : valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range.minimum 326 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMinimum; 327 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMaximum(-100.); 328 : : valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range.maximum 329 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMaximum; 330 : : valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range.maximum 331 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range.minimum; 332 : : valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range.minimum 333 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range.maximum; 334 : : valueConstellationsElementEgo_stateUnstructured_object_state.speed_range 335 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateSpeed_range; 336 : 9 : ::ad::physics::Angle valueConstellationsElementEgo_stateUnstructured_object_stateSteering_angle(-6.283185308); 337 : : valueConstellationsElementEgo_stateUnstructured_object_state.steering_angle 338 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_stateSteering_angle; 339 : : valueConstellationsElementEgo_state.unstructured_object_state 340 : 9 : = valueConstellationsElementEgo_stateUnstructured_object_state; 341 : 9 : ::ad::rss::core::StructuredObjectState valueConstellationsElementEgo_stateStructured_object_state; 342 : 9 : ::ad::rss::world::Velocity valueConstellationsElementEgo_stateStructured_object_stateVelocity; 343 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_min(-100.); 344 : : valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_min 345 : 9 : = ::ad::physics::Speed(0.); // set to valid value within struct 346 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_min 347 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_min; 348 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_max(-100.); 349 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_max 350 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_max; 351 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_min(-100.); 352 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_min 353 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_min; 354 : 9 : ::ad::physics::Speed valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_max(-100.); 355 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_max 356 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_max; 357 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_max 358 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_min; 359 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_max 360 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_min; 361 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_min 362 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_max; 363 : : valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_min 364 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_max; 365 : : valueConstellationsElementEgo_stateStructured_object_state.velocity 366 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateVelocity; 367 : 9 : bool valueConstellationsElementEgo_stateStructured_object_stateHas_priority{true}; 368 : : valueConstellationsElementEgo_stateStructured_object_state.has_priority 369 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateHas_priority; 370 : 9 : bool valueConstellationsElementEgo_stateStructured_object_stateIs_in_correct_lane{true}; 371 : : valueConstellationsElementEgo_stateStructured_object_state.is_in_correct_lane 372 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateIs_in_correct_lane; 373 : : ::ad::physics::Distance valueConstellationsElementEgo_stateStructured_object_stateDistance_to_enter_intersection( 374 : 9 : -1e9); 375 : : valueConstellationsElementEgo_stateStructured_object_stateDistance_to_enter_intersection 376 : 9 : = ::ad::physics::Distance(0.); // set to valid value within struct 377 : : valueConstellationsElementEgo_stateStructured_object_state.distance_to_enter_intersection 378 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateDistance_to_enter_intersection; 379 : : ::ad::physics::Distance valueConstellationsElementEgo_stateStructured_object_stateDistance_to_leave_intersection( 380 : 9 : -1e9); 381 : : valueConstellationsElementEgo_stateStructured_object_state.distance_to_leave_intersection 382 : 9 : = valueConstellationsElementEgo_stateStructured_object_stateDistance_to_leave_intersection; 383 : : valueConstellationsElementEgo_stateStructured_object_state.distance_to_leave_intersection 384 : 9 : = valueConstellationsElementEgo_stateStructured_object_state.distance_to_enter_intersection; 385 : : valueConstellationsElementEgo_stateStructured_object_state.distance_to_enter_intersection 386 : 9 : = valueConstellationsElementEgo_stateStructured_object_state.distance_to_leave_intersection; 387 : : valueConstellationsElementEgo_state.structured_object_state 388 : 9 : = valueConstellationsElementEgo_stateStructured_object_state; 389 : 9 : valueConstellationsElement.ego_state = valueConstellationsElementEgo_state; 390 : 9 : ::ad::rss::core::RelativeObjectState valueConstellationsElementOther_state; 391 : 9 : ::ad::rss::world::ObjectType valueConstellationsElementOther_stateObject_type( 392 : : ::ad::rss::world::ObjectType::Invalid); 393 : 9 : valueConstellationsElementOther_state.object_type = valueConstellationsElementOther_stateObject_type; 394 : 9 : ::ad::rss::world::RssDynamics valueConstellationsElementOther_stateDynamics; 395 : 9 : ::ad::rss::world::LongitudinalRssAccelerationValues valueConstellationsElementOther_stateDynamicsAlpha_lon; 396 : 9 : ::ad::physics::Acceleration valueConstellationsElementOther_stateDynamicsAlpha_lonAccel_max(-1e2); 397 : : valueConstellationsElementOther_stateDynamicsAlpha_lonAccel_max 398 : 9 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 399 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.accel_max 400 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lonAccel_max; 401 : 9 : ::ad::physics::Acceleration valueConstellationsElementOther_stateDynamicsAlpha_lonBrake_max(-1e2); 402 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_max 403 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lonBrake_max; 404 : 9 : ::ad::physics::Acceleration valueConstellationsElementOther_stateDynamicsAlpha_lonBrake_min(-1e2); 405 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min 406 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lonBrake_min; 407 : 9 : ::ad::physics::Acceleration valueConstellationsElementOther_stateDynamicsAlpha_lonBrake_min_correct(-1e2); 408 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min_correct 409 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lonBrake_min_correct; 410 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min 411 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_max; 412 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min_correct 413 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min; 414 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min 415 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min_correct; 416 : : valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_max 417 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_lon.brake_min; 418 : 9 : valueConstellationsElementOther_stateDynamics.alpha_lon = valueConstellationsElementOther_stateDynamicsAlpha_lon; 419 : 9 : ::ad::rss::world::LateralRssAccelerationValues valueConstellationsElementOther_stateDynamicsAlpha_lat; 420 : 9 : ::ad::physics::Acceleration valueConstellationsElementOther_stateDynamicsAlpha_latAccel_max(-1e2); 421 : : valueConstellationsElementOther_stateDynamicsAlpha_latAccel_max 422 : 9 : = ::ad::physics::Acceleration(0.); // set to valid value within struct 423 : : valueConstellationsElementOther_stateDynamicsAlpha_lat.accel_max 424 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_latAccel_max; 425 : 9 : ::ad::physics::Acceleration valueConstellationsElementOther_stateDynamicsAlpha_latBrake_min(-1e2); 426 : : valueConstellationsElementOther_stateDynamicsAlpha_lat.brake_min 427 : 9 : = valueConstellationsElementOther_stateDynamicsAlpha_latBrake_min; 428 : 9 : valueConstellationsElementOther_stateDynamics.alpha_lat = valueConstellationsElementOther_stateDynamicsAlpha_lat; 429 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateDynamicsLateral_fluctuation_margin(-1e9); 430 : : valueConstellationsElementOther_stateDynamicsLateral_fluctuation_margin 431 : 9 : = ::ad::physics::Distance(0.); // set to valid value within struct 432 : : valueConstellationsElementOther_stateDynamics.lateral_fluctuation_margin 433 : 9 : = valueConstellationsElementOther_stateDynamicsLateral_fluctuation_margin; 434 : 9 : ::ad::physics::Duration valueConstellationsElementOther_stateDynamicsResponse_time(0.); 435 : : valueConstellationsElementOther_stateDynamicsResponse_time 436 : 9 : = ::ad::physics::Duration(0. + ::ad::physics::Duration::cPrecisionValue); // set to valid value within struct 437 : : valueConstellationsElementOther_stateDynamics.response_time 438 : 9 : = valueConstellationsElementOther_stateDynamicsResponse_time; 439 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateDynamicsMax_speed_on_acceleration(-100.); 440 : : valueConstellationsElementOther_stateDynamics.max_speed_on_acceleration 441 : 9 : = valueConstellationsElementOther_stateDynamicsMax_speed_on_acceleration; 442 : 9 : ::ad::rss::world::UnstructuredSettings valueConstellationsElementOther_stateDynamicsUnstructured_settings; 443 : : ::ad::physics::Distance valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_turning_radius( 444 : 9 : -1e9); 445 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.pedestrian_turning_radius 446 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_turning_radius; 447 : : ::ad::physics::Angle valueConstellationsElementOther_stateDynamicsUnstructured_settingsDrive_away_max_angle( 448 : 9 : -6.283185308); 449 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.drive_away_max_angle 450 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsDrive_away_max_angle; 451 : : ::ad::physics::AngularAcceleration 452 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(-1e2); 453 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change 454 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change; 455 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_min_radius(-1e9); 456 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.vehicle_min_radius 457 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_min_radius; 458 : : ::ad::physics::Duration 459 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(0.); 460 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step 461 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step; 462 : : uint32_t 463 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{ 464 : : std::numeric_limits<uint32_t>::min()}; 465 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 466 : : .vehicle_front_intermediate_yaw_rate_change_ratio_steps 467 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps; 468 : : uint32_t 469 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{ 470 : : std::numeric_limits<uint32_t>::min()}; 471 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 472 : : .vehicle_back_intermediate_yaw_rate_change_ratio_steps 473 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps; 474 : : uint32_t 475 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{ 476 : : std::numeric_limits<uint32_t>::min()}; 477 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps 478 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps; 479 : : uint32_t 480 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{ 481 : : std::numeric_limits<uint32_t>::min()}; 482 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 483 : : .vehicle_continue_forward_intermediate_acceleration_steps 484 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps; 485 : : uint32_t 486 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{ 487 : : std::numeric_limits<uint32_t>::min()}; 488 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 489 : : .vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps 490 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps; 491 : : uint32_t 492 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{ 493 : : std::numeric_limits<uint32_t>::min()}; 494 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 495 : : .pedestrian_continue_forward_intermediate_heading_change_ratio_steps 496 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps; 497 : : uint32_t 498 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{ 499 : : std::numeric_limits<uint32_t>::min()}; 500 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 501 : : .pedestrian_continue_forward_intermediate_acceleration_steps 502 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps; 503 : : uint32_t 504 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{ 505 : : std::numeric_limits<uint32_t>::min()}; 506 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps 507 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps; 508 : : uint32_t 509 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{ 510 : : std::numeric_limits<uint32_t>::min()}; 511 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 512 : : .pedestrian_front_intermediate_heading_change_ratio_steps 513 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps; 514 : : uint32_t 515 : 9 : valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{ 516 : : std::numeric_limits<uint32_t>::min()}; 517 : : valueConstellationsElementOther_stateDynamicsUnstructured_settings 518 : : .pedestrian_back_intermediate_heading_change_ratio_steps 519 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps; 520 : : valueConstellationsElementOther_stateDynamics.unstructured_settings 521 : 9 : = valueConstellationsElementOther_stateDynamicsUnstructured_settings; 522 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateDynamicsMin_longitudinal_safety_distance(-1e9); 523 : : valueConstellationsElementOther_stateDynamics.min_longitudinal_safety_distance 524 : 9 : = valueConstellationsElementOther_stateDynamicsMin_longitudinal_safety_distance; 525 : 9 : valueConstellationsElementOther_state.dynamics = valueConstellationsElementOther_stateDynamics; 526 : 9 : ::ad::rss::world::ObjectState valueConstellationsElementOther_stateUnstructured_object_state; 527 : 9 : ::ad::physics::Angle valueConstellationsElementOther_stateUnstructured_object_stateYaw(-6.283185308); 528 : : valueConstellationsElementOther_stateUnstructured_object_state.yaw 529 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateYaw; 530 : 9 : ::ad::physics::Dimension2D valueConstellationsElementOther_stateUnstructured_object_stateDimension; 531 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateUnstructured_object_stateDimensionLength(-1e9); 532 : : valueConstellationsElementOther_stateUnstructured_object_stateDimension.length 533 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateDimensionLength; 534 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateUnstructured_object_stateDimensionWidth(-1e9); 535 : : valueConstellationsElementOther_stateUnstructured_object_stateDimension.width 536 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateDimensionWidth; 537 : : valueConstellationsElementOther_stateUnstructured_object_state.dimension 538 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateDimension; 539 : 9 : ::ad::physics::AngularVelocity valueConstellationsElementOther_stateUnstructured_object_stateYaw_rate(-100.); 540 : : valueConstellationsElementOther_stateUnstructured_object_state.yaw_rate 541 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateYaw_rate; 542 : 9 : ::ad::physics::Distance2D valueConstellationsElementOther_stateUnstructured_object_stateCenter_point; 543 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateUnstructured_object_stateCenter_pointX(-1e9); 544 : : valueConstellationsElementOther_stateUnstructured_object_stateCenter_point.x 545 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateCenter_pointX; 546 : 9 : ::ad::physics::Distance valueConstellationsElementOther_stateUnstructured_object_stateCenter_pointY(-1e9); 547 : : valueConstellationsElementOther_stateUnstructured_object_stateCenter_point.y 548 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateCenter_pointY; 549 : : valueConstellationsElementOther_stateUnstructured_object_state.center_point 550 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateCenter_point; 551 : 9 : ::ad::physics::SpeedRange valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range; 552 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateUnstructured_object_stateSpeed_rangeMinimum(-100.); 553 : : valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range.minimum 554 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateSpeed_rangeMinimum; 555 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateUnstructured_object_stateSpeed_rangeMaximum(-100.); 556 : : valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range.maximum 557 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateSpeed_rangeMaximum; 558 : : valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range.maximum 559 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range.minimum; 560 : : valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range.minimum 561 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range.maximum; 562 : : valueConstellationsElementOther_stateUnstructured_object_state.speed_range 563 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateSpeed_range; 564 : 9 : ::ad::physics::Angle valueConstellationsElementOther_stateUnstructured_object_stateSteering_angle(-6.283185308); 565 : : valueConstellationsElementOther_stateUnstructured_object_state.steering_angle 566 : 9 : = valueConstellationsElementOther_stateUnstructured_object_stateSteering_angle; 567 : : valueConstellationsElementOther_state.unstructured_object_state 568 : 9 : = valueConstellationsElementOther_stateUnstructured_object_state; 569 : 9 : ::ad::rss::core::StructuredObjectState valueConstellationsElementOther_stateStructured_object_state; 570 : 9 : ::ad::rss::world::Velocity valueConstellationsElementOther_stateStructured_object_stateVelocity; 571 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_min(-100.); 572 : : valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_min 573 : 9 : = ::ad::physics::Speed(0.); // set to valid value within struct 574 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lon_min 575 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_min; 576 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_max(-100.); 577 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lon_max 578 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_max; 579 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_min(-100.); 580 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lat_min 581 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_min; 582 : 9 : ::ad::physics::Speed valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_max(-100.); 583 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lat_max 584 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_max; 585 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lon_max 586 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lon_min; 587 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lat_max 588 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lat_min; 589 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lon_min 590 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lon_max; 591 : : valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lat_min 592 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocity.speed_lat_max; 593 : : valueConstellationsElementOther_stateStructured_object_state.velocity 594 : 9 : = valueConstellationsElementOther_stateStructured_object_stateVelocity; 595 : 9 : bool valueConstellationsElementOther_stateStructured_object_stateHas_priority{true}; 596 : : valueConstellationsElementOther_stateStructured_object_state.has_priority 597 : 9 : = valueConstellationsElementOther_stateStructured_object_stateHas_priority; 598 : 9 : bool valueConstellationsElementOther_stateStructured_object_stateIs_in_correct_lane{true}; 599 : : valueConstellationsElementOther_stateStructured_object_state.is_in_correct_lane 600 : 9 : = valueConstellationsElementOther_stateStructured_object_stateIs_in_correct_lane; 601 : : ::ad::physics::Distance valueConstellationsElementOther_stateStructured_object_stateDistance_to_enter_intersection( 602 : 9 : -1e9); 603 : : valueConstellationsElementOther_stateStructured_object_stateDistance_to_enter_intersection 604 : 9 : = ::ad::physics::Distance(0.); // set to valid value within struct 605 : : valueConstellationsElementOther_stateStructured_object_state.distance_to_enter_intersection 606 : 9 : = valueConstellationsElementOther_stateStructured_object_stateDistance_to_enter_intersection; 607 : : ::ad::physics::Distance valueConstellationsElementOther_stateStructured_object_stateDistance_to_leave_intersection( 608 : 9 : -1e9); 609 : : valueConstellationsElementOther_stateStructured_object_state.distance_to_leave_intersection 610 : 9 : = valueConstellationsElementOther_stateStructured_object_stateDistance_to_leave_intersection; 611 : : valueConstellationsElementOther_stateStructured_object_state.distance_to_leave_intersection 612 : 9 : = valueConstellationsElementOther_stateStructured_object_state.distance_to_enter_intersection; 613 : : valueConstellationsElementOther_stateStructured_object_state.distance_to_enter_intersection 614 : 9 : = valueConstellationsElementOther_stateStructured_object_state.distance_to_leave_intersection; 615 : : valueConstellationsElementOther_state.structured_object_state 616 : 9 : = valueConstellationsElementOther_stateStructured_object_state; 617 : 9 : valueConstellationsElement.other_state = valueConstellationsElementOther_state; 618 : 9 : ::ad::rss::core::RelativePosition valueConstellationsElementRelative_position; 619 : 9 : ::ad::rss::core::LongitudinalRelativePosition valueConstellationsElementRelative_positionLongitudinal_position( 620 : : ::ad::rss::core::LongitudinalRelativePosition::InFront); 621 : : valueConstellationsElementRelative_position.longitudinal_position 622 : 9 : = valueConstellationsElementRelative_positionLongitudinal_position; 623 : 9 : ::ad::physics::Distance valueConstellationsElementRelative_positionLongitudinal_distance(-1e9); 624 : : valueConstellationsElementRelative_position.longitudinal_distance 625 : 9 : = valueConstellationsElementRelative_positionLongitudinal_distance; 626 : 9 : ::ad::rss::core::LateralRelativePosition valueConstellationsElementRelative_positionLateral_position( 627 : : ::ad::rss::core::LateralRelativePosition::AtLeft); 628 : : valueConstellationsElementRelative_position.lateral_position 629 : 9 : = valueConstellationsElementRelative_positionLateral_position; 630 : 9 : ::ad::physics::Distance valueConstellationsElementRelative_positionLateral_distance(-1e9); 631 : : valueConstellationsElementRelative_position.lateral_distance 632 : 9 : = valueConstellationsElementRelative_positionLateral_distance; 633 : 9 : valueConstellationsElement.relative_position = valueConstellationsElementRelative_position; 634 : 9 : ::ad::rss::world::WorldModelIndexVector valueConstellationsElementWorld_model_indices; 635 : 9 : ::ad::rss::world::WorldModelIndex valueConstellationsElementWorld_model_indicesElement( 636 : : std::numeric_limits<::ad::rss::world::WorldModelIndex>::lowest()); 637 [ + - ]: 9 : valueConstellationsElementWorld_model_indices.resize(1, valueConstellationsElementWorld_model_indicesElement); 638 [ + - ]: 9 : valueConstellationsElement.world_model_indices = valueConstellationsElementWorld_model_indices; 639 [ + - ]: 9 : valueConstellations.resize(1, valueConstellationsElement); 640 [ + - ]: 9 : value.constellations = valueConstellations; 641 [ + - ]: 9 : mValue = value; 642 : 9 : } 643 : : 644 : : ::ad::rss::core::RssSituationSnapshot mValue; 645 : : }; 646 : : 647 : 4 : TEST_F(RssSituationSnapshotTests, copyConstruction) 648 : : { 649 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot value(mValue); 650 [ + - - + : 1 : EXPECT_EQ(mValue, value); - - - - - - ] 651 : 1 : } 652 : : 653 : 4 : TEST_F(RssSituationSnapshotTests, moveConstruction) 654 : : { 655 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot tmpValue(mValue); 656 : 1 : ::ad::rss::core::RssSituationSnapshot value(std::move(tmpValue)); 657 [ + - - + : 1 : EXPECT_EQ(mValue, value); - - - - - - ] 658 : 1 : } 659 : : 660 : 4 : TEST_F(RssSituationSnapshotTests, copyAssignment) 661 : : { 662 : 1 : ::ad::rss::core::RssSituationSnapshot value; 663 [ + - ]: 1 : value = mValue; 664 [ + - - + : 1 : EXPECT_EQ(mValue, value); - - - - - - ] 665 : 1 : } 666 : : 667 : 4 : TEST_F(RssSituationSnapshotTests, moveAssignment) 668 : : { 669 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot tmpValue(mValue); 670 : 1 : ::ad::rss::core::RssSituationSnapshot value; 671 : 1 : value = std::move(tmpValue); 672 [ + - - + : 1 : EXPECT_EQ(mValue, value); - - - - - - ] 673 : 1 : } 674 : : 675 : 4 : TEST_F(RssSituationSnapshotTests, comparisonOperatorEqual) 676 : : { 677 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueA = mValue; 678 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueB = mValue; 679 : : 680 [ + - - + : 1 : EXPECT_TRUE(valueA == valueB); - - - - - - - - ] 681 [ + - - + : 1 : EXPECT_FALSE(valueA != valueB); - - - - - - - - ] 682 : 1 : } 683 : : 684 : 4 : TEST_F(RssSituationSnapshotTests, stringConversionTest) 685 : : { 686 [ + - ]: 1 : std::stringstream stream; 687 [ + - ]: 1 : stream << mValue; 688 [ + - ]: 1 : std::string ostreamStr = stream.str(); 689 [ + - ]: 1 : std::string toStr = std::to_string(mValue); 690 [ + - - + : 1 : ASSERT_EQ(ostreamStr, toStr); - - - - - - + - ] 691 [ + - + - : 1 : } + - ] 692 : : 693 : 4 : TEST_F(RssSituationSnapshotTests, comparisonOperatorTime_indexDiffers) 694 : : { 695 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueA = mValue; 696 : 1 : ::ad::rss::world::TimeIndex time_index(std::numeric_limits<::ad::rss::world::TimeIndex>::max()); 697 : 1 : valueA.time_index = time_index; 698 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueB = mValue; 699 : : 700 [ + - - + : 1 : EXPECT_FALSE(valueA == valueB); - - - - - - - - ] 701 [ + - - + : 1 : EXPECT_TRUE(valueA != valueB); - - - - - - - - ] 702 : 1 : } 703 : : 704 : 4 : TEST_F(RssSituationSnapshotTests, comparisonOperatorDefault_ego_vehicle_rss_dynamicsDiffers) 705 : : { 706 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueA = mValue; 707 : 1 : ::ad::rss::world::RssDynamics default_ego_vehicle_rss_dynamics; 708 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues default_ego_vehicle_rss_dynamicsAlpha_lon; 709 : 1 : ::ad::physics::Acceleration default_ego_vehicle_rss_dynamicsAlpha_lonAccel_max(1e2); 710 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.accel_max = default_ego_vehicle_rss_dynamicsAlpha_lonAccel_max; 711 : 1 : ::ad::physics::Acceleration default_ego_vehicle_rss_dynamicsAlpha_lonBrake_max(1e2); 712 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_max = default_ego_vehicle_rss_dynamicsAlpha_lonBrake_max; 713 : 1 : ::ad::physics::Acceleration default_ego_vehicle_rss_dynamicsAlpha_lonBrake_min(1e2); 714 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min = default_ego_vehicle_rss_dynamicsAlpha_lonBrake_min; 715 : 1 : ::ad::physics::Acceleration default_ego_vehicle_rss_dynamicsAlpha_lonBrake_min_correct(1e2); 716 : : default_ego_vehicle_rss_dynamicsAlpha_lonBrake_min_correct 717 : 1 : = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct 718 : : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min_correct 719 : 1 : = default_ego_vehicle_rss_dynamicsAlpha_lonBrake_min_correct; 720 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min_correct = default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min; 721 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min = default_ego_vehicle_rss_dynamicsAlpha_lon.brake_max; 722 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_max = default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min; 723 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min = default_ego_vehicle_rss_dynamicsAlpha_lon.brake_min_correct; 724 : 1 : default_ego_vehicle_rss_dynamics.alpha_lon = default_ego_vehicle_rss_dynamicsAlpha_lon; 725 : 1 : ::ad::rss::world::LateralRssAccelerationValues default_ego_vehicle_rss_dynamicsAlpha_lat; 726 : 1 : ::ad::physics::Acceleration default_ego_vehicle_rss_dynamicsAlpha_latAccel_max(1e2); 727 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lat.accel_max = default_ego_vehicle_rss_dynamicsAlpha_latAccel_max; 728 : 1 : ::ad::physics::Acceleration default_ego_vehicle_rss_dynamicsAlpha_latBrake_min(1e2); 729 : : default_ego_vehicle_rss_dynamicsAlpha_latBrake_min 730 : 1 : = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct 731 : 1 : default_ego_vehicle_rss_dynamicsAlpha_lat.brake_min = default_ego_vehicle_rss_dynamicsAlpha_latBrake_min; 732 : 1 : default_ego_vehicle_rss_dynamics.alpha_lat = default_ego_vehicle_rss_dynamicsAlpha_lat; 733 : 1 : ::ad::physics::Distance default_ego_vehicle_rss_dynamicsLateral_fluctuation_margin(1e9); 734 : : default_ego_vehicle_rss_dynamicsLateral_fluctuation_margin 735 : 1 : = ::ad::physics::Distance(1.); // set to valid value within struct 736 : : default_ego_vehicle_rss_dynamics.lateral_fluctuation_margin 737 : 1 : = default_ego_vehicle_rss_dynamicsLateral_fluctuation_margin; 738 : 1 : ::ad::physics::Duration default_ego_vehicle_rss_dynamicsResponse_time(1e6); 739 : 1 : default_ego_vehicle_rss_dynamicsResponse_time = ::ad::physics::Duration(10.); // set to valid value within struct 740 : 1 : default_ego_vehicle_rss_dynamics.response_time = default_ego_vehicle_rss_dynamicsResponse_time; 741 : 1 : ::ad::physics::Speed default_ego_vehicle_rss_dynamicsMax_speed_on_acceleration(100.); 742 : : default_ego_vehicle_rss_dynamics.max_speed_on_acceleration 743 : 1 : = default_ego_vehicle_rss_dynamicsMax_speed_on_acceleration; 744 : 1 : ::ad::rss::world::UnstructuredSettings default_ego_vehicle_rss_dynamicsUnstructured_settings; 745 : 1 : ::ad::physics::Distance default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_turning_radius(1e9); 746 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_turning_radius 747 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_turning_radius; 748 : 1 : ::ad::physics::Angle default_ego_vehicle_rss_dynamicsUnstructured_settingsDrive_away_max_angle(6.283185308); 749 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.drive_away_max_angle 750 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsDrive_away_max_angle; 751 : 1 : ::ad::physics::AngularAcceleration default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_yaw_rate_change(1e2); 752 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_yaw_rate_change 753 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_yaw_rate_change; 754 : 1 : ::ad::physics::Distance default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_min_radius(1e9); 755 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_min_radius 756 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_min_radius; 757 : 1 : ::ad::physics::Duration default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_trajectory_calculation_step(1e6); 758 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_trajectory_calculation_step 759 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_trajectory_calculation_step; 760 : 1 : uint32_t default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{ 761 : : std::numeric_limits<uint32_t>::max()}; 762 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps 763 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps; 764 : 1 : uint32_t default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{ 765 : : std::numeric_limits<uint32_t>::max()}; 766 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps 767 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps; 768 : 1 : uint32_t default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{ 769 : : std::numeric_limits<uint32_t>::max()}; 770 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps 771 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps; 772 : : uint32_t 773 : 1 : default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{ 774 : : std::numeric_limits<uint32_t>::max()}; 775 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps 776 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps; 777 : : uint32_t 778 : 1 : default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{ 779 : : std::numeric_limits<uint32_t>::max()}; 780 : : default_ego_vehicle_rss_dynamicsUnstructured_settings 781 : : .vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps 782 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps; 783 : : uint32_t 784 : 1 : default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{ 785 : : std::numeric_limits<uint32_t>::max()}; 786 : : default_ego_vehicle_rss_dynamicsUnstructured_settings 787 : : .pedestrian_continue_forward_intermediate_heading_change_ratio_steps 788 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps; 789 : : uint32_t 790 : 1 : default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{ 791 : : std::numeric_limits<uint32_t>::max()}; 792 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_continue_forward_intermediate_acceleration_steps 793 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps; 794 : 1 : uint32_t default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{ 795 : : std::numeric_limits<uint32_t>::max()}; 796 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps 797 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps; 798 : : uint32_t 799 : 1 : default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{ 800 : : std::numeric_limits<uint32_t>::max()}; 801 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps 802 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps; 803 : 1 : uint32_t default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{ 804 : : std::numeric_limits<uint32_t>::max()}; 805 : : default_ego_vehicle_rss_dynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps 806 : 1 : = default_ego_vehicle_rss_dynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps; 807 : 1 : default_ego_vehicle_rss_dynamics.unstructured_settings = default_ego_vehicle_rss_dynamicsUnstructured_settings; 808 : 1 : ::ad::physics::Distance default_ego_vehicle_rss_dynamicsMin_longitudinal_safety_distance(1e9); 809 : : default_ego_vehicle_rss_dynamics.min_longitudinal_safety_distance 810 : 1 : = default_ego_vehicle_rss_dynamicsMin_longitudinal_safety_distance; 811 : 1 : valueA.default_ego_vehicle_rss_dynamics = default_ego_vehicle_rss_dynamics; 812 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueB = mValue; 813 : : 814 [ + - - + : 1 : EXPECT_FALSE(valueA == valueB); - - - - - - - - ] 815 [ + - - + : 1 : EXPECT_TRUE(valueA != valueB); - - - - - - - - ] 816 : 1 : } 817 : : 818 : 4 : TEST_F(RssSituationSnapshotTests, comparisonOperatorConstellationsDiffers) 819 : : { 820 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueA = mValue; 821 : 1 : ::ad::rss::core::RelativeConstellationVector constellations; 822 : 1 : ::ad::rss::core::RelativeConstellation constellationsElement; 823 : 1 : ::ad::rss::world::ObjectId constellationsElementEgo_id(std::numeric_limits<::ad::rss::world::ObjectId>::max()); 824 : 1 : constellationsElement.ego_id = constellationsElementEgo_id; 825 : 1 : ::ad::rss::world::ObjectId constellationsElementObject_id(std::numeric_limits<::ad::rss::world::ObjectId>::max()); 826 : 1 : constellationsElement.object_id = constellationsElementObject_id; 827 : 1 : ::ad::rss::core::RelativeConstellationId constellationsElementConstellation_id( 828 : : std::numeric_limits<::ad::rss::core::RelativeConstellationId>::max()); 829 : 1 : constellationsElement.constellation_id = constellationsElementConstellation_id; 830 : 1 : ::ad::rss::world::ConstellationType constellationsElementConstellation_type( 831 : : ::ad::rss::world::ConstellationType::Unstructured); 832 : 1 : constellationsElement.constellation_type = constellationsElementConstellation_type; 833 : 1 : ::ad::rss::core::RelativeObjectState constellationsElementEgo_state; 834 : 1 : ::ad::rss::world::ObjectType constellationsElementEgo_stateObject_type(::ad::rss::world::ObjectType::OtherObject); 835 : 1 : constellationsElementEgo_state.object_type = constellationsElementEgo_stateObject_type; 836 : 1 : ::ad::rss::world::RssDynamics constellationsElementEgo_stateDynamics; 837 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues constellationsElementEgo_stateDynamicsAlpha_lon; 838 : 1 : ::ad::physics::Acceleration constellationsElementEgo_stateDynamicsAlpha_lonAccel_max(1e2); 839 : 1 : constellationsElementEgo_stateDynamicsAlpha_lon.accel_max = constellationsElementEgo_stateDynamicsAlpha_lonAccel_max; 840 : 1 : ::ad::physics::Acceleration constellationsElementEgo_stateDynamicsAlpha_lonBrake_max(1e2); 841 : 1 : constellationsElementEgo_stateDynamicsAlpha_lon.brake_max = constellationsElementEgo_stateDynamicsAlpha_lonBrake_max; 842 : 1 : ::ad::physics::Acceleration constellationsElementEgo_stateDynamicsAlpha_lonBrake_min(1e2); 843 : 1 : constellationsElementEgo_stateDynamicsAlpha_lon.brake_min = constellationsElementEgo_stateDynamicsAlpha_lonBrake_min; 844 : 1 : ::ad::physics::Acceleration constellationsElementEgo_stateDynamicsAlpha_lonBrake_min_correct(1e2); 845 : : constellationsElementEgo_stateDynamicsAlpha_lonBrake_min_correct 846 : 1 : = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct 847 : : constellationsElementEgo_stateDynamicsAlpha_lon.brake_min_correct 848 : 1 : = constellationsElementEgo_stateDynamicsAlpha_lonBrake_min_correct; 849 : : constellationsElementEgo_stateDynamicsAlpha_lon.brake_min_correct 850 : 1 : = constellationsElementEgo_stateDynamicsAlpha_lon.brake_min; 851 : 1 : constellationsElementEgo_stateDynamicsAlpha_lon.brake_min = constellationsElementEgo_stateDynamicsAlpha_lon.brake_max; 852 : 1 : constellationsElementEgo_stateDynamicsAlpha_lon.brake_max = constellationsElementEgo_stateDynamicsAlpha_lon.brake_min; 853 : : constellationsElementEgo_stateDynamicsAlpha_lon.brake_min 854 : 1 : = constellationsElementEgo_stateDynamicsAlpha_lon.brake_min_correct; 855 : 1 : constellationsElementEgo_stateDynamics.alpha_lon = constellationsElementEgo_stateDynamicsAlpha_lon; 856 : 1 : ::ad::rss::world::LateralRssAccelerationValues constellationsElementEgo_stateDynamicsAlpha_lat; 857 : 1 : ::ad::physics::Acceleration constellationsElementEgo_stateDynamicsAlpha_latAccel_max(1e2); 858 : 1 : constellationsElementEgo_stateDynamicsAlpha_lat.accel_max = constellationsElementEgo_stateDynamicsAlpha_latAccel_max; 859 : 1 : ::ad::physics::Acceleration constellationsElementEgo_stateDynamicsAlpha_latBrake_min(1e2); 860 : : constellationsElementEgo_stateDynamicsAlpha_latBrake_min 861 : 1 : = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct 862 : 1 : constellationsElementEgo_stateDynamicsAlpha_lat.brake_min = constellationsElementEgo_stateDynamicsAlpha_latBrake_min; 863 : 1 : constellationsElementEgo_stateDynamics.alpha_lat = constellationsElementEgo_stateDynamicsAlpha_lat; 864 : 1 : ::ad::physics::Distance constellationsElementEgo_stateDynamicsLateral_fluctuation_margin(1e9); 865 : : constellationsElementEgo_stateDynamicsLateral_fluctuation_margin 866 : 1 : = ::ad::physics::Distance(1.); // set to valid value within struct 867 : : constellationsElementEgo_stateDynamics.lateral_fluctuation_margin 868 : 1 : = constellationsElementEgo_stateDynamicsLateral_fluctuation_margin; 869 : 1 : ::ad::physics::Duration constellationsElementEgo_stateDynamicsResponse_time(1e6); 870 : 1 : constellationsElementEgo_stateDynamicsResponse_time = ::ad::physics::Duration(10.); // set to valid value within 871 : : // struct 872 : 1 : constellationsElementEgo_stateDynamics.response_time = constellationsElementEgo_stateDynamicsResponse_time; 873 : 1 : ::ad::physics::Speed constellationsElementEgo_stateDynamicsMax_speed_on_acceleration(100.); 874 : : constellationsElementEgo_stateDynamics.max_speed_on_acceleration 875 : 1 : = constellationsElementEgo_stateDynamicsMax_speed_on_acceleration; 876 : 1 : ::ad::rss::world::UnstructuredSettings constellationsElementEgo_stateDynamicsUnstructured_settings; 877 : 1 : ::ad::physics::Distance constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_turning_radius(1e9); 878 : : constellationsElementEgo_stateDynamicsUnstructured_settings.pedestrian_turning_radius 879 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_turning_radius; 880 : 1 : ::ad::physics::Angle constellationsElementEgo_stateDynamicsUnstructured_settingsDrive_away_max_angle(6.283185308); 881 : : constellationsElementEgo_stateDynamicsUnstructured_settings.drive_away_max_angle 882 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsDrive_away_max_angle; 883 : : ::ad::physics::AngularAcceleration constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change( 884 : 1 : 1e2); 885 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change 886 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change; 887 : 1 : ::ad::physics::Distance constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_min_radius(1e9); 888 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_min_radius 889 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_min_radius; 890 : : ::ad::physics::Duration 891 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(1e6); 892 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step 893 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step; 894 : : uint32_t 895 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{ 896 : : std::numeric_limits<uint32_t>::max()}; 897 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps 898 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps; 899 : : uint32_t 900 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{ 901 : : std::numeric_limits<uint32_t>::max()}; 902 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps 903 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps; 904 : 1 : uint32_t constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{ 905 : : std::numeric_limits<uint32_t>::max()}; 906 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps 907 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps; 908 : : uint32_t 909 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{ 910 : : std::numeric_limits<uint32_t>::max()}; 911 : : constellationsElementEgo_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps 912 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps; 913 : : uint32_t 914 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{ 915 : : std::numeric_limits<uint32_t>::max()}; 916 : : constellationsElementEgo_stateDynamicsUnstructured_settings 917 : : .vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps 918 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps; 919 : : uint32_t 920 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{ 921 : : std::numeric_limits<uint32_t>::max()}; 922 : : constellationsElementEgo_stateDynamicsUnstructured_settings 923 : : .pedestrian_continue_forward_intermediate_heading_change_ratio_steps 924 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps; 925 : : uint32_t 926 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{ 927 : : std::numeric_limits<uint32_t>::max()}; 928 : : constellationsElementEgo_stateDynamicsUnstructured_settings 929 : : .pedestrian_continue_forward_intermediate_acceleration_steps 930 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps; 931 : 1 : uint32_t constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{ 932 : : std::numeric_limits<uint32_t>::max()}; 933 : : constellationsElementEgo_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps 934 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps; 935 : : uint32_t 936 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{ 937 : : std::numeric_limits<uint32_t>::max()}; 938 : : constellationsElementEgo_stateDynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps 939 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps; 940 : : uint32_t 941 : 1 : constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{ 942 : : std::numeric_limits<uint32_t>::max()}; 943 : : constellationsElementEgo_stateDynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps 944 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps; 945 : : constellationsElementEgo_stateDynamics.unstructured_settings 946 : 1 : = constellationsElementEgo_stateDynamicsUnstructured_settings; 947 : 1 : ::ad::physics::Distance constellationsElementEgo_stateDynamicsMin_longitudinal_safety_distance(1e9); 948 : : constellationsElementEgo_stateDynamics.min_longitudinal_safety_distance 949 : 1 : = constellationsElementEgo_stateDynamicsMin_longitudinal_safety_distance; 950 : 1 : constellationsElementEgo_state.dynamics = constellationsElementEgo_stateDynamics; 951 : 1 : ::ad::rss::world::ObjectState constellationsElementEgo_stateUnstructured_object_state; 952 : 1 : ::ad::physics::Angle constellationsElementEgo_stateUnstructured_object_stateYaw(6.283185308); 953 : : constellationsElementEgo_stateUnstructured_object_state.yaw 954 : 1 : = constellationsElementEgo_stateUnstructured_object_stateYaw; 955 : 1 : ::ad::physics::Dimension2D constellationsElementEgo_stateUnstructured_object_stateDimension; 956 : 1 : ::ad::physics::Distance constellationsElementEgo_stateUnstructured_object_stateDimensionLength(1e9); 957 : : constellationsElementEgo_stateUnstructured_object_stateDimension.length 958 : 1 : = constellationsElementEgo_stateUnstructured_object_stateDimensionLength; 959 : 1 : ::ad::physics::Distance constellationsElementEgo_stateUnstructured_object_stateDimensionWidth(1e9); 960 : : constellationsElementEgo_stateUnstructured_object_stateDimension.width 961 : 1 : = constellationsElementEgo_stateUnstructured_object_stateDimensionWidth; 962 : : constellationsElementEgo_stateUnstructured_object_state.dimension 963 : 1 : = constellationsElementEgo_stateUnstructured_object_stateDimension; 964 : 1 : ::ad::physics::AngularVelocity constellationsElementEgo_stateUnstructured_object_stateYaw_rate(100.); 965 : : constellationsElementEgo_stateUnstructured_object_state.yaw_rate 966 : 1 : = constellationsElementEgo_stateUnstructured_object_stateYaw_rate; 967 : 1 : ::ad::physics::Distance2D constellationsElementEgo_stateUnstructured_object_stateCenter_point; 968 : 1 : ::ad::physics::Distance constellationsElementEgo_stateUnstructured_object_stateCenter_pointX(1e9); 969 : : constellationsElementEgo_stateUnstructured_object_stateCenter_point.x 970 : 1 : = constellationsElementEgo_stateUnstructured_object_stateCenter_pointX; 971 : 1 : ::ad::physics::Distance constellationsElementEgo_stateUnstructured_object_stateCenter_pointY(1e9); 972 : : constellationsElementEgo_stateUnstructured_object_stateCenter_point.y 973 : 1 : = constellationsElementEgo_stateUnstructured_object_stateCenter_pointY; 974 : : constellationsElementEgo_stateUnstructured_object_state.center_point 975 : 1 : = constellationsElementEgo_stateUnstructured_object_stateCenter_point; 976 : 1 : ::ad::physics::SpeedRange constellationsElementEgo_stateUnstructured_object_stateSpeed_range; 977 : 1 : ::ad::physics::Speed constellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMinimum(100.); 978 : : constellationsElementEgo_stateUnstructured_object_stateSpeed_range.minimum 979 : 1 : = constellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMinimum; 980 : 1 : ::ad::physics::Speed constellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMaximum(100.); 981 : : constellationsElementEgo_stateUnstructured_object_stateSpeed_range.maximum 982 : 1 : = constellationsElementEgo_stateUnstructured_object_stateSpeed_rangeMaximum; 983 : : constellationsElementEgo_stateUnstructured_object_stateSpeed_range.maximum 984 : 1 : = constellationsElementEgo_stateUnstructured_object_stateSpeed_range.minimum; 985 : : constellationsElementEgo_stateUnstructured_object_stateSpeed_range.minimum 986 : 1 : = constellationsElementEgo_stateUnstructured_object_stateSpeed_range.maximum; 987 : : constellationsElementEgo_stateUnstructured_object_state.speed_range 988 : 1 : = constellationsElementEgo_stateUnstructured_object_stateSpeed_range; 989 : 1 : ::ad::physics::Angle constellationsElementEgo_stateUnstructured_object_stateSteering_angle(6.283185308); 990 : : constellationsElementEgo_stateUnstructured_object_state.steering_angle 991 : 1 : = constellationsElementEgo_stateUnstructured_object_stateSteering_angle; 992 : 1 : constellationsElementEgo_state.unstructured_object_state = constellationsElementEgo_stateUnstructured_object_state; 993 : 1 : ::ad::rss::core::StructuredObjectState constellationsElementEgo_stateStructured_object_state; 994 : 1 : ::ad::rss::world::Velocity constellationsElementEgo_stateStructured_object_stateVelocity; 995 : 1 : ::ad::physics::Speed constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_min(100.); 996 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_min 997 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_min; 998 : 1 : ::ad::physics::Speed constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_max(100.); 999 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_max 1000 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lon_max; 1001 : 1 : ::ad::physics::Speed constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_min(100.); 1002 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_min 1003 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_min; 1004 : 1 : ::ad::physics::Speed constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_max(100.); 1005 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_max 1006 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocitySpeed_lat_max; 1007 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_max 1008 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_min; 1009 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_max 1010 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_min; 1011 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_min 1012 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocity.speed_lat_max; 1013 : : constellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_min 1014 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocity.speed_lon_max; 1015 : : constellationsElementEgo_stateStructured_object_state.velocity 1016 : 1 : = constellationsElementEgo_stateStructured_object_stateVelocity; 1017 : 1 : bool constellationsElementEgo_stateStructured_object_stateHas_priority{false}; 1018 : : constellationsElementEgo_stateStructured_object_state.has_priority 1019 : 1 : = constellationsElementEgo_stateStructured_object_stateHas_priority; 1020 : 1 : bool constellationsElementEgo_stateStructured_object_stateIs_in_correct_lane{false}; 1021 : : constellationsElementEgo_stateStructured_object_state.is_in_correct_lane 1022 : 1 : = constellationsElementEgo_stateStructured_object_stateIs_in_correct_lane; 1023 : 1 : ::ad::physics::Distance constellationsElementEgo_stateStructured_object_stateDistance_to_enter_intersection(1e9); 1024 : : constellationsElementEgo_stateStructured_object_state.distance_to_enter_intersection 1025 : 1 : = constellationsElementEgo_stateStructured_object_stateDistance_to_enter_intersection; 1026 : 1 : ::ad::physics::Distance constellationsElementEgo_stateStructured_object_stateDistance_to_leave_intersection(1e9); 1027 : : constellationsElementEgo_stateStructured_object_stateDistance_to_leave_intersection 1028 : 1 : = ::ad::physics::Distance(1e4); // set to valid value within struct 1029 : : constellationsElementEgo_stateStructured_object_state.distance_to_leave_intersection 1030 : 1 : = constellationsElementEgo_stateStructured_object_stateDistance_to_leave_intersection; 1031 : : constellationsElementEgo_stateStructured_object_state.distance_to_leave_intersection 1032 : 1 : = constellationsElementEgo_stateStructured_object_state.distance_to_enter_intersection; 1033 : : constellationsElementEgo_stateStructured_object_state.distance_to_enter_intersection 1034 : 1 : = constellationsElementEgo_stateStructured_object_state.distance_to_leave_intersection; 1035 : 1 : constellationsElementEgo_state.structured_object_state = constellationsElementEgo_stateStructured_object_state; 1036 : 1 : constellationsElement.ego_state = constellationsElementEgo_state; 1037 : 1 : ::ad::rss::core::RelativeObjectState constellationsElementOther_state; 1038 : 1 : ::ad::rss::world::ObjectType constellationsElementOther_stateObject_type(::ad::rss::world::ObjectType::OtherObject); 1039 : 1 : constellationsElementOther_state.object_type = constellationsElementOther_stateObject_type; 1040 : 1 : ::ad::rss::world::RssDynamics constellationsElementOther_stateDynamics; 1041 : 1 : ::ad::rss::world::LongitudinalRssAccelerationValues constellationsElementOther_stateDynamicsAlpha_lon; 1042 : 1 : ::ad::physics::Acceleration constellationsElementOther_stateDynamicsAlpha_lonAccel_max(1e2); 1043 : : constellationsElementOther_stateDynamicsAlpha_lon.accel_max 1044 : 1 : = constellationsElementOther_stateDynamicsAlpha_lonAccel_max; 1045 : 1 : ::ad::physics::Acceleration constellationsElementOther_stateDynamicsAlpha_lonBrake_max(1e2); 1046 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_max 1047 : 1 : = constellationsElementOther_stateDynamicsAlpha_lonBrake_max; 1048 : 1 : ::ad::physics::Acceleration constellationsElementOther_stateDynamicsAlpha_lonBrake_min(1e2); 1049 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_min 1050 : 1 : = constellationsElementOther_stateDynamicsAlpha_lonBrake_min; 1051 : 1 : ::ad::physics::Acceleration constellationsElementOther_stateDynamicsAlpha_lonBrake_min_correct(1e2); 1052 : : constellationsElementOther_stateDynamicsAlpha_lonBrake_min_correct 1053 : 1 : = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct 1054 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_min_correct 1055 : 1 : = constellationsElementOther_stateDynamicsAlpha_lonBrake_min_correct; 1056 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_min_correct 1057 : 1 : = constellationsElementOther_stateDynamicsAlpha_lon.brake_min; 1058 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_min 1059 : 1 : = constellationsElementOther_stateDynamicsAlpha_lon.brake_max; 1060 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_max 1061 : 1 : = constellationsElementOther_stateDynamicsAlpha_lon.brake_min; 1062 : : constellationsElementOther_stateDynamicsAlpha_lon.brake_min 1063 : 1 : = constellationsElementOther_stateDynamicsAlpha_lon.brake_min_correct; 1064 : 1 : constellationsElementOther_stateDynamics.alpha_lon = constellationsElementOther_stateDynamicsAlpha_lon; 1065 : 1 : ::ad::rss::world::LateralRssAccelerationValues constellationsElementOther_stateDynamicsAlpha_lat; 1066 : 1 : ::ad::physics::Acceleration constellationsElementOther_stateDynamicsAlpha_latAccel_max(1e2); 1067 : : constellationsElementOther_stateDynamicsAlpha_lat.accel_max 1068 : 1 : = constellationsElementOther_stateDynamicsAlpha_latAccel_max; 1069 : 1 : ::ad::physics::Acceleration constellationsElementOther_stateDynamicsAlpha_latBrake_min(1e2); 1070 : : constellationsElementOther_stateDynamicsAlpha_latBrake_min 1071 : 1 : = ::ad::physics::Acceleration(0. * 0.9); // set to valid value within struct 1072 : : constellationsElementOther_stateDynamicsAlpha_lat.brake_min 1073 : 1 : = constellationsElementOther_stateDynamicsAlpha_latBrake_min; 1074 : 1 : constellationsElementOther_stateDynamics.alpha_lat = constellationsElementOther_stateDynamicsAlpha_lat; 1075 : 1 : ::ad::physics::Distance constellationsElementOther_stateDynamicsLateral_fluctuation_margin(1e9); 1076 : : constellationsElementOther_stateDynamicsLateral_fluctuation_margin 1077 : 1 : = ::ad::physics::Distance(1.); // set to valid value within struct 1078 : : constellationsElementOther_stateDynamics.lateral_fluctuation_margin 1079 : 1 : = constellationsElementOther_stateDynamicsLateral_fluctuation_margin; 1080 : 1 : ::ad::physics::Duration constellationsElementOther_stateDynamicsResponse_time(1e6); 1081 : : constellationsElementOther_stateDynamicsResponse_time 1082 : 1 : = ::ad::physics::Duration(10.); // set to valid value within struct 1083 : 1 : constellationsElementOther_stateDynamics.response_time = constellationsElementOther_stateDynamicsResponse_time; 1084 : 1 : ::ad::physics::Speed constellationsElementOther_stateDynamicsMax_speed_on_acceleration(100.); 1085 : : constellationsElementOther_stateDynamics.max_speed_on_acceleration 1086 : 1 : = constellationsElementOther_stateDynamicsMax_speed_on_acceleration; 1087 : 1 : ::ad::rss::world::UnstructuredSettings constellationsElementOther_stateDynamicsUnstructured_settings; 1088 : 1 : ::ad::physics::Distance constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_turning_radius(1e9); 1089 : : constellationsElementOther_stateDynamicsUnstructured_settings.pedestrian_turning_radius 1090 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_turning_radius; 1091 : 1 : ::ad::physics::Angle constellationsElementOther_stateDynamicsUnstructured_settingsDrive_away_max_angle(6.283185308); 1092 : : constellationsElementOther_stateDynamicsUnstructured_settings.drive_away_max_angle 1093 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsDrive_away_max_angle; 1094 : : ::ad::physics::AngularAcceleration 1095 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change(1e2); 1096 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_yaw_rate_change 1097 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_yaw_rate_change; 1098 : 1 : ::ad::physics::Distance constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_min_radius(1e9); 1099 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_min_radius 1100 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_min_radius; 1101 : : ::ad::physics::Duration 1102 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step(1e6); 1103 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_trajectory_calculation_step 1104 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_trajectory_calculation_step; 1105 : : uint32_t 1106 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps{ 1107 : : std::numeric_limits<uint32_t>::max()}; 1108 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_front_intermediate_yaw_rate_change_ratio_steps 1109 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_front_intermediate_yaw_rate_change_ratio_steps; 1110 : : uint32_t 1111 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps{ 1112 : : std::numeric_limits<uint32_t>::max()}; 1113 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_back_intermediate_yaw_rate_change_ratio_steps 1114 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_back_intermediate_yaw_rate_change_ratio_steps; 1115 : 1 : uint32_t constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps{ 1116 : : std::numeric_limits<uint32_t>::max()}; 1117 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_brake_intermediate_acceleration_steps 1118 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_brake_intermediate_acceleration_steps; 1119 : : uint32_t 1120 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps{ 1121 : : std::numeric_limits<uint32_t>::max()}; 1122 : : constellationsElementOther_stateDynamicsUnstructured_settings.vehicle_continue_forward_intermediate_acceleration_steps 1123 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_acceleration_steps; 1124 : : uint32_t 1125 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps{ 1126 : : std::numeric_limits<uint32_t>::max()}; 1127 : : constellationsElementOther_stateDynamicsUnstructured_settings 1128 : : .vehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps 1129 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsVehicle_continue_forward_intermediate_yaw_rate_change_ratio_steps; 1130 : : uint32_t 1131 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps{ 1132 : : std::numeric_limits<uint32_t>::max()}; 1133 : : constellationsElementOther_stateDynamicsUnstructured_settings 1134 : : .pedestrian_continue_forward_intermediate_heading_change_ratio_steps 1135 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_heading_change_ratio_steps; 1136 : : uint32_t 1137 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps{ 1138 : : std::numeric_limits<uint32_t>::max()}; 1139 : : constellationsElementOther_stateDynamicsUnstructured_settings 1140 : : .pedestrian_continue_forward_intermediate_acceleration_steps 1141 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_continue_forward_intermediate_acceleration_steps; 1142 : : uint32_t 1143 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps{ 1144 : : std::numeric_limits<uint32_t>::max()}; 1145 : : constellationsElementOther_stateDynamicsUnstructured_settings.pedestrian_brake_intermediate_acceleration_steps 1146 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_brake_intermediate_acceleration_steps; 1147 : : uint32_t 1148 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps{ 1149 : : std::numeric_limits<uint32_t>::max()}; 1150 : : constellationsElementOther_stateDynamicsUnstructured_settings.pedestrian_front_intermediate_heading_change_ratio_steps 1151 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_front_intermediate_heading_change_ratio_steps; 1152 : : uint32_t 1153 : 1 : constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps{ 1154 : : std::numeric_limits<uint32_t>::max()}; 1155 : : constellationsElementOther_stateDynamicsUnstructured_settings.pedestrian_back_intermediate_heading_change_ratio_steps 1156 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settingsPedestrian_back_intermediate_heading_change_ratio_steps; 1157 : : constellationsElementOther_stateDynamics.unstructured_settings 1158 : 1 : = constellationsElementOther_stateDynamicsUnstructured_settings; 1159 : 1 : ::ad::physics::Distance constellationsElementOther_stateDynamicsMin_longitudinal_safety_distance(1e9); 1160 : : constellationsElementOther_stateDynamics.min_longitudinal_safety_distance 1161 : 1 : = constellationsElementOther_stateDynamicsMin_longitudinal_safety_distance; 1162 : 1 : constellationsElementOther_state.dynamics = constellationsElementOther_stateDynamics; 1163 : 1 : ::ad::rss::world::ObjectState constellationsElementOther_stateUnstructured_object_state; 1164 : 1 : ::ad::physics::Angle constellationsElementOther_stateUnstructured_object_stateYaw(6.283185308); 1165 : : constellationsElementOther_stateUnstructured_object_state.yaw 1166 : 1 : = constellationsElementOther_stateUnstructured_object_stateYaw; 1167 : 1 : ::ad::physics::Dimension2D constellationsElementOther_stateUnstructured_object_stateDimension; 1168 : 1 : ::ad::physics::Distance constellationsElementOther_stateUnstructured_object_stateDimensionLength(1e9); 1169 : : constellationsElementOther_stateUnstructured_object_stateDimension.length 1170 : 1 : = constellationsElementOther_stateUnstructured_object_stateDimensionLength; 1171 : 1 : ::ad::physics::Distance constellationsElementOther_stateUnstructured_object_stateDimensionWidth(1e9); 1172 : : constellationsElementOther_stateUnstructured_object_stateDimension.width 1173 : 1 : = constellationsElementOther_stateUnstructured_object_stateDimensionWidth; 1174 : : constellationsElementOther_stateUnstructured_object_state.dimension 1175 : 1 : = constellationsElementOther_stateUnstructured_object_stateDimension; 1176 : 1 : ::ad::physics::AngularVelocity constellationsElementOther_stateUnstructured_object_stateYaw_rate(100.); 1177 : : constellationsElementOther_stateUnstructured_object_state.yaw_rate 1178 : 1 : = constellationsElementOther_stateUnstructured_object_stateYaw_rate; 1179 : 1 : ::ad::physics::Distance2D constellationsElementOther_stateUnstructured_object_stateCenter_point; 1180 : 1 : ::ad::physics::Distance constellationsElementOther_stateUnstructured_object_stateCenter_pointX(1e9); 1181 : : constellationsElementOther_stateUnstructured_object_stateCenter_point.x 1182 : 1 : = constellationsElementOther_stateUnstructured_object_stateCenter_pointX; 1183 : 1 : ::ad::physics::Distance constellationsElementOther_stateUnstructured_object_stateCenter_pointY(1e9); 1184 : : constellationsElementOther_stateUnstructured_object_stateCenter_point.y 1185 : 1 : = constellationsElementOther_stateUnstructured_object_stateCenter_pointY; 1186 : : constellationsElementOther_stateUnstructured_object_state.center_point 1187 : 1 : = constellationsElementOther_stateUnstructured_object_stateCenter_point; 1188 : 1 : ::ad::physics::SpeedRange constellationsElementOther_stateUnstructured_object_stateSpeed_range; 1189 : 1 : ::ad::physics::Speed constellationsElementOther_stateUnstructured_object_stateSpeed_rangeMinimum(100.); 1190 : : constellationsElementOther_stateUnstructured_object_stateSpeed_range.minimum 1191 : 1 : = constellationsElementOther_stateUnstructured_object_stateSpeed_rangeMinimum; 1192 : 1 : ::ad::physics::Speed constellationsElementOther_stateUnstructured_object_stateSpeed_rangeMaximum(100.); 1193 : : constellationsElementOther_stateUnstructured_object_stateSpeed_range.maximum 1194 : 1 : = constellationsElementOther_stateUnstructured_object_stateSpeed_rangeMaximum; 1195 : : constellationsElementOther_stateUnstructured_object_stateSpeed_range.maximum 1196 : 1 : = constellationsElementOther_stateUnstructured_object_stateSpeed_range.minimum; 1197 : : constellationsElementOther_stateUnstructured_object_stateSpeed_range.minimum 1198 : 1 : = constellationsElementOther_stateUnstructured_object_stateSpeed_range.maximum; 1199 : : constellationsElementOther_stateUnstructured_object_state.speed_range 1200 : 1 : = constellationsElementOther_stateUnstructured_object_stateSpeed_range; 1201 : 1 : ::ad::physics::Angle constellationsElementOther_stateUnstructured_object_stateSteering_angle(6.283185308); 1202 : : constellationsElementOther_stateUnstructured_object_state.steering_angle 1203 : 1 : = constellationsElementOther_stateUnstructured_object_stateSteering_angle; 1204 : : constellationsElementOther_state.unstructured_object_state 1205 : 1 : = constellationsElementOther_stateUnstructured_object_state; 1206 : 1 : ::ad::rss::core::StructuredObjectState constellationsElementOther_stateStructured_object_state; 1207 : 1 : ::ad::rss::world::Velocity constellationsElementOther_stateStructured_object_stateVelocity; 1208 : 1 : ::ad::physics::Speed constellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_min(100.); 1209 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lon_min 1210 : 1 : = constellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_min; 1211 : 1 : ::ad::physics::Speed constellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_max(100.); 1212 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lon_max 1213 : 1 : = constellationsElementOther_stateStructured_object_stateVelocitySpeed_lon_max; 1214 : 1 : ::ad::physics::Speed constellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_min(100.); 1215 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lat_min 1216 : 1 : = constellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_min; 1217 : 1 : ::ad::physics::Speed constellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_max(100.); 1218 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lat_max 1219 : 1 : = constellationsElementOther_stateStructured_object_stateVelocitySpeed_lat_max; 1220 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lat_max 1221 : 1 : = constellationsElementOther_stateStructured_object_stateVelocity.speed_lat_min; 1222 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lon_max 1223 : 1 : = constellationsElementOther_stateStructured_object_stateVelocity.speed_lon_min; 1224 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lat_min 1225 : 1 : = constellationsElementOther_stateStructured_object_stateVelocity.speed_lat_max; 1226 : : constellationsElementOther_stateStructured_object_stateVelocity.speed_lon_min 1227 : 1 : = constellationsElementOther_stateStructured_object_stateVelocity.speed_lon_max; 1228 : : constellationsElementOther_stateStructured_object_state.velocity 1229 : 1 : = constellationsElementOther_stateStructured_object_stateVelocity; 1230 : 1 : bool constellationsElementOther_stateStructured_object_stateHas_priority{false}; 1231 : : constellationsElementOther_stateStructured_object_state.has_priority 1232 : 1 : = constellationsElementOther_stateStructured_object_stateHas_priority; 1233 : 1 : bool constellationsElementOther_stateStructured_object_stateIs_in_correct_lane{false}; 1234 : : constellationsElementOther_stateStructured_object_state.is_in_correct_lane 1235 : 1 : = constellationsElementOther_stateStructured_object_stateIs_in_correct_lane; 1236 : 1 : ::ad::physics::Distance constellationsElementOther_stateStructured_object_stateDistance_to_enter_intersection(1e9); 1237 : : constellationsElementOther_stateStructured_object_state.distance_to_enter_intersection 1238 : 1 : = constellationsElementOther_stateStructured_object_stateDistance_to_enter_intersection; 1239 : 1 : ::ad::physics::Distance constellationsElementOther_stateStructured_object_stateDistance_to_leave_intersection(1e9); 1240 : : constellationsElementOther_stateStructured_object_stateDistance_to_leave_intersection 1241 : 1 : = ::ad::physics::Distance(1e4); // set to valid value within struct 1242 : : constellationsElementOther_stateStructured_object_state.distance_to_leave_intersection 1243 : 1 : = constellationsElementOther_stateStructured_object_stateDistance_to_leave_intersection; 1244 : : constellationsElementOther_stateStructured_object_state.distance_to_leave_intersection 1245 : 1 : = constellationsElementOther_stateStructured_object_state.distance_to_enter_intersection; 1246 : : constellationsElementOther_stateStructured_object_state.distance_to_enter_intersection 1247 : 1 : = constellationsElementOther_stateStructured_object_state.distance_to_leave_intersection; 1248 : 1 : constellationsElementOther_state.structured_object_state = constellationsElementOther_stateStructured_object_state; 1249 : 1 : constellationsElement.other_state = constellationsElementOther_state; 1250 : 1 : ::ad::rss::core::RelativePosition constellationsElementRelative_position; 1251 : 1 : ::ad::rss::core::LongitudinalRelativePosition constellationsElementRelative_positionLongitudinal_position( 1252 : : ::ad::rss::core::LongitudinalRelativePosition::AtBack); 1253 : : constellationsElementRelative_position.longitudinal_position 1254 : 1 : = constellationsElementRelative_positionLongitudinal_position; 1255 : 1 : ::ad::physics::Distance constellationsElementRelative_positionLongitudinal_distance(1e9); 1256 : : constellationsElementRelative_position.longitudinal_distance 1257 : 1 : = constellationsElementRelative_positionLongitudinal_distance; 1258 : 1 : ::ad::rss::core::LateralRelativePosition constellationsElementRelative_positionLateral_position( 1259 : : ::ad::rss::core::LateralRelativePosition::AtRight); 1260 : 1 : constellationsElementRelative_position.lateral_position = constellationsElementRelative_positionLateral_position; 1261 : 1 : ::ad::physics::Distance constellationsElementRelative_positionLateral_distance(1e9); 1262 : 1 : constellationsElementRelative_position.lateral_distance = constellationsElementRelative_positionLateral_distance; 1263 : 1 : constellationsElement.relative_position = constellationsElementRelative_position; 1264 : 1 : ::ad::rss::world::WorldModelIndexVector constellationsElementWorld_model_indices; 1265 : 1 : ::ad::rss::world::WorldModelIndex constellationsElementWorld_model_indicesElement( 1266 : : std::numeric_limits<::ad::rss::world::WorldModelIndex>::max()); 1267 [ + - ]: 1 : constellationsElementWorld_model_indices.resize(2, constellationsElementWorld_model_indicesElement); 1268 [ + - ]: 1 : constellationsElement.world_model_indices = constellationsElementWorld_model_indices; 1269 [ + - ]: 1 : constellations.resize(0 + 1, constellationsElement); 1270 [ + - ]: 1 : valueA.constellations = constellations; 1271 [ + - ]: 1 : ::ad::rss::core::RssSituationSnapshot valueB = mValue; 1272 : : 1273 [ + - - + : 1 : EXPECT_FALSE(valueA == valueB); - - - - - - - - ] 1274 [ + - - + : 1 : EXPECT_TRUE(valueA != valueB); - - - - - - - - ] 1275 : 1 : } 1276 : : 1277 : : #if defined(__clang__) && (__clang_major__ >= 7) 1278 : : #pragma GCC diagnostic pop 1279 : : #endif