textual-notation-of-model/packages/features/driving/driver_assistance_needs_requirements.sysml
3 view(s) · 106 declared member(s) Jump to source ↓
view driverAssistanceNeedsViewsource ↓
| Viewpoint | selected (Stakeholder |
|---|---|
| View type | TVD:: |
| Framed concerns |
|
| Exposes | needneedneedneed |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view driverAssistanceNeedValidationViewsource ↓
| Viewpoint | selected (Stakeholder |
|---|---|
| View type | TVD:: |
| Framed concerns |
|
| Exposes | vehiclenodrivercandidate |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view driverAssistanceRequirementsViewsource ↓
| Viewpoint | selected (System |
|---|---|
| View type | TVD:: |
| Framed concerns |
|
| Exposes | reqreqreqreqreqreqreqreqreq |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV driver-assistance stakeholder needs and requirements.3 *4 * INC-DRIVING-002, phase 4: the stakeholder needs of the candidate5 * driver-assistance system, the system of interest the charter declares. Each6 * need is held by the parties it serves and leads its source with the phase 17 * concern it derives from. Each has one planned stakeholder review on the8 * scenarios of phase 2 it covers, carried out by the roles that check the9 * answer. Three concerns are reviewer questions: a need's source names them10 * and its review checks them.11 *12 * Phase 5: the requirements derived from these needs, each with one subject,13 * the candidate driver-assistance system, one verification method and its14 * success criteria. The criteria for a vehicle target are derived from the15 * source regulation SRC-UNECE-R152 and from the product line's requirements16 * REQ-AEBS-002, REQ-AEBS-003, REQ-AEBS-008 and REQ-AEBS-012; the rationale of17 * each names whose obligation it is and what a simulation cannot show of it.18 * The other limits are set here and justified in their rationales. The terms19 * quantify when a collision is imminent; the comment on20 * gapVehicleTargetCriteria gives the reasons for the values. The rationales21 * name the files of VisionPilot at 014e0e7a by their file names; upstream.md22 * gives each with its path. The requirements are not core: the23 * driver-assistance system enters a member product only with the driving24 * stack that phase 3 records as the feature candidate25 * visionPilotDrivingStack, and phase 9 adds that feature to the feature model26 * and links the system of interest to it.27 *28 * On 2026-11-18 the owner amended the terms: the further run of SC-DRIVING-01229 * in which the Eclipse S-CORE path of the driver-assistance system is stopped30 * is no run of a setting and no judged run, and only the stop clauses of31 * REQ-DRIVING-038 and REQ-DRIVING-043 read it: the stop-run decision of32 * 2026-11-18.33 *34 * On 2026-11-21 the verification status of each requirement was set from the35 * judged session S1 of phase 10. It records the process of the verification,36 * never its verdict: VVStatus::Completed for REQ-DRIVING-036, REQ-DRIVING-037,37 * REQ-DRIVING-039 and REQ-DRIVING-042, and VVStatus::CompletedUnsuccessful for38 * REQ-DRIVING-038, REQ-DRIVING-040, REQ-DRIVING-041, REQ-DRIVING-043 and39 * REQ-DRIVING-044. The outcome and the verdict of each case are in its doc in40 * phase 10: the status decision of 2026-11-21.41 *42 * No safety, on-road or production-readiness claim is made, and no member43 * product is claimed.44 */4546package DE4SDV_DriverAssistanceNeedsRequirements {47 private import DE4SDV_MethodContext::*;48 private import DE4SDV_TraceVocabulary::*;49 private import DE4SDV_Stakeholders::*;50 private import SAF_Viewpoints::*;51 private import SysideViews::**;52 private import Views::*;5354 /* ───────────────────── Phase 4: stakeholder needs ───────────────────── */5556 requirement <'NEED-DRIVING-008'> needWarnAndBrakeForVehicleAhead : StakeholderNeedCandidate {57 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;58 stakeholder occupant : VehicleOccupant;59 stakeholder roadUser : RoadUser;60 require constraint statement { language "English" /* Vehicle occupants and road users need the driver-assistance system to request the collision warning and to command the braking of the vehicle when a collision with a stationary or a slower moving vehicle ahead in its lane is imminent. */ }61 attribute :>> source = "INC-DRIVING-002 vehicleTargetResponseConcern, emergencyBrakingIndependenceConcern, scoreCommandAndWarningPathConcern, vehicleTargetCriteriaConcern, scope items vehicleTargetResponseInScope, scoreCommandPathInScope and vehicleTargetCriteriaInScope, gaps gapNoSeparateEmergencyFunction, gapScoreIntegration, gapVehicleTargetCriteria and gapCameraImageAndGeometry, assumption asmBenchReuse, scenarios SC-DRIVING-012 and SC-DRIVING-013";62 attribute :>> rationale = "The warning lets the driver act, and the braking is meant to avoid or lessen the collision when the driver does not act in time. The need states what they expect, not how well the candidate meets it, and carries no safety claim. Phase 5 derives the criteria for a vehicle target and their limits (gapVehicleTargetCriteria). Phase 5 also derives from this need the requirements on the Eclipse S-CORE path of the warning request and the braking command, and on the independence of that command: its source names their concerns, and SC-DRIVING-016 asks their questions.";63 }6465 requirement <'NEED-DRIVING-009'> needNoReactionWithoutImminentCollision : StakeholderNeedCandidate {66 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;67 stakeholder occupant : VehicleOccupant;68 stakeholder roadUser : RoadUser;69 require constraint statement { language "English" /* Vehicle occupants and road users need the driver-assistance system to request no collision warning and to command no emergency braking when no collision with a vehicle ahead is imminent, as when a stationary vehicle stands beyond a curve or a vehicle ahead turns off. */ }70 attribute :>> source = "INC-DRIVING-002 vehicleTargetResponseConcern, vehicleTargetCriteriaConcern, scope item noReactionInScope, gap gapVehicleTargetCriteria, scenarios SC-DRIVING-014 and SC-DRIVING-015";71 attribute :>> rationale = "An emergency braking with no collision imminent puts the traffic behind the vehicle at risk, and a needless warning teaches the driver to ignore the next one. Phase 5 confirms the two scenarios and states their criterion (gapVehicleTargetCriteria).";72 }7374 requirement <'NEED-DRIVING-010'> needWarningRequestForTheDriver : StakeholderNeedCandidate {75 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;76 stakeholder occupant : VehicleOccupant;77 require constraint statement { language "English" /* Vehicle occupants need the driver-assistance system to give a warning request at its boundary when a collision with a vehicle ahead in its lane is imminent, so that the AAOS SDV warns the driver on its display and as a sound. */ }78 attribute :>> source = "INC-DRIVING-002 driverWarningSequenceConcern, scope item driverWarningInScope, gap gapWarningOutput, scenarios SC-DRIVING-012 and SC-DRIVING-013";79 attribute :>> rationale = "The driver can act on a warning only if it reaches the display and the sound of the AAOS SDV. NEED-DRIVING-008 needs the candidate to request the warning; this need adds that the request leaves the candidate at its boundary, where the AAOS SDV takes it. At the inspected revision the application has no warning output at its boundary; its warnings go to its own visualization and data log (gapWarningOutput). Phase 5 states when each mode is due relative to the warning request and to the start of the emergency braking. Whether a driver perceives the warning is out of scope.";80 }8182 requirement <'NEED-DRIVING-011'> needRunsIdentifyTheCandidate : StakeholderNeedCandidate {83 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;84 stakeholder verificationEngineer : VerificationEngineer;85 stakeholder productLineEngineer : ProductLineEngineer;86 require constraint statement { language "English" /* Verification engineers and product-line engineers need each run of the driver-assistance system to identify the candidate revision and the configuration it ran with, so that each verdict is bound to what ran. */ }87 attribute :>> source = "INC-DRIVING-002 candidateVerdictConcern, scope item verdictEvidenceInScope, gap gapCandidateBehaviorUnverified, scenarios SC-DRIVING-012 to SC-DRIVING-015";88 attribute :>> rationale = "The lifecycle decision rests on a verdict for each requirement and scenario, and a verdict holds only for the candidate that ran. A build with a change that upstream has not merged is a different candidate. The candidate's configuration includes its run-time settings, such as its source mode. The scenario and the simulated configuration belong to System 2 and are pinned there, so this need covers only what the candidate itself runs.";89 }9091 /* ───────────────── Phase 4: planned stakeholder reviews ───────────────── */9293 part <'SC-DRIVING-016'> vehicleAheadResponseValidationPlan : ValidationPlanningScenario {94 doc /* For NEED-DRIVING-008, a planned stakeholder review. While the95 * stationary and the slower moving vehicle target scenarios run96 * (SC-DRIVING-012 and SC-DRIVING-013), can verification engineers and97 * compliance engineers confirm, by the criteria for a vehicle target98 * that phase 5 derives, that the candidate requests the warning and99 * that its driving command brakes the vehicle, and that no autopilot,100 * replay or overlay acts instead of the candidate? Can they trace each101 * of those criteria to the provision of UNECE R152 it is derived from,102 * to the product-line requirement it judges and whose obligation it103 * is, and name what the runs cannot show of it? Can systems engineers104 * and product-line engineers confirm that every driving command passed105 * through Eclipse S-CORE to the actuation and every warning request106 * through S-CORE to the AAOS SDV, and that no other exchange carried107 * them? And can safety experts and product-line engineers tell which108 * element of the candidate gave the braking command, whether it left109 * the candidate in the driving command or apart from it, and whether110 * that command keeps the independence of the protected emergency111 * command path? */112 }113 connection vehicleAheadResponseValidationPlanning : ValidationPlanningAssociation114 connect needWarnAndBrakeForVehicleAhead to vehicleAheadResponseValidationPlan;115 dependency vehicleAheadResponseValidationFromStationaryTargetScenario116 from vehicleAheadResponseValidationPlan117 to DE4SDV_DriverAssistanceOperationalContext::warnAndBrakeForStationaryVehicle;118 dependency vehicleAheadResponseValidationFromSlowerTargetScenario119 from vehicleAheadResponseValidationPlan120 to DE4SDV_DriverAssistanceOperationalContext::warnAndBrakeForSlowerVehicle;121122 part <'SC-DRIVING-017'> noReactionValidationPlan : ValidationPlanningScenario {123 doc /* For NEED-DRIVING-009, a planned stakeholder review. While the124 * vehicle drives through the curve past the stationary vehicle beyond125 * the guard pipes (SC-DRIVING-014), and while it follows the vehicle126 * ahead that turns off (SC-DRIVING-015), can verification engineers127 * and compliance engineers confirm, by the criterion that phase 5128 * states for each scenario, that the candidate requests no warning and129 * commands no emergency braking, and that the candidate's own driving130 * command moved the vehicle throughout each run? */131 }132 connection noReactionValidationPlanning : ValidationPlanningAssociation133 connect needNoReactionWithoutImminentCollision to noReactionValidationPlan;134 dependency noReactionValidationFromCurveScenario135 from noReactionValidationPlan136 to DE4SDV_DriverAssistanceOperationalContext::noReactionToStationaryVehicleBeyondTheCurve;137 dependency noReactionValidationFromTurningOffScenario138 from noReactionValidationPlan139 to DE4SDV_DriverAssistanceOperationalContext::noReactionToVehicleAheadTurningOff;140141 part <'SC-DRIVING-018'> driverWarningValidationPlan : ValidationPlanningScenario {142 doc /* For NEED-DRIVING-010, a planned stakeholder review. While the143 * stationary and the slower moving vehicle target scenarios run144 * (SC-DRIVING-012 and SC-DRIVING-013), can safety experts and145 * verification engineers confirm that the AAOS SDV gave each warning146 * that the candidate requested on its display and as a sound, and when147 * each mode began relative to the warning request and to the start of148 * the emergency braking, with no recording or overlay in place of149 * either mode? */150 }151 connection driverWarningValidationPlanning : ValidationPlanningAssociation152 connect needWarningRequestForTheDriver to driverWarningValidationPlan;153 dependency driverWarningValidationFromStationaryTargetScenario154 from driverWarningValidationPlan155 to DE4SDV_DriverAssistanceOperationalContext::warnAndBrakeForStationaryVehicle;156 dependency driverWarningValidationFromSlowerTargetScenario157 from driverWarningValidationPlan158 to DE4SDV_DriverAssistanceOperationalContext::warnAndBrakeForSlowerVehicle;159160 part <'SC-DRIVING-019'> candidateIdentityValidationPlan : ValidationPlanningScenario {161 doc /* For NEED-DRIVING-011, a planned stakeholder review. After each run162 * of the four scenarios (SC-DRIVING-012, SC-DRIVING-013,163 * SC-DRIVING-014 and SC-DRIVING-015), can verification engineers and164 * product-line engineers bind its verdict to the candidate revision165 * and the configuration that the run identifies, and confirm that a166 * build with a change that upstream has not merged identifies itself167 * as a different candidate? */168 }169 connection candidateIdentityValidationPlanning : ValidationPlanningAssociation170 connect needRunsIdentifyTheCandidate to candidateIdentityValidationPlan;171 dependency candidateIdentityValidationFromStationaryTargetScenario172 from candidateIdentityValidationPlan173 to DE4SDV_DriverAssistanceOperationalContext::warnAndBrakeForStationaryVehicle;174 dependency candidateIdentityValidationFromSlowerTargetScenario175 from candidateIdentityValidationPlan176 to DE4SDV_DriverAssistanceOperationalContext::warnAndBrakeForSlowerVehicle;177 dependency candidateIdentityValidationFromCurveScenario178 from candidateIdentityValidationPlan179 to DE4SDV_DriverAssistanceOperationalContext::noReactionToStationaryVehicleBeyondTheCurve;180 dependency candidateIdentityValidationFromTurningOffScenario181 from candidateIdentityValidationPlan182 to DE4SDV_DriverAssistanceOperationalContext::noReactionToVehicleAheadTurningOff;183184 /* ───────────────────── Phase 5: requirements ───────────────────── */185186 comment termsOfTheDriverAssistanceRequirements187 /*188 * Terms of the requirements of the driver-assistance system below, which189 * the needs above use in the same sense.190 * - Vehicle: the vehicle that the driver-assistance system drives.191 * - Vehicle ahead: a vehicle ahead of the vehicle in its lane.192 * - Target: the vehicle ahead in a run of SC-DRIVING-012 or193 * SC-DRIVING-013.194 * - Run: one execution of the driver-assistance system on one scenario,195 * from its start to its end.196 * - Setting: a scenario with an approach speed and its tolerance. The197 * settings are SC-DRIVING-012 at 20 km/h (20 to 22 km/h), at 42 km/h198 * (40 to 42 km/h) and at 60 km/h (58 to 60 km/h); SC-DRIVING-013 at 30199 * km/h (30 to 32 km/h) and at 60 km/h (58 to 60 km/h), behind a target200 * at 20 km/h (18 to 20 km/h); SC-DRIVING-014 at 30 km/h (28 to 30201 * km/h), toward a curve of at most 25 m radius; and SC-DRIVING-015 at202 * 40 km/h (38 to 40 km/h), behind the vehicle ahead at the same speed.203 * Each setting is run twice, and both runs count.204 * - Functional part: the part of a run of SC-DRIVING-012 or205 * SC-DRIVING-013 from the latest instant at which the vehicle travels206 * at its approach speed within the tolerance with a time to collision207 * of at least 4 s, until the vehicle hits the target or comes to the208 * speed of the target.209 * - Judged run: a run of SC-DRIVING-012 or SC-DRIVING-013 in which the210 * vehicle travels straight, with its centre line within 0.2 m of that211 * of the target, for at least 2 s before its functional part. A run212 * that misses this, or has no functional part, is reported with what it213 * missed and is not judged. A setting of SC-DRIVING-012 or214 * SC-DRIVING-013 is judged when both of its runs are judged runs. The215 * further run of SC-DRIVING-012 in which the Eclipse S-CORE path of216 * the driver-assistance system is stopped, which REQ-DRIVING-038 and217 * REQ-DRIVING-043 name, is no run of a setting and no judged run, and218 * only the stop clauses of those two requirements read it (the stop-run219 * decision of 2026-11-18).220 * - Time to collision: the distance from the vehicle to the vehicle ahead221 * in the direction of travel, divided by the speed at which the vehicle222 * closes on it. It has no value while the vehicle does not close on the223 * vehicle ahead.224 * - Needed deceleration: the constant deceleration at which the vehicle,225 * from its present speed, would come to the speed of the vehicle ahead226 * just as it reaches it, the vehicle ahead keeping its present speed:227 * the square of the speed at which the vehicle closes on it, divided by228 * twice the distance from the vehicle to it in the direction of travel.229 * - Imminent collision: a collision with a vehicle ahead to which the230 * vehicle has a time to collision of at most 4.0 s and a needed231 * deceleration of at least 1.0 m/s². The source regulation gives the232 * word no value; the comment on gapVehicleTargetCriteria below gives233 * the reasons for these two.234 * - Driving command: the steering and acceleration command that the235 * driver-assistance system gives the actuation of the vehicle.236 * - Actuation: the interface at which the vehicle takes the driving237 * commands.238 * - Boundary: the interface at which the outputs of the driver-assistance239 * system leave it for the Eclipse S-CORE path.240 * - Warning request: the output by which the driver-assistance system241 * asks the AAOS SDV to give the driver the collision warning. It starts242 * when the output begins to ask.243 * - Emergency braking: a command of the driver-assistance system for a244 * deceleration of at least 5.0 m/s², in its driving command or apart245 * from it. It starts with the first such command after a command for246 * less. The source regulation calls any braking demand of the system an247 * emergency braking; the requirements take its demand value of 5.0 m/s²248 * as the bound, because the candidate brakes for its speed control with249 * the same planner (gapNoSeparateEmergencyFunction).250 * - Eclipse S-CORE path: the part of System 1 outside the251 * driver-assistance system that carries its driving command to the252 * actuation and its warning request to the AAOS SDV. A failure of the253 * path is a loss, a delay, a repetition or a corruption of a message on254 * it.255 * - Communication record: the record that System 2 keeps of each message256 * on the Eclipse S-CORE path, with its simulation time.257 * - Configuration: every setting that the driver-assistance system reads258 * at its start, from its files and its launch.259 * - Network file: a file of trained weights or of the structure of a260 * network that the driver-assistance system loads.261 * - Upstream revision: the commit of the upstream repository from which262 * the source of the driver-assistance system is built.263 * - Candidate identity: the upstream revision, the difference between the264 * source of the driver-assistance system and that revision, the SHA-256265 * of each network file it loads, the SHA-256 of each file of its266 * configuration and the settings of its launch, verbatim.267 * - Relative approach speed: the speed at which the vehicle closes on the268 * vehicle ahead when the collision becomes imminent.269 * - Relative impact speed: the speed at which the vehicle closes on the270 * vehicle ahead when they touch; 0 km/h when they do not touch.271 * - Maximum relative impact speed: the limit of the source regulation for272 * a car in running order, by relative approach speed: 0 km/h up to 42273 * km/h, 15 km/h at 45 km/h, 25 km/h at 50 km/h, 30 km/h at 55 km/h and274 * 35 km/h at 60 km/h. Between two of these speeds, the limit of the275 * higher one applies.276 * - Simulation time: the time of the simulated world. Wall-clock time:277 * the time of the host.278 */279280 requirement <'REQ-DRIVING-036'> reqEmergencyBrakingForImminentCollision : FunctionalRequirementCandidate {281 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;282 require constraint statement { language "English" /* While the needed deceleration to a vehicle ahead is at least 5.0 m/s², the driver-assistance system shall command a deceleration of at least 5.0 m/s². */ }283 attribute :>> source = "NEED-DRIVING-008; SRC-UNECE-R152 emergency braking; REQ-AEBS-003; gap gapVehicleTargetCriteria; scenarios SC-DRIVING-012 and SC-DRIVING-013";284 attribute :>> rationale = "Derived from the emergency braking of the car to car scenario of the source regulation (SRC-UNECE-R152), which asks for a braking demand of at least 5.0 m/s² once the system has detected the possibility of an imminent collision, and from REQ-AEBS-003. The requirement states that condition in the world of the vehicle, by the needed deceleration, rather than as a detection by the system: once avoiding a vehicle ahead needs 5.0 m/s², a smaller command no longer avoids it. Up to a closing speed of 144 km/h a needed deceleration of 5.0 m/s² comes with a time to collision of at most 4.0 s, so that the collision is then imminent and REQ-DRIVING-041 lets the braking start; the settings close at 60 km/h at most. The obligation is the candidate's: the demand is in its command. At 014e0e7a the candidate writes the acceleration that its speed planner returns to the vehicle in each cycle that has an inference result (longitudinal_planning.cpp:36; vision_pilot.cpp:138, 157, 174), so it already decelerates while it flags a warning; its own emergency band starts below -5.0 m/s² (planning.cpp:118). A simulation cannot show the service brakes and the anti-lock function of a real vehicle, which turn the demand into a deceleration.";285 attribute :>> verificationMethod = "test";286 attribute :>> successCriteria = "Met when every setting of SC-DRIVING-012 and SC-DRIVING-013 is judged, and in each judged run the last driving command of the driver-assistance system holds a deceleration of at least 5.0 m/s² at each instant of the functional part at which the needed deceleration to the target is at least 5.0 m/s².";287 attribute :>> verificationStatus = VVStatus::Completed;288 }289290 requirement <'REQ-DRIVING-037'> reqImpactSpeedWithinLimit : RequirementCandidate {291 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;292 require constraint statement { language "English" /* When a collision with a vehicle ahead is imminent, the driver-assistance system shall brake the vehicle to a relative impact speed of at most the maximum relative impact speed for the relative approach speed. */ }293 attribute :>> source = "NEED-DRIVING-008; SRC-UNECE-R152 speed reduction by braking demand; REQ-AEBS-003; gap gapVehicleTargetCriteria; scenarios SC-DRIVING-012 and SC-DRIVING-013";294 attribute :>> rationale = "This is a performance requirement on the outcome of the braking. Derived from the speed reduction by braking demand of the car to car scenario of the source regulation (SRC-UNECE-R152), with the test speeds of its warning and activation tests with a stationary and a moving vehicle target, and from REQ-AEBS-003. The limits and the test speeds are those of a car in running order, because the simulated vehicle carries no load. The relative approach speed is taken when the collision becomes imminent; at a constant approach speed it is the speed of the setting less that of the target, which gives a limit of 0 km/h in each setting except SC-DRIVING-012 at 60 km/h, where it is 35 km/h. The source sets the limits for unobstructed targets on a flat and dry road, with the centre lines at most 0.2 m apart, in daylight and on a straight road; the settings and the judged runs keep those conditions. The obligation is the candidate's, with the simulated vehicle and its brakes standing in for a real one (asmSimulatedConfigurationStandsIn); the settings are System 2's. A simulation cannot show the target that the source prescribes, a series production car or a soft target, nor the measured road surface, the illumination and the test masses.";295 attribute :>> verificationMethod = "test";296 attribute :>> successCriteria = "Met when every setting of SC-DRIVING-012 and SC-DRIVING-013 is judged, and the relative impact speed of each judged run is at most the maximum relative impact speed for its relative approach speed.";297 attribute :>> verificationStatus = VVStatus::Completed;298 }299300 requirement <'REQ-DRIVING-038'> reqDrivingCommandOverSCORE : RequirementCandidate {301 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;302 require constraint statement { language "English" /* The driver-assistance system shall give its driving command to the actuation of the vehicle only over the Eclipse S-CORE path. */ }303 attribute :>> source = "NEED-DRIVING-008; scope item scoreCommandPathInScope; gap gapScoreIntegration; scenarios SC-DRIVING-012 to SC-DRIVING-015";304 attribute :>> rationale = "This is a design constraint: the increment judges the candidate on the S-CORE path of the product line. A path around it, such as a direct connection from the candidate to the simulator, would let the vehicle brake while S-CORE carries nothing. At 014e0e7a only the ROS 2 build of the application reads a live speed and commands a vehicle. That build connects to topics (vision_pilot.cpp:59-64) and publishes the steering and the acceleration (vehicle_ros2_interface.cpp:25-26); the build without ROS 2 takes its vehicle interface by the key source.mode (vision_pilot.cpp:65-78): its CAN interface reads a speed of zero and writes nothing (can_interface.cpp:4-12), and its file interface reads recorded speeds and writes nothing (file_interface.cpp:37-61). The application has no binding to S-CORE (gapScoreIntegration). Phases 6 to 8 decide how the command enters the S-CORE path. The no-autopilot, replay or overlay condition of the planned reviews is a criterion of this requirement.";305 attribute :>> verificationMethod = "test";306 attribute :>> successCriteria = "Met when, in every run of SC-DRIVING-012 to SC-DRIVING-015, every driving command that reaches the actuation is matched in the communication records of the Eclipse S-CORE path to a driving command of the driver-assistance system; when the autopilot and the traffic manager of the simulator have no control of the vehicle at any time of the run and no recorded, replayed, scripted or overlaid control reaches its actuation; and when, in one further run of SC-DRIVING-012 in which the Eclipse S-CORE path of the driver-assistance system is stopped, no driving command reaches the actuation after the stop.";307 attribute :>> verificationStatus = VVStatus::CompletedUnsuccessful;308 }309310 requirement <'REQ-DRIVING-039'> reqDetectableDrivingCommand : RequirementCandidate {311 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;312 require constraint statement { language "English" /* The driver-assistance system shall give each driving command in a form that lets the actuation detect its loss, delay, repetition or corruption on the Eclipse S-CORE path. */ }313 attribute :>> source = "NEED-DRIVING-008; REQ-MW-006; gap gapNoSeparateEmergencyFunction; emergencyBrakingIndependenceConcern";314 attribute :>> rationale = "This is a design constraint on the form of the driving command. The product line holds the independence of the protected emergency command path as common content: REQ-MW-006 obliges its products to prevent a failure of the middleware integration path from causing an uncontrolled emergency intervention command, whatever its realization. The candidate cannot keep a path outside itself from failing. Its share is a command whose loss, delay, repetition or corruption the actuation can detect; rejecting what the actuation detects is the share of the product that holds the path, under REQ-MW-006, and phases 6 to 8 allocate both. At 014e0e7a the candidate's braking leaves in its one driving command (vision_pilot.cpp:157, 174), which REQ-DRIVING-038 sends over the Eclipse S-CORE path (gapNoSeparateEmergencyFunction). The analysis rests on the realization that phase 8 records and makes no freedom-from-interference claim.";315 attribute :>> verificationMethod = "analyze";316 attribute :>> successCriteria = "Met when the analysis of the realization that phase 8 records shows, for a loss, a delay, a repetition and a corruption of a driving command on the Eclipse S-CORE path, the part of the command by which the actuation detects it.";317 attribute :>> verificationStatus = VVStatus::Completed;318 }319320 requirement <'REQ-DRIVING-040'> reqWithholdWarningRequest : FunctionalRequirementCandidate {321 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;322 require constraint statement { language "English" /* The driver-assistance system shall start its warning request only while a collision with a vehicle ahead is imminent. */ }323 attribute :>> source = "NEED-DRIVING-009; SRC-UNECE-R152 false reaction avoidance; REQ-AEBS-008; gap gapVehicleTargetCriteria; scenarios SC-DRIVING-012 to SC-DRIVING-015";324 attribute :>> rationale = "Derived from the false reaction avoidance of the source regulation (SRC-UNECE-R152), which asks the system to minimise collision warnings where no collision is imminent and lists false-reaction scenarios for an assessment, and from REQ-AEBS-008. Phase 5 confirms the two scenarios that phase 2 proposed from that list, the curved road with guard pipes and a stationary object (SC-DRIVING-014) and the turn of a vehicle ahead (SC-DRIVING-015). At the speeds and the times to collision that the source names for them no collision is imminent, so any warning there is a false reaction. The source gives those values as guidance, not as a test: the settings take their approach speeds, and System 2 records the rest in each run. The requirement binds the start of each warning request in every run, in SC-DRIVING-012 and SC-DRIVING-013 too before the collision becomes imminent. It binds the start rather than the whole request, because braking can end the imminence while the warning goes on, which the source allows. The obligation is the candidate's; the settings are System 2's. A simulation cannot show the variety of real roads that the assessment of the source covers.";325 attribute :>> verificationMethod = "test";326 attribute :>> successCriteria = "Met when, in every run of SC-DRIVING-012 to SC-DRIVING-015, a collision with a vehicle ahead is imminent at the start of each warning request of the driver-assistance system.";327 attribute :>> verificationStatus = VVStatus::CompletedUnsuccessful;328 }329330 requirement <'REQ-DRIVING-041'> reqWithholdEmergencyBraking : FunctionalRequirementCandidate {331 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;332 require constraint statement { language "English" /* The driver-assistance system shall start an emergency braking only while a collision with a vehicle ahead is imminent. */ }333 attribute :>> source = "NEED-DRIVING-009; SRC-UNECE-R152 false reaction avoidance; REQ-AEBS-012; gap gapVehicleTargetCriteria; scenarios SC-DRIVING-012 to SC-DRIVING-015";334 attribute :>> rationale = "Derived from the false reaction avoidance of the source regulation (SRC-UNECE-R152), which asks the system to avoid emergency braking where no collision is imminent, and from REQ-AEBS-012. The candidate's speed planner still slows the vehicle for the curve and for the vehicle ahead (longitudinal_planning.cpp:13-14, 34); only a command for 5.0 m/s² or more is an emergency braking. The requirement binds the start of each emergency braking in every run, in SC-DRIVING-012 and SC-DRIVING-013 too before the collision becomes imminent. It binds the start rather than the whole braking, because a braking harder than the needed deceleration lowers it below 1.0 m/s² before the vehicle stops, which ends the imminence. The obligation is the candidate's; the settings are System 2's. A simulation cannot show the variety of real roads that the assessment of the source covers.";335 attribute :>> verificationMethod = "test";336 attribute :>> successCriteria = "Met when, in every run of SC-DRIVING-012 to SC-DRIVING-015, a collision with a vehicle ahead is imminent at the start of each emergency braking of the driver-assistance system.";337 attribute :>> verificationStatus = VVStatus::CompletedUnsuccessful;338 }339340 requirement <'REQ-DRIVING-042'> reqWarningRequestBeforeEmergencyBraking : FunctionalRequirementCandidate {341 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;342 require constraint statement { language "English" /* When a collision with a vehicle ahead is imminent, the driver-assistance system shall give a warning request at its boundary at least 1.0 s of simulation time before the start of its emergency braking. */ }343 attribute :>> source = "NEED-DRIVING-010; SRC-UNECE-R152 collision warning; REQ-AEBS-002; gap gapWarningOutput; scenarios SC-DRIVING-012 and SC-DRIVING-013";344 attribute :>> rationale = "Derived from the collision warning of the car to car scenario of the source regulation (SRC-UNECE-R152), which asks for the warning to the driver at the latest 0.8 s before the start of the emergency braking, and from REQ-AEBS-002. The source asks for the warning where the relative speed is above the speed up to which the vehicle can avoid the collision; NEED-DRIVING-010 asks for the request whenever a collision with a vehicle ahead in its lane is imminent, and the requirement follows the need. The obligation is the candidate's for the request and for its lead of 1.0 s. Of the 1.0 s, 0.2 s is allotted from the warning request to the start of each mode of the warning, on the display and as a sound. That share is the obligation of the Eclipse S-CORE path and the AAOS SDV, which phases 6 to 8 allocate: each mode is due within 0.2 s of wall-clock time after the request, and so at least 0.8 s before the start of the emergency braking while the simulation runs no faster than wall-clock time, which is the obligation of System 2. The source lets the warning come as late as the start of the emergency braking when the collision cannot be anticipated in time; in each setting at a constant approach speed the collision becomes imminent at least 1.11 s before a needed deceleration of 5.0 m/s², so the exception is not taken. At 014e0e7a the application has no warning output at its boundary, and its forward-collision warning and its emergency braking are two ranges of one planned acceleration (planning.cpp:113-121; gapWarningOutput). A simulation cannot show whether a driver perceives the warning.";345 attribute :>> verificationMethod = "test";346 attribute :>> successCriteria = "Met when every setting of SC-DRIVING-012 and SC-DRIVING-013 is judged, and in each judged run in which the collision with the target becomes imminent the driver-assistance system gives a warning request at its boundary, at least 1.0 s of simulation time before the start of the first emergency braking of the run when the run has one.";347 attribute :>> verificationStatus = VVStatus::Completed;348 }349350 requirement <'REQ-DRIVING-043'> reqWarningRequestOverSCORE : RequirementCandidate {351 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;352 require constraint statement { language "English" /* The driver-assistance system shall give its warning request to the AAOS SDV only over the Eclipse S-CORE path. */ }353 attribute :>> source = "NEED-DRIVING-010; scope item scoreCommandPathInScope; gaps gapWarningOutput and gapScoreIntegration; scenarios SC-DRIVING-012 and SC-DRIVING-013";354 attribute :>> rationale = "This is a design constraint: the warning reaches the driver through the S-CORE path of the product line to the AAOS SDV. At 014e0e7a the application's warnings go only to its own visualization and data log, each when it is switched on (vision_pilot.cpp:177-185), and its vehicle interface carries no warning (gapWarningOutput). A data log can give the evaluators a record of the warnings; it is not a warning request. Phases 6 to 8 decide how the request leaves the candidate.";355 attribute :>> verificationMethod = "test";356 attribute :>> successCriteria = "Met when, in every run of SC-DRIVING-012 and SC-DRIVING-013, every warning request that reaches the AAOS SDV is matched in the communication records of the Eclipse S-CORE path to a warning request of the driver-assistance system, and when, in one further run of SC-DRIVING-012 in which the Eclipse S-CORE path of the driver-assistance system is stopped, no warning request reaches the AAOS SDV after the stop.";357 attribute :>> verificationStatus = VVStatus::CompletedUnsuccessful;358 }359360 requirement <'REQ-DRIVING-044'> reqRecordCandidateIdentity : FunctionalRequirementCandidate {361 subject driverAssistanceSystem :> DE4SDV_DriverAssistanceFraming::candidateDriverAssistanceSystem;362 require constraint statement { language "English" /* The driver-assistance system shall record its candidate identity before its first driving command of each run. */ }363 attribute :>> source = "NEED-DRIVING-011; gap gapCandidateBehaviorUnverified; scenarios SC-DRIVING-012 to SC-DRIVING-015";364 attribute :>> rationale = "Another engineer can rerun a run only from what it names, and a build with a change that upstream has not merged is a different candidate: the recorded difference tells them apart. Source, network files and configuration are pinned separately, because none of them fixes the others; the configuration is pinned by the SHA-256 of each of its files and by the settings of its launch, so that another engineer can check each. The configuration includes the run-time settings: at 014e0e7a, in a build without ROS 2, the key source.mode chooses where the camera image and the speed come from (vision_pilot.cpp:65-78), and the key speed_limit sets the highest speed that the candidate's planner drives toward (vision_pilot.conf:20). Like the run identity of the closed-loop driving increment (REQ-DRIVING-033), the record is a behaviour of the candidate in each run, which phase 6 allocates to a function. The scenario and the simulated configuration belong to System 2 and are pinned there.";365 attribute :>> verificationMethod = "test";366 attribute :>> successCriteria = "Met when every run of SC-DRIVING-012 to SC-DRIVING-015 has the record before its first driving command; when another engineer who checks out the named revision, applies the recorded difference and hashes the named network files and configuration files obtains the recorded values; and when a build with one change that upstream has not merged records a non-empty difference.";367 attribute :>> verificationStatus = VVStatus::CompletedUnsuccessful;368 }369370 /* Rule 5 of the increment workflow, in its dependency form, declared with371 * the requirements (phase 9). Their subject brings VisionPilot: the framing372 * links the system of interest to the feature visionPilot. A requirement373 * links a feature of its own only for what its subject does not bring.374 * REQ-DRIVING-038 and REQ-DRIVING-043 give their output only over the375 * Eclipse S-CORE path, REQ-DRIVING-039 makes a failure on that path376 * detectable, and REQ-DRIVING-042 times the warning request at the377 * boundary, the interface at which the outputs leave for that path. Each378 * applies only where Eclipse S-CORE is selected, so each depends on the379 * feature eclipseSCORE. */380 dependency reqDrivingCommandOverSCOREOnEclipseSCORE381 from reqDrivingCommandOverSCORE382 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::eclipseSCORE;383 dependency reqDetectableDrivingCommandOnEclipseSCORE384 from reqDetectableDrivingCommand385 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::eclipseSCORE;386 dependency reqWarningRequestBeforeEmergencyBrakingOnEclipseSCORE387 from reqWarningRequestBeforeEmergencyBraking388 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::eclipseSCORE;389 dependency reqWarningRequestOverSCOREOnEclipseSCORE390 from reqWarningRequestOverSCORE391 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::eclipseSCORE;392 /* REQ-DRIVING-040, REQ-DRIVING-042 and REQ-DRIVING-043 name the warning393 * request, the output by which the system asks the AAOS SDV to give the394 * driver the collision warning, and REQ-DRIVING-043 names the AAOS SDV395 * itself. The guest-middleware group has a none alternative, so each396 * applies only where the AAOS SDV guest middleware is selected and depends397 * on the feature guestAndroidSDV. REQ-DRIVING-042 and REQ-DRIVING-043 then398 * carry two links of their own; in the dependency form, several links name399 * all their features. */400 dependency reqWithholdWarningRequestOnGuestAndroidSDV401 from reqWithholdWarningRequest402 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::guestAndroidSDV;403 dependency reqWarningRequestBeforeEmergencyBrakingOnGuestAndroidSDV404 from reqWarningRequestBeforeEmergencyBraking405 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::guestAndroidSDV;406 dependency reqWarningRequestOverSCOREOnGuestAndroidSDV407 from reqWarningRequestOverSCORE408 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::guestAndroidSDV;409410 connection emergencyBrakingForImminentCollisionDerivation : DerivesFromNeed411 connect needWarnAndBrakeForVehicleAhead to reqEmergencyBrakingForImminentCollision;412 connection impactSpeedWithinLimitDerivation : DerivesFromNeed413 connect needWarnAndBrakeForVehicleAhead to reqImpactSpeedWithinLimit;414 connection drivingCommandOverSCOREDerivation : DerivesFromNeed415 connect needWarnAndBrakeForVehicleAhead to reqDrivingCommandOverSCORE;416 connection detectableDrivingCommandDerivation : DerivesFromNeed417 connect needWarnAndBrakeForVehicleAhead to reqDetectableDrivingCommand;418 connection withholdWarningRequestDerivation : DerivesFromNeed419 connect needNoReactionWithoutImminentCollision to reqWithholdWarningRequest;420 connection withholdEmergencyBrakingDerivation : DerivesFromNeed421 connect needNoReactionWithoutImminentCollision to reqWithholdEmergencyBraking;422 connection warningRequestBeforeEmergencyBrakingDerivation : DerivesFromNeed423 connect needWarningRequestForTheDriver to reqWarningRequestBeforeEmergencyBraking;424 connection warningRequestOverSCOREDerivation : DerivesFromNeed425 connect needWarningRequestForTheDriver to reqWarningRequestOverSCORE;426 connection recordCandidateIdentityDerivation : DerivesFromNeed427 connect needRunsIdentifyTheCandidate to reqRecordCandidateIdentity;428429 comment vehicleTargetCriteriaFixedInPhase5 about DE4SDV_DriverAssistanceFraming::gapVehicleTargetCriteria430 /*431 * What phase 5 fixes of this gap, and whose obligation each criterion is.432 * - The imminence of a collision, which the source regulation leaves433 * without a value, is quantified in the terms above: a time to434 * collision of at most 4.0 s and a needed deceleration of at least 1.0435 * m/s², as the owner decided on 2026-11-14. The judged part of the436 * activation tests of the source regulation starts at a time to437 * collision of at least 4 s. With 1.0 m/s², in each setting at a438 * constant approach speed the collision becomes imminent at least 1.11439 * s before a needed deceleration of 5.0 m/s², which leaves room for the440 * lead of REQ-DRIVING-042; the vehicle ahead that turns off in the441 * false-reaction guidance of the source needs 0.47 to 0.67 m/s² at the442 * speeds and the times to collision that the guidance names, so that it443 * does not count as imminent; the stationary vehicle beyond the curve444 * stands outside the lane, so that it is no vehicle ahead.445 * - The approach speeds and the speed of the moving target, the settings446 * of the terms above, come from the warning and activation tests with a447 * stationary and a moving vehicle target of the source regulation. They448 * are the obligation of System 2, which sets each scenario and the449 * speed setting of the candidate; the own driving of the candidate450 * holds them, and a run that misses them is not judged. A setting whose451 * two runs are not both judged meets no criterion of REQ-DRIVING-036,452 * REQ-DRIVING-037 or REQ-DRIVING-042.453 * - The time of the warning request before the emergency braking,454 * REQ-DRIVING-042, is the candidate's. Within it, 0.2 s from the455 * request to each mode of the warning is the obligation of the Eclipse456 * S-CORE path and the AAOS SDV, which phases 6 to 8 allocate. A457 * simulation that runs no faster than wall-clock time, on which that458 * share rests, is the obligation of System 2.459 * - The braking demand, REQ-DRIVING-036, and the speed at impact,460 * REQ-DRIVING-037, are the candidate's, with the simulated vehicle461 * standing in for a real one.462 * - The two scenarios without a reaction, SC-DRIVING-014 and463 * SC-DRIVING-015, are confirmed from the false-reaction scenarios of464 * the source regulation. At the speeds and the times to collision of465 * the guidance no collision is imminent in them, so that the start of a466 * warning request, REQ-DRIVING-040, or of an emergency braking,467 * REQ-DRIVING-041, counts against the candidate. System 2 records in468 * each of their runs the speeds and the times to collision that the469 * guidance of the source names for the scenario.470 * - Two runs of each setting, both counted, are the obligation of System471 * 2.472 * Open, each with its owner: the applicability of the source regulation473 * to the candidate (the owner of the project) and its interpretation (an474 * authority, outside the project); what a simulation cannot show of each475 * criterion, which its rationale names and no verdict covers (the476 * evaluators of phase 10); and the criteria record that the evaluators of477 * phase 10 read (System 2).478 */479480 /* ─────────────────────────────── Views ─────────────────────────────── */481482 concern driverAssistanceNeedsConcern : StakeholderNeedsConcern {483 doc /*484 * Systems engineers and product-line engineers need the stakeholder needs485 * of the candidate driver-assistance system with their statements and486 * sources, and the planned stakeholder review of each, to judge whether487 * the needs cover the concerns of phase 1.488 */489 subject;490 stakeholder systemsEngineer : SystemsEngineer;491 stakeholder productLineEngineer : ProductLineEngineer;492 }493494 view driverAssistanceNeedsView : TVD::TableView {495 viewpoint selectedNeedsViewpoint : StakeholderRequirementDefinitionViewpoint {496 frame driverAssistanceNeedsConcern;497 }498499 expose needWarnAndBrakeForVehicleAhead;500 expose needNoReactionWithoutImminentCollision;501 expose needWarningRequestForTheDriver;502 expose needRunsIdentifyTheCandidate;503 filter @ SysML::RequirementUsage;504 attribute :>> includeReferenceElements = true;505 attribute :>> maxRowHeight = 300;506 view ID :> columnViews {507 attribute :>> featureToRender = CT::reqId;508 }509 view Need :> columnViews {510 attribute :>> featureToRender = CT::declaredName;511 }512 view Statement :> columnViews {513 attribute :>> featureToRender = CT::constraintLanguage {514 attribute constraintName = "statement";515 attribute constraintType = CL::ConT::required;516 attribute constraintLanguage = "English";517 }518 attribute :>> columnWidth = 360;519 }520 view Source :> columnViews {521 attribute :>> featureToRender = CT::attributeValue {522 attribute attributeName = "source";523 }524 }525 }526527 view driverAssistanceNeedValidationView : TVD::TableView {528 viewpoint selectedNeedValidationViewpoint : StakeholderRequirementDefinitionViewpoint {529 frame driverAssistanceNeedsConcern;530 }531532 expose vehicleAheadResponseValidationPlan;533 expose noReactionValidationPlan;534 expose driverWarningValidationPlan;535 expose candidateIdentityValidationPlan;536 filter @ SysML::PartUsage;537 attribute :>> includeReferenceElements = true;538 attribute :>> maxRowHeight = 300;539 view Plan :> columnViews {540 attribute :>> featureToRender = CT::declaredName;541 }542 view Review :> columnViews {543 attribute :>> featureToRender = CT::documentation;544 }545 }546547 concern driverAssistanceRequirementTraceConcern : RequirementTraceConcern {548 doc /*549 * Compliance engineers and verification engineers need each requirement550 * of the driver-assistance system traced to the need it derives from,551 * with its source, its rationale, its verification method and its success552 * criteria, to judge whether the requirements answer the needs and can be553 * verified. The requirement definition table answers554 * vehicleTargetCriteriaConcern of the framing: each criterion for a555 * vehicle target with the provision of the source regulation it is556 * derived from, the product-line requirement it judges, whose obligation557 * it is and what a simulation cannot show of it.558 */559 subject;560 stakeholder complianceEngineer : ComplianceEngineer;561 stakeholder verificationEngineer : VerificationEngineer;562 }563564 view driverAssistanceRequirementsView : TVD::TableView {565 viewpoint selectedRequirementDefinitionViewpoint : SystemRequirementDefinitionViewpoint {566 frame driverAssistanceRequirementTraceConcern;567 }568569 expose reqEmergencyBrakingForImminentCollision;570 expose reqImpactSpeedWithinLimit;571 expose reqDrivingCommandOverSCORE;572 expose reqDetectableDrivingCommand;573 expose reqWithholdWarningRequest;574 expose reqWithholdEmergencyBraking;575 expose reqWarningRequestBeforeEmergencyBraking;576 expose reqWarningRequestOverSCORE;577 expose reqRecordCandidateIdentity;578 filter @ SysML::RequirementUsage;579 attribute :>> includeReferenceElements = true;580 attribute :>> maxRowHeight = 500;581 view ID :> columnViews {582 attribute :>> featureToRender = CT::reqId;583 }584 view Requirement :> columnViews {585 attribute :>> featureToRender = CT::declaredName;586 }587 view Statement :> columnViews {588 attribute :>> featureToRender = CT::constraintLanguage {589 attribute constraintName = "statement";590 attribute constraintType = CL::ConT::required;591 attribute constraintLanguage = "English";592 }593 attribute :>> columnWidth = 360;594 }595 view Source :> columnViews {596 attribute :>> featureToRender = CT::attributeValue {597 attribute attributeName = "source";598 }599 }600 view Rationale :> columnViews {601 attribute :>> featureToRender = CT::attributeValue {602 attribute attributeName = "rationale";603 }604 attribute :>> columnWidth = 420;605 }606 view Method :> columnViews {607 attribute :>> featureToRender = CT::attributeValue {608 attribute attributeName = "verificationMethod";609 }610 }611 view Criteria :> columnViews {612 attribute :>> featureToRender = CT::attributeValue {613 attribute attributeName = "successCriteria";614 }615 attribute :>> columnWidth = 360;616 }617 }618}619