textual-notation-of-model/packages/features/driving/driver_assistance_physical_software_realization.sysml
3 view(s) · 244 declared member(s) Jump to source ↓
view driverAssistancePhysicalStructureViewsource ↓
| Viewpoint | selected (Physical |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | driverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriverdriver |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view driverAssistancePhysicalLogicalMappingViewsource ↓
| Viewpoint | selected (Physical |
|---|---|
| View type | MVD:: |
| Framed concerns |
|
| Exposes | DriverDriverDriverDriverdriverdriverdriverdriverdriverdriverDE4 |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view driverAssistanceSCOREPathExchangeViewsource ↓
| Viewpoint | selected (Physical |
|---|---|
| Framed concerns |
|
| Render | as |
| Depth | -1 |
| Exposes | driverdriver |
| Source | textual-notation-of-model/ |
Notes
The S-CORE path (scoreCommandAndWarningPathConcern) and the independence of the emergency braking's command (emergencyBrakingIndependenceConcern) in one interconnection of the S-CORE host: the driving command leaves the candidate's vehicle interface on an mw::com event to the actuation adapter, the only element that writes the simulator's Ackermann control; the warning request leaves the candidate's warning request publisher on an mw::com event to gatewayd, then someipd, and leaves the host on SOME/IP to the AAOS SDV; the emergency braking leaves in the one driving command. No other port leads to the Ackermann control or to the guests. Inside the candidate's process the hand-offs are drawn as such. The functional-mapping question is answered by this exchange and by the matrix, not by a function-by-software matrix: no direct relation exists between a function and a software element to draw. The guests are drawn in the structure tree only.
Hover a model element for details open raw SVG.
Source
1/*2 * SPDX-License-Identifier: Apache-2.03 *4 * INC-DRIVING-002, phase 8: the physical and software realization of the5 * candidate driver-assistance system. What software, hardware and6 * deployment elements realize the four logical elements of phase 7, and on7 * which technology do the driving command and the warning request travel,8 * which REQ-DRIVING-038 and REQ-DRIVING-043 constrain?9 *10 * On 2026-11-15 the owner chose that the candidate's process becomes an11 * Eclipse S-CORE application through a DE4SDV S-CORE interface module: an12 * S-CORE branch beside the existing interface selection in the application's13 * main function, before its loop (VisionPilot/app/vision_pilot.cpp:59-79 at14 * the pin), and one hand-off of the warnings that the planner already15 * computes, in the loop after vision_pilot.cpp:174; the decision logic under16 * VisionPilot/modules/ is unchanged. It is a small change with an upstream17 * path: upstream's own safety element description lists warning requests18 * among the outputs and calls the interface technology implementation19 * dependent (Functional_Safety/SAFETY_ELEMENT_OUT_OF_CONTEXT.md:95-104 at the20 * pin). The consequence is recorded with gapCandidateBehaviorUnverified:21 * every build on the S-CORE path carries this change, which upstream has not22 * merged, so every verdict names the build: 014e0e7a with the DE4SDV S-CORE23 * interface, and REQ-DRIVING-044's record carries the difference.24 *25 * On 2026-11-15 the owner also chose a GPU of its own for the S-CORE host, an26 * NVIDIA L4, for the candidate's networks, which run with the CUDA provider27 * that upstream's configuration sets (VisionPilot/config/vision_pilot.conf:1128 * at the pin): the GPU decision of 2026-11-15. The readiness probe of this29 * phase found the processor alone too slow for the 0.1 s cycle, so30 * asmProcessorInferenceSufficient does not hold31 * (phase8ProcessorInferenceNotHeld).32 *33 * On 2026-11-15 the owner also chose CARLA 1.0 on Unreal Engine 5.8 for the34 * bench's simulator, in place of CARLA 0.9.16 on Unreal Engine 4, and the build35 * that the readiness probe of this phase ran: commit36 * 14ac3b1a502da45a44506cb2ed82ab800f1baf4c of CARLA's branch ue58-dev, two37 * commits after the tag 1.0, from CARLA's weekly package of that day, of which38 * DE4SDV keeps a copy (upstream.md): the simulator decision of 2026-11-15. The39 * probe ran its server in synchronous mode with the fixed step of 0.1 s at40 * wall-clock pace on one NVIDIA L4, and its C++ client library inside an S-CORE41 * process; synchronous mode, the fixed step and the pacer of the clock decision42 * of 2026-11-08 stay.43 *44 * On 2026-11-17 the owner chose a fixed step of 0.05 s for the bench's45 * simulator, so that the bench's recording view can be rendered at 20 frames46 * per second: a camera renders at most once per step. The front camera keeps47 * one image per 0.1 s of simulation time, every second step, so the candidate48 * still receives images 0.1 s apart, the spacing that its fusion takes for two49 * processed frames. Synchronous mode and the world-side pacer of the clock50 * decision of 2026-11-08 stay, and the limits that were written in steps are51 * written in simulation time: the step decision of 2026-11-17.52 *53 * On 2026-11-17 the owner also chose an NVIDIA RTX PRO 6000 for the simulator54 * host. At the step of 0.05 s, with the front camera and a recording camera of55 * 1920 by 1080 pixels, one NVIDIA L4 did not keep wall-clock pace in the56 * readiness probe of 2026-11-16, and one NVIDIA RTX PRO 6000 did in the57 * readiness probe of 2026-11-17: the simulator host decision of 2026-11-17.58 *59 * On 2026-11-17 the owner also chose that the bench records the candidate's own60 * visualization with each run: upstream's drawing, at the pin, of what the61 * candidate perceives and plans over its camera image. It is not the driver's62 * display: it goes only into the bench's recording. A DE4SDV visualization63 * recorder in the candidate's process draws it on a thread of its own, from a64 * second hand-off in the loop after vision_pilot.cpp:174, and encodes it with65 * the video encoder of the S-CORE host's GPU: an observer of System 2 that66 * carries no logical element. The configuration keeps visualization_on = false,67 * so upstream's drawing in the loop stays off. With the recorder running the68 * candidate gives its command a few milliseconds later, by the readiness probe69 * of the recorder on 2026-11-17, and the owner kept the recorder in every run70 * with that delay stated in each verdict (phase8VisualizationRecorderPlaced):71 * the visualization decision of 2026-11-17. The draft shown to the VisionPilot72 * maintainers includes this hand-off.73 *74 * On 2026-11-18 the owner chose how the actuation adapter counts the driving75 * commands it receives: from the last received command whose check value holds,76 * not from the last accepted command. Counted from the last accepted command,77 * one lost, corrupted or late command makes the next command fail its sequence78 * count, and with it every later one, so the simulator would keep the last79 * valid control for the rest of the run. A repetition is still rejected; the80 * command that reveals a gap is rejected, and counting resumes from it; a81 * corrupted or a late command is rejected as before. The vehicle interface82 * keeps its count, one more than that of the command before it, and the limit83 * of 0.1 s of simulation time stays (DrivingCommandActuationAdapter): the84 * adapter counting decision of 2026-11-18.85 *86 * On 2026-11-18 the owner chose that nothing goes upstream before the scenarios87 * of phase 10 have run in CARLA: then the VisionPilot maintainers are shown a88 * draft of the warning output and the interface seam, with the results; nothing89 * is posted without the owner: the upstream contact decision of 2026-11-18.90 *91 * On 2026-11-21 the statement of what a rejected command costs was bounded to92 * the corruptions that the check value detects. The analysis of REQ-DRIVING-03993 * found that a corruption that the check value misses counts as valid and, with94 * a higher sequence count, becomes the reference count, so that later valid95 * commands are rejected as repetitions; the bench code states that limit, and96 * the realization did not. The rule of the adapter is unchanged97 * (DrivingCommandActuationAdapter): the check-value bound decision of98 * 2026-11-21.99 *100 * Carried over from the dated decisions of INC-DRIVING-001101 * (closed_loop_driving_physical_software_realization.sysml):102 *103 * - Clock, the clock decision of 2026-11-08: CARLA 0.9.16 in synchronous mode104 * with a fixed step of 0.1 s, ticked by a world-side pacer at wall-clock105 * pace. Simulation time is the time of the world snapshot, in seconds since106 * the scenario started, one step of 0.1 s per frame; each camera image107 * carries the simulation time of the snapshot it was rendered in. The issue108 * time of a driving command and of a warning request is the capture109 * simulation time of the frame it was computed from, so it and the newest110 * world time that the actuation adapter compares it with are read on one111 * clock; the 0.2 s share of REQ-DRIVING-042 is wall-clock time. Upstream's112 * own simulator setup runs the simulator the same way113 * (Simulation/CARLA/ROS2/src/carla_bridge_bringup/scripts/config_carla.py:192-240114 * at the pin).115 * - Hosts, the three-host decision of 2026-11-09: the S-CORE host, the116 * simulator host, and the guest host with KVM for the two AAOS SDV117 * guests, with a VXLAN segment from the S-CORE host into the guests'118 * bridge.119 *120 * What follows from the phase 7 elements and the defaults of this phase:121 *122 * - Topology: the candidate stays one process, VisionPilotSCOREApplication.123 * Its upstream modules are physical elements at module level, the124 * perception and fusion and the safety guardian's planner, and three125 * modules of the DE4SDV S-CORE interface sit beside them in the process:126 * the camera interface, the vehicle interface and the warning request127 * publisher. The identity recorder is an S-CORE application of its own,128 * started first, beside the software that gives the commands. The129 * warning requester and the driving commander share the planner module:130 * the forward-collision warning and the emergency braking are two ranges131 * of one planned acceleration (planning.cpp:113-121).132 * - Warning path: the chain that INC-DRIVING-001 ran (mw::com, gatewayd,133 * someipd, SOME/IP over the VXLAN segment, the SOME/IP interop of SDV134 * Core, a Data Tunnel topic, the SDV Gateway on the IVI VM, the135 * application), with a new message type for the warning request, open136 * until phase 10. Of REQ-DRIVING-042's 0.2 s, 0.1 s is for the path and137 * 0.1 s for the presentation (MAP-DRIVING-DA-WARNING-REQUEST).138 * - Actuation: CARLA's Ackermann control, as upstream's own simulator path139 * drives the vehicle, typed by the simulator's contract140 * (SimulatorAckermannControl): the simulator receives the candidate's141 * steering unchanged and the planned acceleration, as on that path. That142 * the vehicle follows the commanded deceleration is ASM-DRIVING-005, and143 * that the candidate's steering turns it toward its lane centre is144 * ASM-DRIVING-006.145 * - VSS at the ports only: the command's acceleration and steering angle,146 * the speed and the warning request; no new VSS extension.147 * - Revision: the bench runs VisionPilot at148 * 014e0e7a56ee8e597c2cab8175233f74edd9b856, upstream's main on149 * 2026-11-15; the tag v1.2 (9a96c3e7) is an older ancestor. The150 * configuration is in VisionPilotSCOREApplication.151 *152 * Alternatives recorded and not selected:153 * - ALT-DRIVING-WARNFROMCOMMAND-001: no hand-off of the warnings; the154 * publisher applies the ranges of planning.cpp:113-121 to the commanded155 * acceleration. The candidate's code stays as it is for the warning, but156 * the warning request is DE4SDV's, a copy of the candidate's rule.157 * - ALT-DRIVING-ROS2BRIDGE-001: the unchanged ROS 2 build with a DE4SDV158 * bridge from ROS 2 to mw::com. A ROS 2 hop before S-CORE is a hop beside159 * it under REQ-DRIVING-038, and the ROS 2 build gives no warning.160 * - ALT-DRIVING-HARWARNING-001: the High Availability Renderer of Android SDV's161 * display safety shows the collision warning on the cluster display behind162 * the steering wheel and sounds it, in a third guest, SDV Media, instead of163 * the application on the IVI VM. Android SDV's vehicle data has no collision164 * signal and the renderer's reference application no collision symbol or165 * chime (upstream.md), so DE4SDV would add all three and a bridge from SDV166 * Core to SDV Media. Not selected by the owner on 2026-11-17 for this167 * increment.168 *169 * The S-CORE path and the AAOS SDV are System 1 parts outside the170 * candidate (driver_assistance_operational_context.sysml): the actuation171 * adapter, the gateway processes, the guests and the warning presentation172 * are context realizations, and the simulator server stands for the173 * vehicle and the road environment (System 2). No logical element is174 * allocated to them. An allocation here is a responsibility assignment, no175 * deployment, execution or runtime claim; a signal mapping is no176 * interoperability claim; a pin is no build claim. Nothing in this package177 * claims a requirement met or a case run.178 */179package DE4SDV_DriverAssistancePhysicalSoftwareRealization {180 private import ScalarValues::*;181 private import DE4SDV_MethodContext::*;182 private import DE4SDV_MethodProcess::SystemToSoftwareSignalMappingCandidate;183 private import DE4SDV_MethodProcess::LogicalToSoftwareSignalMappingRecord;184 private import DE4SDV_MethodProcess::SignalMappingDisposition;185 private import DE4SDV_TraceVocabulary::PhysicalAllocationElement;186 private import DE4SDV_SDVPlatformStack::LinuxPlatform;187 private import DE4SDV_SDVPlatformStack::EclipseSCORE;188 private import DE4SDV_SDVPlatformStack::AndroidHLOS;189 private import DE4SDV_SDVPlatformStack::AndroidSDVMiddleware;190 private import DE4SDV_SDVPlatformStack::OSHypervisorInterface;191 private import DE4SDV_AAOSSDVMiddlewareBoundary::SDVCoreBoundary;192 private import DE4SDV_AAOSSDVMiddlewareBoundary::SDVGatewayOnIVIBoundary;193 private import DE4SDV_AAOSSDVMiddlewareBoundary::DataTunnelPort;194 private import DE4SDV_ClosedLoopDrivingPhysicalSoftwareRealization::SimulationClockOut;195 private import DE4SDV_ClosedLoopDrivingPhysicalSoftwareRealization::SimulationClockIn;196 private import DE4SDV_ClosedLoopDrivingPhysicalSoftwareRealization::AAOSGuestHost;197 private import DE4SDV_DriverAssistanceFraming::DriverAssistanceSystem;198 private import DE4SDV_DriverAssistanceFraming::gapNoSeparateEmergencyFunction;199 private import DE4SDV_DriverAssistanceFraming::gapWarningOutput;200 private import DE4SDV_DriverAssistanceFraming::gapCandidateBehaviorUnverified;201 private import DE4SDV_DriverAssistanceFraming::gapScoreIntegration;202 private import DE4SDV_DriverAssistanceFraming::asmProcessorInferenceSufficient;203 private import DE4SDV_DriverAssistanceFraming::asmSimulatorPathUsable;204 private import DE4SDV_DriverAssistanceFraming::emergencyBrakingIndependenceConcern;205 private import DE4SDV_DriverAssistanceFraming::scoreCommandAndWarningPathConcern;206 private import DE4SDV_DriverAssistanceOperationalContext::FrontCameraImage;207 private import DE4SDV_DriverAssistanceOperationalContext::VehicleSpeed;208 private import DE4SDV_DriverAssistanceOperationalContext::DrivingCommand;209 private import DE4SDV_DriverAssistanceOperationalContext::WarningRequest;210 private import DE4SDV_DriverAssistanceOperationalContext::DriverWarningPresentation;211 private import DE4SDV_DriverAssistanceFunctionalArchitecture::VehicleAheadAssessment;212 private import DE4SDV_DriverAssistanceFunctionalArchitecture::CandidateIdentityRecord;213 private import DE4SDV_DriverAssistanceLogicalArchitecture::DriverAssistanceLogicalSystem;214 private import DE4SDV_DriverAssistanceNeedsRequirements::reqDrivingCommandOverSCORE;215 private import DE4SDV_DriverAssistanceNeedsRequirements::reqDetectableDrivingCommand;216 private import DE4SDV_DriverAssistanceNeedsRequirements::reqWarningRequestOverSCORE;217 private import COVESA_VSS::SignalDefinitions::Vehicle_Speed;218 private import DE4SDV_VSS_Extensions::Vehicle_ADAS_Driving_Command_Acceleration;219 private import DE4SDV_VSS_Extensions::Vehicle_ADAS_Driving_Command_SteeringAngle;220 private import DE4SDV_VSS_Extensions::Vehicle_ADAS_AEBS_DriverWarning_IsActive;221 private import DE4SDV_Stakeholders::*;222 private import SAF_Viewpoints::*;223 private import SysideViews::**;224 private import Views::*;225226 /* ───────────── The items this phase types at the software contracts ───────────── */227228 item def VehicleSpeedSamplePayload :> VehicleSpeed {229 doc /*230 * The speed of the vehicle as the realization types it where it enters231 * the candidate's process: the vehicle interface reads it from the232 * simulator's world snapshot through its client and hands it to the233 * planner in the process. The speed is typed by COVESA VSS at the port234 * (Vehicle_Speed, km/h); the sample time is the simulation time of the235 * snapshot (MAP-DRIVING-DA-VEHICLE-SPEED).236 */237 attribute speed : Vehicle_Speed;238 attribute sampleTime : Real;239 }240241 item def DrivingCommandEventPayload :> DrivingCommand {242 doc /*243 * The driving command as the realization types it on the mw::com event244 * from the candidate's process to the actuation adapter, the first hop245 * of REQ-DRIVING-038. The acceleration and the steering angle are typed246 * by the two DE4SDV_VSS_Extensions candidates of INC-DRIVING-001. The247 * issue time, the sequence count and the check value are the parts by248 * which the actuation detects a loss, a delay, a repetition or a249 * corruption on the path (REQ-DRIVING-039): protocol fields, no vehicle250 * signal (MAP-DRIVING-DA-COMMAND).251 */252 attribute acceleration : Vehicle_ADAS_Driving_Command_Acceleration;253 attribute steeringAngle : Vehicle_ADAS_Driving_Command_SteeringAngle;254 attribute issueTime : Real;255 attribute sequenceCount : Natural;256 attribute checkValue : Natural;257 }258259 item def WarningRequestEventPayload :> WarningRequest {260 doc /*261 * The warning request as the realization types it on the mw::com event262 * from the candidate's process, the first hop of REQ-DRIVING-043, and on263 * every later hop to the warning presentation. Whether it asks for the264 * collision warning is typed by the DE4SDV_VSS_Extensions candidate265 * Vehicle_ADAS_AEBS_DriverWarning_IsActive, since the candidate is266 * judged against the AEBS content of the product line; the issue time is267 * no vehicle signal (MAP-DRIVING-DA-WARNING-REQUEST).268 */269 attribute requested : Vehicle_ADAS_AEBS_DriverWarning_IsActive;270 attribute issueTime : Real;271 }272273 item def PlannedWarnings {274 doc /*275 * The warnings of one plan of the candidate as the planner hands them to276 * the warning request publisher in the process: the list of the plan277 * (Plan in types.hpp:34-38 at the pin), whose values are FCW, AEB, LLDW278 * and RLDW of Warning (types.hpp:26-32). The publisher reads FCW and279 * AEB. A decision state of the candidate, no vehicle signal: phase 7's280 * warning state, whether the request has started and when, is formed281 * from it at the publisher (MAP-DRIVING-DA-PLANNED-WARNINGS).282 */283 attribute forwardCollisionWarning : Boolean;284 attribute emergencyBraking : Boolean;285 }286287 item def SimulatorAckermannControl {288 doc /*289 * The information that crosses to the simulator, and the only thing that290 * does: the Ackermann control that the actuation adapter applies to the ego291 * vehicle through the simulator client, the five fields of292 * carla.VehicleAckermannControl in the Python API reference of CARLA 1.0,293 * the same as in CARLA 0.9.16 (five floats in the client library's294 * VehicleAckermannControl): steer, the desired steering angle in rad,295 * positive to the right; steerSpeed, the steering velocity in rad/s, where296 * zero changes the angle as quickly as possible; speed, the desired speed297 * in m/s; acceleration, the desired acceleration in m/s²; and jerk, the298 * desired jerk in m/s³; each defaults to 0.0. The adapter sets steer,299 * speed, acceleration and jerk, as upstream's own simulator path sets them300 * (carla_control_publisher_node.py:43-54 at the pin); steerSpeed stays at301 * its default of 0.0. The driving command ends at the adapter; this is what302 * the simulated vehicle receives.303 */304 attribute steer : Real;305 attribute steerSpeed : Real;306 attribute speed : Real;307 attribute acceleration : Real;308 attribute jerk : Real;309 }310311 /* ───────────── Ports: one pair per item, whatever hop carries it ───────────── */312313 port def FrontCameraStreamOut {314 doc /* The front-camera image leaving an element: from the simulator server to a client, or from the camera interface to the perception in the process. */315 out item frontCameraImage : FrontCameraImage;316 }317 port def FrontCameraStreamIn {318 doc /* The front-camera image entering an element: the camera interface's client, or the perception in the process. */319 in item frontCameraImage : FrontCameraImage;320 }321 port def VehicleSpeedSampleOut {322 doc /* The typed speed sample leaving an element: from the simulator server, or from the vehicle interface to the planner in the process. */323 out item vehicleSpeed : VehicleSpeedSamplePayload;324 }325 port def VehicleSpeedSampleIn {326 doc /* The typed speed sample entering an element: the vehicle interface's client, or the planner in the process. */327 in item vehicleSpeed : VehicleSpeedSamplePayload;328 }329 port def AssessmentResultOut {330 doc /* The assessment leaving the perception and fusion, in the process. */331 out item assessment : VehicleAheadAssessment;332 }333 port def AssessmentResultIn {334 doc /* The assessment entering the planner, in the process. */335 in item assessment : VehicleAheadAssessment;336 }337 port def PlannedCommandOut {338 doc /* The plan's acceleration and steering leaving the planner, in the process. */339 out item plannedCommand : DrivingCommand;340 }341 port def PlannedCommandIn {342 doc /* The plan's acceleration and steering entering the vehicle interface, in the process. */343 in item plannedCommand : DrivingCommand;344 }345 port def PlannedWarningsOut {346 doc /* The plan's warnings leaving the planner, in the process. */347 out item plannedWarnings : PlannedWarnings;348 }349 port def PlannedWarningsIn {350 doc /* The plan's warnings entering the warning request publisher, in the process. */351 in item plannedWarnings : PlannedWarnings;352 }353 port def DrivingCommandEventOut {354 doc /* The typed driving command on the mw::com event (REQ-DRIVING-038). */355 out item drivingCommand : DrivingCommandEventPayload;356 }357 port def DrivingCommandEventIn {358 doc /* The typed driving command from the mw::com event into the actuation adapter. */359 in item drivingCommand : DrivingCommandEventPayload;360 }361 port def WarningRequestEventOut {362 doc /* The typed warning request leaving an element on any hop of the warning path (REQ-DRIVING-043). */363 out item warningRequest : WarningRequestEventPayload;364 }365 port def WarningRequestEventIn {366 doc /* The typed warning request entering an element on any hop of the warning path. */367 in item warningRequest : WarningRequestEventPayload;368 }369 port def CandidateRecordEventOut {370 doc /* The candidate record on the mw::com event from the identity recording application (REQ-DRIVING-044). */371 out item candidateRecord : CandidateIdentityRecord;372 }373 port def CandidateRecordEventIn {374 doc /* The candidate record from the mw::com event into the candidate's vehicle interface. */375 in item candidateRecord : CandidateIdentityRecord;376 }377 port def AckermannControlOut {378 doc /* The Ackermann control the actuation adapter applies at the simulated actuation. */379 out item ackermannControl : SimulatorAckermannControl;380 }381 port def AckermannControlIn {382 doc /* The Ackermann control the simulator server applies to the ego vehicle. */383 in item ackermannControl : SimulatorAckermannControl;384 }385386 /* ───────────── The software elements: one recording application, five modules of one process ───────────── */387388 part def CandidateIdentityRecordingApplication :> PhysicalAllocationElement {389 doc /*390 * Carries the identity recorder of phase 7, beside the software that391 * gives the commands and not inside it: an S-CORE application of its own,392 * in C++, DE4SDV code, which the Launch Manager starts first. Before the393 * candidate's process starts, it records the candidate identity of the394 * run as the terms of the requirements define it: the upstream revision,395 * the difference between the built source and that revision, the SHA-256396 * of each configuration, calibration, manifest and network file that the397 * candidate's process reads (vision_pilot.conf, H.yaml, the DE4SDV398 * interface configuration, the mw::com manifest of the process and the399 * network files that the configuration selects) and the launch settings400 * verbatim, the working directory included, since the process reads401 * H.yaml from it. It publishes the record on an mw::com event; the402 * candidate's vehicle interface publishes no driving command before the403 * record has arrived (REQ-DRIVING-044).404 */405 port candidateRecordOut : CandidateRecordEventOut;406 }407408 part def SCORECameraInterface :> PhysicalAllocationElement {409 doc /*410 * Carries the vehicle-ahead assessor of phase 7, together with the411 * perception and fusion: the camera input of the candidate's process, a412 * module of the DE4SDV S-CORE interface in C++ that implements the413 * candidate's camera interface. A client of the simulator, the C++ client414 * library of CARLA 1.0, receives the front-camera images over the bench415 * network, and the module hands the newest one to the loop as the frame416 * that vision_pilot.cpp:117 takes; it drops older images and counts each417 * image it drops, as upstream's own camera interface counts its dropped418 * frames. The frame goes to the loop without a time419 * (camera_interface.hpp:18): the module keeps its capture time, the420 * simulation time of the world snapshot the image was rendered in, and the421 * vehicle interface and the warning request publisher, modules of the same422 * interface, read it in the same pass of the loop. In a vehicle a camera423 * driver would stand here.424 */425 port frontCameraImageIn : FrontCameraStreamIn;426 port imageOut : FrontCameraStreamOut;427 }428429 part def VisionPilotPerceptionAndFusion :> PhysicalAllocationElement {430 doc /*431 * Carries the vehicle-ahead assessor of phase 7: the upstream modules of432 * the candidate at the pin, unchanged, that turn the image into the433 * assessment. They are the image preprocessing, the three networks434 * AutoSpeed, AutoSteer and AutoDrive on ONNX Runtime with the CUDA435 * provider in fp32 on the S-CORE host's GPU (vision_pilot.cpp:96-98,436 * 138; onnx_engine.cpp:36-38, 63-76), and the longitudinal and lateral437 * fusion. They give the closest object in the path with its438 * distance and its velocity, negative while it approaches439 * (longitudinal_fusion.hpp:13-18), and the geometry of the lane. They compute no time to collision, no needed440 * deceleration and no imminence, so the assessment of phase 6 is441 * realized in part (MAP-DRIVING-DA-ASSESSMENT); phase 10 judges the442 * imminence from the simulator's ground truth. They read no vehicle443 * speed: the speed reaches the planner only.444 */445 port imageIn : FrontCameraStreamIn;446 port assessmentOut : AssessmentResultOut;447 }448449 part def VisionPilotSafetyGuardianPlanner :> PhysicalAllocationElement {450 doc /*451 * Carries the warning requester and the driving commander of phase 7: the452 * planning module of the candidate's safety guardian at the pin,453 * unchanged. One call of its longitudinal planner gives the planned454 * acceleration (planning.cpp:51-52), and its lateral planner the455 * steering, a tyre angle in rad (planning.cpp:94-98). The456 * forward-collision warning and the emergency braking are two ranges of457 * that one planned acceleration: the warning from -5.0 to -3.0 m/s², the458 * emergency braking below -5.0 m/s² (planning.cpp:113-121). At the pin459 * there is no emergency function apart from this planner, so the warning460 * requester and the driving commander share it. The plan's warnings go to461 * the warning request publisher, which forms the warning request from462 * them; the exchange of phase 7 from the warning requester to the driving463 * commander, the warning state, has no realization in the candidate,464 * since one planned acceleration gives both the warning and the braking.465 * REQ-DRIVING-042 holds only if the planned acceleration reaches -3.0466 * m/s² at least 1.0 s of simulation time before it falls below -5.0 m/s²;467 * phase 10 judges it. The plan's acceleration and steering go to the468 * vehicle interface, its warnings to the warning request publisher, both469 * in the process.470 */471 port assessmentIn : AssessmentResultIn;472 port vehicleSpeedIn : VehicleSpeedSampleIn;473 port planOut : PlannedCommandOut;474 port plannedWarningsOut : PlannedWarningsOut;475 }476477 part def SCOREVehicleInterface :> PhysicalAllocationElement {478 doc /*479 * Carries the driving commander of phase 7, together with the planner:480 * the command output of the candidate's process, a module of the DE4SDV481 * S-CORE interface in C++ that implements the candidate's vehicle482 * interface (vehicle_interface.hpp:11-14). Its read gives the speed of483 * the ego vehicle in m/s from the simulator's world snapshot through its484 * client. Its write takes the plan's steering and acceleration, adds the485 * issue time, the capture simulation time of the frame the command was486 * computed from, which the interface module keeps from the camera487 * interface for the pass, a sequence count from 1 in each run and a488 * CRC-32 check value over the other fields, and publishes the command on489 * an mw::com event: the first hop of REQ-DRIVING-038, on S-CORE490 * communication and nothing beside it. It publishes no driving command491 * before the candidate record has arrived on its mw::com subscription492 * (REQ-DRIVING-044). The candidate's planner is not changed for any of493 * this.494 */495 port vehicleSpeedIn : VehicleSpeedSampleIn;496 port vehicleSpeedOut : VehicleSpeedSampleOut;497 port planIn : PlannedCommandIn;498 port candidateRecordIn : CandidateRecordEventIn;499 port drivingCommandOut : DrivingCommandEventOut;500 }501502 part def SCOREWarningRequestPublisher :> PhysicalAllocationElement {503 doc /*504 * Carries the warning requester of phase 7, together with the planner:505 * the warning output of the candidate's process, a module of the DE4SDV506 * S-CORE interface in C++, the realization of its own that phase 7 asked507 * for (gapWarningOutput). It takes the warnings of each plan through the508 * one hand-off added in the loop after vision_pilot.cpp:174 and publishes509 * the warning request on an mw::com event, the first hop of510 * REQ-DRIVING-043: requested is true while the plan holds a511 * forward-collision warning or an emergency braking, and the issue time512 * is the capture simulation time of the frame the plan was computed from,513 * which the interface module keeps from the camera interface for the514 * pass. The candidate's decision logic is not changed.515 */516 port plannedWarningsIn : PlannedWarningsIn;517 port warningRequestOut : WarningRequestEventOut;518 }519520 part def VisionPilotSCOREApplication {521 doc /*522 * The candidate's process as an Eclipse S-CORE application: one Linux523 * process, VisionPilot at 014e0e7a56ee8e597c2cab8175233f74edd9b856 built524 * with the DE4SDV S-CORE interface module and without ROS 2, started and525 * supervised by the Launch Manager of S-CORE Lifecycle. Its main function526 * takes the S-CORE branch beside the existing interface selection before527 * the loop (vision_pilot.cpp:59-79), and its loop hands the plan's528 * warnings to the warning request publisher after the write at529 * vision_pilot.cpp:174. The process links mw::com, the simulator's C++530 * client library, ONNX Runtime with its CUDA provider, OpenCV and the531 * Rerun SDK, a readiness item. It runs its five modules in the order of532 * the loop, once per frame: the camera interface, the perception and533 * fusion, the planner, then the vehicle interface and the warning534 * request publisher. Inside535 * the process the image, the assessment, the speed, the plan and the536 * warnings are hand-offs, and the interface module passes the capture537 * time of the frame from the camera interface to the vehicle interface538 * and the warning request publisher: no hops between processes; across539 * processes it speaks mw::com only. Beside the loop, on a thread of its540 * own, runs the DE4SDV visualization recorder of the visualization decision541 * of 2026-11-17, an observer of System 2: a second hand-off after the write542 * at vision_pilot.cpp:174 gives it a copy of the pass's image, inference543 * result, plan and speed. From the copy it draws upstream's visualization544 * at the pin, the drawing that visualization_on = true would do in the loop545 * (vision_pilot.cpp:176-181, visual_interface.hpp:77-82), and it encodes546 * each drawn image with the video encoder of the host's GPU into the547 * bench's recording. The loop never waits for it: a hand-off that finds it548 * busy replaces the copy that waits and is counted. It is no module of the549 * loop, carries no logical element and sends nothing to any element of the550 * candidate or of the path. Its configuration: engine.provider = cuda, as551 * upstream's configuration sets it (vision_pilot.conf:11), model.precision552 * = fp32, visualization_on = false, rrd_on = true for the evaluators'553 * record of the warnings, and speed_limit set per scenario by System 2.554 */555 port frontCameraImageIn : FrontCameraStreamIn;556 port vehicleSpeedIn : VehicleSpeedSampleIn;557 port candidateRecordIn : CandidateRecordEventIn;558 port drivingCommandOut : DrivingCommandEventOut;559 port warningRequestOut : WarningRequestEventOut;560561 part cameraInterface : SCORECameraInterface;562 part perceptionAndFusion : VisionPilotPerceptionAndFusion;563 part safetyGuardianPlanner : VisionPilotSafetyGuardianPlanner;564 part vehicleInterface : SCOREVehicleInterface;565 part warningRequestPublisher : SCOREWarningRequestPublisher;566567 bind frontCameraImageIn = cameraInterface.frontCameraImageIn;568 bind vehicleSpeedIn = vehicleInterface.vehicleSpeedIn;569 bind candidateRecordIn = vehicleInterface.candidateRecordIn;570 bind drivingCommandOut = vehicleInterface.drivingCommandOut;571 bind warningRequestOut = warningRequestPublisher.warningRequestOut;572 connection imageHandOff connect cameraInterface.imageOut to perceptionAndFusion.imageIn;573 connection assessmentHandOff connect perceptionAndFusion.assessmentOut to safetyGuardianPlanner.assessmentIn;574 connection vehicleSpeedHandOff connect vehicleInterface.vehicleSpeedOut to safetyGuardianPlanner.vehicleSpeedIn;575 connection plannedCommandHandOff connect safetyGuardianPlanner.planOut to vehicleInterface.planIn;576 connection plannedWarningsHandOff connect safetyGuardianPlanner.plannedWarningsOut to warningRequestPublisher.plannedWarningsIn;577 }578579 part def DriverAssistanceSoftwareRealization :> DriverAssistanceSystem {580 doc /*581 * The driver-assistance system as phase 8 realizes it: the same system582 * as the context's candidateSystem, now two programs on the S-CORE host,583 * the identity recording application and the candidate's process. The584 * boundary of phase 0 stays where it was: the S-CORE path and the AAOS585 * SDV are outside it, so the actuation adapter and the gateway processes586 * sit on the host beside the realization, not in it. Its ports are the587 * boundary items as the software types them: the front-camera image and588 * the vehicle speed in, the driving command and the warning request out,589 * each of the two outputs on the mw::com event that is the first hop of590 * REQ-DRIVING-038 or REQ-DRIVING-043. Between its two programs the591 * candidate record travels on an mw::com event. The application-middleware592 * adapter of the platform stack is the DE4SDV S-CORE interface module;593 * phase 9 derives it.594 */595 port frontCameraImageIn : FrontCameraStreamIn;596 port vehicleSpeedIn : VehicleSpeedSampleIn;597 port drivingCommandOut : DrivingCommandEventOut;598 port warningRequestOut : WarningRequestEventOut;599600 part identityRecording : CandidateIdentityRecordingApplication;601 part visionPilotApplication : VisionPilotSCOREApplication;602603 bind frontCameraImageIn = visionPilotApplication.frontCameraImageIn;604 bind vehicleSpeedIn = visionPilotApplication.vehicleSpeedIn;605 bind drivingCommandOut = visionPilotApplication.drivingCommandOut;606 bind warningRequestOut = visionPilotApplication.warningRequestOut;607 connection candidateRecordOverSCORECommunication connect identityRecording.candidateRecordOut to visionPilotApplication.candidateRecordIn;608 }609610 /* ───────────── The context realizations on the bench ───────────── */611612 part def DrivingCommandActuationAdapter {613 doc /*614 * The actuation end of the S-CORE path on the bench, a context realization:615 * an S-CORE application of its own, in C++, DE4SDV code, with a client of616 * the simulator over the bench network. It carries no logical element; it617 * is a share of the S-CORE path, which is outside the candidate. It618 * subscribes to the driving command event and checks each command against a619 * reference count: the highest sequence count among the commands received620 * earlier in the run whose check value holds, which is the count of the621 * last such command that was not rejected as a repetition (the adapter622 * counting decision of 2026-11-18). The reference count is 0 at the start623 * of each run, and the vehicle interface counts from 1 in each run, so the624 * first command is one more. The adapter checks the check value first, then625 * the sequence count, then the issue time. A command whose check value626 * fails is rejected (a corruption) and leaves the reference count627 * unchanged. A command whose sequence count is not greater than the628 * reference count is rejected (a repetition) and leaves the reference count629 * unchanged. A command whose sequence count is more than one greater than630 * the reference count is rejected (a loss is detected), and its count631 * becomes the reference count. A command whose sequence count is one more632 * than the reference count is accepted unless its issue time is older than633 * the newest world time by more than 0.1 s of simulation time, when it is634 * rejected (a delay); in both cases its count becomes the reference count.635 * A command that arrives before the adapter has a world snapshot, or whose636 * issue time is not a finite number, counts as older than the limit and is637 * rejected as a delay. A late command or a repetition costs that one638 * command; a loss or a corruption that the check value detects costs the639 * lost or corrupted command and the next one, which reveals the gap; none640 * of them makes later valid commands fail. A corruption that the check641 * value misses is none of them: the command counts as valid and, if its642 * sequence count is higher, that count becomes the reference count, so that643 * the later valid commands up to it are rejected as repetitions (the644 * check-value bound decision of 2026-11-21). Rejecting what it detects is645 * the share of the product that holds the path (REQ-MW-006). The issue time646 * and the newest world time are simulation times of world snapshots, on one647 * clock. It applies nothing in place of a rejected command: the simulator648 * keeps the last valid control. It has no stop response of its own.649 * REQ-DRIVING-038's success criterion runs SC-DRIVING-012 with the S-CORE650 * path stopped and requires that no driving command reaches the actuation651 * after the stop; a stop or a neutral control applied by the adapter would652 * blur that run, no requirement of this increment asks for a stop response,653 * and the share of REQ-MW-006 placed here is not applying the rejected654 * command. An accepted command becomes the simulator's Ackermann control by655 * the rule of MAP-DRIVING-DA-COMMAND. Its simulator client takes the656 * simulation time and the speed of the ego vehicle from the newest world657 * snapshot: the delay check needs the time, the speed rule of658 * MAP-DRIVING-DA-COMMAND the speed. The autopilot of the ego vehicle stays659 * off.660 */661 port drivingCommandIn : DrivingCommandEventIn;662 port simulationClockIn : SimulationClockIn;663 port vehicleSpeedIn : VehicleSpeedSampleIn;664 port ackermannControlOut : AckermannControlOut;665 }666667 part def DriverAssistanceSimulationServer {668 doc /*669 * The simulator server, System 2: CARLA 1.0 on Unreal Engine 5.8, at670 * 14ac3b1a50 (the simulator decision of 2026-11-15), which renders the671 * front camera of the ego vehicle and simulates its dynamics, the road and672 * the targets, so it stands for the vehicle and the road environment of the673 * phase 2 context on the bench. It runs in synchronous mode with a fixed674 * step of 0.05 s (the step decision of 2026-11-17), and a world-side pacer675 * of the bench's scenario tooling ticks it at wall-clock pace, so no676 * element of the candidate or of the path ticks the world (the clock677 * decision of 2026-11-08). Simulation time is the time of the world678 * snapshot, in seconds since the scenario started; each camera image679 * carries the simulation time of the snapshot it was rendered in. Three680 * clients connect to it over the bench network: the camera interface and681 * the vehicle interface of the candidate's process, and the actuation682 * adapter. The autopilot and the traffic manager have no control of the ego683 * vehicle. Its one sensor is the front camera of the rig below; the camera684 * of the bench's recording view stands for no sensor of the vehicle.685 */686 port frontCameraStreamOut : FrontCameraStreamOut;687 port vehicleSpeedOut : VehicleSpeedSampleOut;688 port simulationClockOut : SimulationClockOut;689 port ackermannControlIn : AckermannControlIn;690691 part cameraRig : FrontCameraRig;692 }693694 part def FrontCameraRig {695 doc /*696 * The bench's sensor, System 2: one front camera attached to the simulated697 * ego vehicle, standing for the vehicle's front camera of the phase 2698 * context. It renders one image per 0.1 s of simulation time, every second699 * step of the server (the step decision of 2026-11-17). Upstream's own rig700 * at the pin is one RGB camera of 1920 by 1280 pixels with a field of view701 * of 50 degrees, at the pose that702 * Simulation/CARLA/ROS2/config/carla916.json:5-15 gives. It sits on703 * vehicle.lincoln.mkz_2020 (carla916.json:2), which CARLA 1.0 does not704 * have, so the bench mounts the camera on another vehicle. The candidate705 * estimates distances through the homography of H.yaml, which has to match706 * the simulated camera (gapCameraImageAndGeometry). The speed comes from707 * the world snapshot, ground truth, not from a sensor. No connection,708 * binding or port inside: the server's ports carry the stream.709 */710 part frontCamera : SimulatedFrontCamera;711 }712713 part def SimulatedFrontCamera {714 doc /*715 * The rendered front camera: an image of the scene at the rig's size,716 * field of view and pose, stamped with the simulation time of its frame.717 * Rendered, not captured: no exposure, no motion blur and no lens718 * distortion beyond what the simulator models.719 */720 }721722 part def DriverAssistanceSDVCoreGuest {723 doc /*724 * The SDV Core VM of the AAOS SDV, context of the candidate: Android725 * under the guest host's KVM, with the SDV Core middleware. The SOME/IP726 * interop of SDV Core receives the warning request from someipd, and the727 * Data Tunnel publishes it as a typed topic that the IVI VM subscribes728 * to. The message type of the warning request is new and stays open729 * until phase 10, like the operational-state message of INC-DRIVING-001.730 * The SDV Core boundary model of packages/architecture is referenced and731 * bound to the middleware layer; nothing of it is built by DE4SDV.732 */733 port someIpIn : WarningRequestEventIn;734 port topicOut : DataTunnelPort;735 part os : AndroidHLOS;736 part sdvMiddleware : AndroidSDVMiddleware;737 ref part sdvCore : SDVCoreBoundary;738 bind sdvCore = sdvMiddleware;739 bind someIpIn = sdvCore.someIp.someIpPort;740 connection warningRequestTopicPublishedByBroker connect sdvCore.someIp.topicPublishOut to sdvCore.dataTunnel.topicPublishPort;741 bind topicOut = sdvCore.dataTunnel.topicSubscribePort;742 }743744 part def CollisionWarningPresentationApplication :> DriverWarningPresentation {745 doc /*746 * The warning presentation of phase 2 on the IVI VM, a build item of the747 * bench, named here, not claimed: an Android application that subscribes748 * to the warning-request topic through the SDV Gateway and, when a749 * request starts, shows the collision warning on the display and starts750 * a warning sound. It sends nothing to the candidate. Of the 0.2 s of751 * wall-clock time that REQ-DRIVING-042 allots from the request to each752 * mode of the warning, 0.1 s is the path's, from the publisher's send to753 * the receipt by this application, and 0.1 s is this application's, from754 * the receipt to the first displayed frame with the warning and to the755 * start of the sound. It logs the receipt, the displayed frame and the756 * start of the sound with their times for phase 10. It is not the757 * informational visualization of the AEBS visualization increment.758 */759 port warningRequestIn : WarningRequestEventIn;760 }761762 part def DriverAssistanceIVIGuest {763 doc /*764 * The IVI VM of the AAOS SDV, context of the candidate: Android under the765 * guest host's KVM, with the SDV Gateway and the warning presentation,766 * which gives the driver the collision warning on the display and as a767 * sound. The presentation subscribes to the typed topic through the SDV768 * Gateway and sends nothing to the driver-assistance system.769 */770 port topicIn : DataTunnelPort;771 part os : AndroidHLOS;772 part sdvGateway : SDVGatewayOnIVIBoundary;773 part warningPresentation : CollisionWarningPresentationApplication;774 bind topicIn = sdvGateway.dataTunnelPort;775 connection warningRequestThroughSDVGateway connect sdvGateway.clientPort to warningPresentation.warningRequestIn;776 }777778 part def DriverAssistanceSCOREHost {779 doc /*780 * The S-CORE host of the bench (the three-host decision of 2026-11-09,781 * carried over): x86_64 Linux with a GPU of its own, an NVIDIA L4, for782 * the candidate's networks (the GPU decision of 2026-11-15). It owns its783 * platform layer, the software realization of the candidate and, beside784 * it, the share of the S-CORE path on the host: the actuation adapter785 * and the S-CORE services. The camera stream and the speed786 * arrive from the simulator host over the bench network for the787 * candidate's process, the simulation clock and the speed for the788 * actuation adapter, and the Ackermann control leaves for the simulator789 * host; the warning request leaves on SOME/IP over the VXLAN segment into790 * the guests' bridge, where the host takes 192.168.98.1 as in791 * INC-DRIVING-001. The host's ports are bound to the ports of the792 * elements that own the exchanges, as the realization of INC-DRIVING-001793 * binds its own; the S-CORE path view draws the binds as edges between794 * exposed ports.795 */796 port frontCameraImageIn : FrontCameraStreamIn;797 port vehicleSpeedIn : VehicleSpeedSampleIn;798 port simulationClockIn : SimulationClockIn;799 port adapterVehicleSpeedIn : VehicleSpeedSampleIn;800 port ackermannControlOut : AckermannControlOut;801 port warningRequestOut : WarningRequestEventOut;802 part os : LinuxPlatform;803 part assistanceSoftware : DriverAssistanceSoftwareRealization;804 part actuationAdapter : DrivingCommandActuationAdapter;805 part scoreServices : EclipseSCORE {806 doc /*807 * The S-CORE services of the host, one instance, a share of the S-CORE808 * path outside the candidate: Lifecycle's Launch Manager starts the809 * identity recording application first, then the candidate's process810 * and the actuation adapter, and supervises them; the SOME/IP gateway811 * of INC-MW-011 (gatewayd and someipd at d9eac670) carries the warning812 * request out of the host. They carry no logical element.813 */814 part launchManager {815 doc /*816 * The Launch Manager of S-CORE Lifecycle v0.10.0: starts the identity817 * recording application before the candidate's process, so that the818 * candidate record exists before the first driving command, and819 * supervises the three programs. Stopping the candidate's process or820 * the actuation adapter through it stops the S-CORE path of the821 * candidate for the further run of REQ-DRIVING-038.822 */823 }824 part gatewayd {825 doc /*826 * The gatewayd process of the S-CORE SOME/IP gateway: subscribes to827 * the warning-request event on mw::com and hands it to someipd over828 * the gateway's IPC. A process of the pinned gateway, not DE4SDV829 * code, and incubation code outside both baselines.830 */831 port warningRequestIn : WarningRequestEventIn;832 port warningRequestOut : WarningRequestEventOut;833 }834 part someipd {835 doc /*836 * The someipd process of the S-CORE SOME/IP gateway: offers the837 * warning-request service on SOME/IP and sends each event over the838 * VXLAN segment to the SOME/IP interop of SDV Core. A process of the839 * pinned gateway, not DE4SDV code.840 */841 port warningRequestIn : WarningRequestEventIn;842 port warningRequestOut : WarningRequestEventOut;843 }844 }845 bind frontCameraImageIn = assistanceSoftware.frontCameraImageIn;846 bind vehicleSpeedIn = assistanceSoftware.vehicleSpeedIn;847 bind simulationClockIn = actuationAdapter.simulationClockIn;848 bind adapterVehicleSpeedIn = actuationAdapter.vehicleSpeedIn;849 bind ackermannControlOut = actuationAdapter.ackermannControlOut;850 bind warningRequestOut = scoreServices.someipd.warningRequestOut;851 connection drivingCommandOverSCORECommunication connect assistanceSoftware.drivingCommandOut to actuationAdapter.drivingCommandIn;852 connection warningRequestOverSCORECommunication connect assistanceSoftware.warningRequestOut to scoreServices.gatewayd.warningRequestIn;853 connection warningRequestOverGatewayIPC connect scoreServices.gatewayd.warningRequestOut to scoreServices.someipd.warningRequestIn;854 }855856 part def DriverAssistanceSimulatorHost {857 doc /*858 * The simulator host of the bench (the three-host decision of859 * 2026-11-09, carried over): x86_64 Linux with its own GPU for the860 * simulator's rendering, an NVIDIA RTX PRO 6000 (the simulator host861 * decision of 2026-11-17). It owns its platform layer and the simulator862 * server. The camera stream, the speed and the simulation clock leave863 * it, and the Ackermann control enters it, over the bench network to and864 * from the S-CORE host.865 */866 port frontCameraStreamOut : FrontCameraStreamOut;867 port vehicleSpeedOut : VehicleSpeedSampleOut;868 port simulationClockOut : SimulationClockOut;869 port ackermannControlIn : AckermannControlIn;870 part os : LinuxPlatform;871 part carlaServer : DriverAssistanceSimulationServer;872 connection frontCameraStreamDelegation connect carlaServer.frontCameraStreamOut to frontCameraStreamOut;873 connection vehicleSpeedDelegation connect carlaServer.vehicleSpeedOut to vehicleSpeedOut;874 connection simulationClockDelegation connect carlaServer.simulationClockOut to simulationClockOut;875 connection ackermannControlDelegation connect ackermannControlIn to carlaServer.ackermannControlIn;876 }877878 part def DriverAssistancePhysicalSystem {879 doc /*880 * The physical context of the bench: three hosts and the two AAOS SDV881 * guests. The guest host is INC-DRIVING-001's definition, reused: Linux882 * with KVM and no element of the driver-assistance system. The883 * simulator's exchanges cross the bench network between the simulator884 * host and the S-CORE host, and into the simulator goes the Ackermann885 * control and nothing else. The warning request crosses the VXLAN886 * segment once on SOME/IP, from someipd to the SDV Core VM, and the VMs887 * once on the Data Tunnel, from the SDV Core VM to the IVI VM. Nothing888 * crosses back. The S-CORE host's inside is drawn by the S-CORE path889 * view.890 */891 part scoreHost : DriverAssistanceSCOREHost;892 part simulatorHost : DriverAssistanceSimulatorHost;893 part guestHost : AAOSGuestHost;894 part sdvCoreGuest : DriverAssistanceSDVCoreGuest;895 part iviGuest : DriverAssistanceIVIGuest;896 interface sdvCoreGuestUnderKVM : OSHypervisorInterface897 connect sdvCoreGuest.os.hypervisorPort to guestHost.hypervisor.guestPort;898 interface iviGuestUnderKVM : OSHypervisorInterface899 connect iviGuest.os.hypervisorPort to guestHost.hypervisor.guestPort;900 connection frontCameraStreamOverBenchNetwork connect simulatorHost.frontCameraStreamOut to scoreHost.frontCameraImageIn {901 doc /* The front-camera images from the simulator host to the camera interface of the candidate's process, over the bench network. */902 }903 connection vehicleSpeedOverBenchNetwork connect simulatorHost.vehicleSpeedOut to scoreHost.vehicleSpeedIn {904 doc /* The speed of the ego vehicle from the simulator host to the vehicle interface of the candidate's process, over the bench network. */905 }906 connection vehicleSpeedToActuationOverBenchNetwork connect simulatorHost.vehicleSpeedOut to scoreHost.adapterVehicleSpeedIn {907 doc /* The speed of the ego vehicle from the simulator host to the actuation adapter, over the bench network, for the speed rule of MAP-DRIVING-DA-COMMAND. */908 }909 connection simulationClockOverBenchNetwork connect simulatorHost.simulationClockOut to scoreHost.simulationClockIn {910 doc /* The world snapshot's simulation time from the simulator host to the actuation adapter, over the bench network. */911 }912 connection ackermannControlOverBenchNetwork connect scoreHost.ackermannControlOut to simulatorHost.ackermannControlIn {913 doc /* The Ackermann control from the actuation adapter to the simulator host, over the bench network, and nothing else. */914 }915 connection warningRequestOverSOMEIPAcrossVXLANSegment connect scoreHost.warningRequestOut to sdvCoreGuest.someIpIn {916 doc /* The warning request on SOME/IP from someipd to the SDV Core VM's interop, over the VXLAN segment that joins the S-CORE host to the guests' bridge (guest images unchanged). */917 }918 connection warningRequestTopicOverDataTunnelAcrossVMs connect sdvCoreGuest.topicOut to iviGuest.topicIn {919 doc /* The warning request as the Data Tunnel topic from the SDV Core VM to the IVI VM; its message type stays open until phase 10. */920 }921 }922923 part driverAssistancePhysicalSystem : DriverAssistancePhysicalSystem;924925 part driverAssistanceSCOREHost : DriverAssistanceSCOREHost {926 doc /*927 * Exists for the S-CORE path view, which draws usages: the same host as928 * the physical system's scoreHost, not a second one. Drawn from the929 * system's usage, the view would also draw the system's connections to930 * the host's ports as boxes with two ends.931 */932 }933934 /* ───────────── Logical-to-physical allocations (allocatedTo) ───────────── */935936 allocation recorderToIdentityRecording allocate DriverAssistanceLogicalSystem::identityRecorder to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::identityRecording;937 allocation assessorToCameraInterface allocate DriverAssistanceLogicalSystem::vehicleAheadAssessor to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::cameraInterface;938 allocation assessorToPerceptionAndFusion allocate DriverAssistanceLogicalSystem::vehicleAheadAssessor to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::perceptionAndFusion;939 allocation requesterToSafetyGuardianPlanner allocate DriverAssistanceLogicalSystem::warningRequester to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::safetyGuardianPlanner;940 allocation requesterToWarningRequestPublisher allocate DriverAssistanceLogicalSystem::warningRequester to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::warningRequestPublisher;941 allocation commanderToSafetyGuardianPlanner allocate DriverAssistanceLogicalSystem::drivingCommander to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::safetyGuardianPlanner;942 allocation commanderToVehicleInterface allocate DriverAssistanceLogicalSystem::drivingCommander to driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::vehicleInterface;943944 /* ───────────── The path requirements, carried by the elements that publish on the path ───────────── */945946 dependency drivingCommandPublisherCarriesCommandOverSCORE from SCOREVehicleInterface to reqDrivingCommandOverSCORE;947 dependency warningRequestPublisherCarriesWarningOverSCORE from SCOREWarningRequestPublisher to reqWarningRequestOverSCORE;948949 /* ───────────── System-to-software signal mappings (the method's phase 8 exit rule) ─────────────950 * One per crossing of an information item into a software contract, each951 * with its record. A mapping is no runtime-interoperability claim. The952 * owning allocation targets the port where the item enters the contract,953 * written as a feature chain through the usage (the ports are declared on954 * the definitions, so a qualified name would resolve to the definition's955 * port, outside the realizing usage).956 */957958 allocation cameraImageIngressMapping : SystemToSoftwareSignalMappingCandidate959 allocate DriverAssistanceLogicalSystem::vehicleAheadAssessor960 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.cameraInterface.frontCameraImageIn {961 item <'MAP-DRIVING-DA-CAMERA-IMAGE'> cameraImageIngressMappingRecord : LogicalToSoftwareSignalMappingRecord {962 doc /*963 * The front-camera image from the simulator's camera into the camera964 * interface of the candidate's process: the ingress of the candidate965 * through the simulator client. An image is no vehicle signal.966 */967 attribute :>> semanticSource = "the front-camera image of the ego vehicle, rendered by the simulator: image frames, no vehicle signal, so no VSS typing applies; the receiving contract is the candidate's camera interface at 014e0e7a";968 attribute :>> softwareContractArtifact = "in: the camera sensor stream of the simulator client library of CARLA 1.0, an RGB camera as in upstream's rig (Simulation/CARLA/ROS2/config/carla916.json:5-15), candidate; out: the frame that the candidate's loop takes (vision_pilot.cpp:117), candidate";969 attribute :>> softwareContractMessage = "in: one RGB image per 0.1 s of simulation time, every second simulation step (the step decision of 2026-11-17), with its frame number and simulation time, candidate; out: one image per pass of the loop, candidate";970 attribute :>> softwareContractField = "in: raw image buffer, width, height, field of view, frame number and simulation time, exact per the client library; out: the image to the loop, candidate, and its capture time to the vehicle interface and the warning request publisher inside the interface module, candidate";971 attribute :>> dataTypeAndUnit = "in: 8-bit BGRA pixels, 1920 by 1280 at a field of view of 50 degrees in upstream's rig; out: 8-bit BGR pixels; the capture time in simulation seconds";972 attribute :>> timingQualityAndState = "one image per 0.1 s of simulation time; the camera interface hands on the newest image, drops older ones and counts each image it drops; the candidate's fusion takes two processed frames as 0.1 s apart, its nominal step, since no step is passed to it (longitudinal_fusion.hpp:40, inference.cpp:206-207), so every run reports the images dropped, and phase 10 judges no run whose judged window holds a dropped image; the capture time is the simulation time of the world snapshot the image was rendered in";973 attribute :>> transformationRule = "BGRA to BGR, no resampling; the camera calibration is no part of the item: the candidate reads the homography from H.yaml in its working directory (vision_pilot.cpp:114), which has to match the simulated camera";974 attribute :>> disposition = SignalMappingDisposition::candidate;975 attribute :>> owner = "DE4SDV maintainers";976 attribute :>> nextAction = "check that H.yaml matches the simulated camera, then bring the verification cases of REQ-DRIVING-036, -040 and -041 to evidence of record; none is started";977 attribute :>> evidenceOrGap = "no runtime evidence of record; framing gap gapCameraImageAndGeometry";978 }979 }980981 allocation vehicleSpeedIngressMapping : SystemToSoftwareSignalMappingCandidate982 allocate DriverAssistanceLogicalSystem::drivingCommander983 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.vehicleInterface.vehicleSpeedIn {984 item <'MAP-DRIVING-DA-VEHICLE-SPEED'> vehicleSpeedIngressMappingRecord : LogicalToSoftwareSignalMappingRecord {985 doc /*986 * The speed of the ego vehicle from the simulator's world snapshot into987 * the vehicle interface of the candidate's process, which hands it to988 * the planner. The owning allocation targets the typed port; its item989 * VehicleSpeedSamplePayload types the speed by COVESA VSS.990 */991 attribute :>> semanticSource = "the speed of the ego vehicle from the simulator's world snapshot, typed at the port by COVESA VSS Vehicle_Speed [km/h]";992 attribute :>> softwareContractArtifact = "in: the velocity of the ego vehicle in the world snapshot of the simulator client library of CARLA 1.0, candidate; out: the value that the candidate's vehicle interface read returns to the loop (vehicle_interface.hpp:11, vision_pilot.cpp:142), candidate";993 attribute :>> softwareContractMessage = "in: the velocity vector per world snapshot, candidate; out: VehicleSpeedSamplePayload, one per pass of the loop, candidate";994 attribute :>> softwareContractField = "in: velocity x, y and z and the frame of the snapshot, exact per the client library; out: speed, sampleTime, exact";995 attribute :>> dataTypeAndUnit = "in: float m/s; at the port: speed : Vehicle_Speed km/h and sampleTime in simulation seconds; the candidate's planner takes m/s";996 attribute :>> timingQualityAndState = "read once per pass of the loop that has an inference result, after the inference (vision_pilot.cpp:142); the sample time is the simulation time of the snapshot";997 attribute :>> transformationRule = "speed = |velocity| * 3.6 as the VSS km/h value, and the planner takes speed / 3.6 in m/s; the speed reaches the planner only, not the perception: phase 7 delegates the speed to the vehicle-ahead assessor too, but the candidate's perception reads none (vision_pilot.cpp:138, 142)";998 attribute :>> disposition = SignalMappingDisposition::candidate;999 attribute :>> owner = "DE4SDV maintainers";1000 attribute :>> nextAction = "bring the verification cases of REQ-DRIVING-036 and -037 to evidence of record; none is started";1001 attribute :>> evidenceOrGap = "no runtime evidence of record; framing assumption asmSimulatedConfigurationStandsIn (the speed is the simulator's ground truth)";1002 }1003 }10041005 allocation vehicleAheadAssessmentMapping : SystemToSoftwareSignalMappingCandidate1006 allocate DriverAssistanceLogicalSystem::vehicleAheadAssessor1007 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.perceptionAndFusion.assessmentOut {1008 item <'MAP-DRIVING-DA-ASSESSMENT'> vehicleAheadAssessmentMappingRecord : LogicalToSoftwareSignalMappingRecord {1009 doc /*1010 * The assessment from the candidate's perception and fusion to its1011 * planner, a hand-off in the process. It realizes the assessment of1012 * phase 6 in part. An estimate, no vehicle signal.1013 */1014 attribute :>> semanticSource = "the assessment of the vehicle ahead as the candidate computes it: the closest object in the path with its distance and its velocity, and the geometry of the lane; an estimate, no vehicle signal";1015 attribute :>> softwareContractArtifact = "in-process: the inference result of the candidate's pipeline at 014e0e7a, the estimate of the closest object of longitudinal_fusion.hpp:13-18 and the lateral estimate, handed to the planner in the same pass of the loop (vision_pilot.cpp:138-158), candidate";1016 attribute :>> softwareContractMessage = "one inference result per frame for which the pipeline gives a result, candidate";1017 attribute :>> softwareContractField = "cipo valid, distance_m and velocity_ms; lateral cte_m, yaw_rad and curvature, exact per the pinned source";1018 attribute :>> dataTypeAndUnit = "float metres, m/s with negative values while approaching, rad and 1/m";1019 attribute :>> timingQualityAndState = "computed from each frame for which the pipeline gives a result; a pass without a result plans nothing";1020 attribute :>> transformationRule = "none in the process; the candidate computes no time to collision, no needed deceleration and no imminence, so the assessment of phase 6 is realized in part, and phase 10 judges the imminence from the simulator's ground truth";1021 attribute :>> disposition = SignalMappingDisposition::candidate;1022 attribute :>> owner = "DE4SDV maintainers";1023 attribute :>> nextAction = "bring the verification cases of REQ-DRIVING-040 and -041 to evidence of record; none is started";1024 attribute :>> evidenceOrGap = "no runtime evidence of record; framing gap gapCameraImageAndGeometry (the distance estimate)";1025 }1026 }10271028 allocation plannedWarningsMapping : SystemToSoftwareSignalMappingCandidate1029 allocate DriverAssistanceLogicalSystem::warningRequester1030 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.safetyGuardianPlanner.plannedWarningsOut {1031 item <'MAP-DRIVING-DA-PLANNED-WARNINGS'> plannedWarningsMappingRecord : LogicalToSoftwareSignalMappingRecord {1032 doc /*1033 * The warnings of the candidate's plan from the planner to the warning1034 * request publisher, a hand-off in the process, typed by1035 * PlannedWarnings. A decision state, no vehicle signal; the publisher1036 * forms the warning request from it.1037 */1038 attribute :>> semanticSource = "the warnings of the candidate's plan, a forward-collision warning or an emergency braking from the one planned acceleration: a decision state, no vehicle signal";1039 attribute :>> softwareContractArtifact = "in-process: the warnings of the plan (Plan in types.hpp:34-38, Warning in types.hpp:26-32), handed to the warning request publisher in the loop after vision_pilot.cpp:174, candidate";1040 attribute :>> softwareContractMessage = "PlannedWarnings, one per plan, candidate";1041 attribute :>> softwareContractField = "warnings: FCW, AEB, LLDW and RLDW, exact per the pinned source; the publisher reads FCW and AEB";1042 attribute :>> dataTypeAndUnit = "an enumeration, no unit";1043 attribute :>> timingQualityAndState = "one list per plan, in the same pass of the loop as the driving command";1044 attribute :>> transformationRule = "FCW for a planned acceleration from -5.0 to -3.0 m/s², AEB below -5.0 m/s² (planning.cpp:113-121); the planner is not changed";1045 attribute :>> disposition = SignalMappingDisposition::candidate;1046 attribute :>> owner = "DE4SDV maintainers";1047 attribute :>> nextAction = "bring the verification cases of REQ-DRIVING-040 and -042 to evidence of record; none is started";1048 attribute :>> evidenceOrGap = "no runtime evidence of record; framing gaps gapNoSeparateEmergencyFunction and gapWarningOutput";1049 }1050 }10511052 allocation plannedCommandMapping : SystemToSoftwareSignalMappingCandidate1053 allocate DriverAssistanceLogicalSystem::drivingCommander1054 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.safetyGuardianPlanner.planOut {1055 item <'MAP-DRIVING-DA-PLAN'> plannedCommandMappingRecord : LogicalToSoftwareSignalMappingRecord {1056 doc /*1057 * The acceleration and the steering of the candidate's plan from the1058 * planner to the vehicle interface, a hand-off in the process. A plan,1059 * no vehicle signal; the VSS typing starts at the command event.1060 */1061 attribute :>> semanticSource = "the planned acceleration and steering of the candidate's plan: a plan, no vehicle signal; the VSS typing starts at the command event (MAP-DRIVING-DA-COMMAND)";1062 attribute :>> softwareContractArtifact = "in-process: the acceleration and the steering of the plan (Plan in types.hpp:34-38) that the loop writes to the vehicle interface at vision_pilot.cpp:174, candidate";1063 attribute :>> softwareContractMessage = "one plan per frame for which the pipeline gives a result, candidate";1064 attribute :>> softwareContractField = "acceleration and steering[1], exact per the pinned source";1065 attribute :>> dataTypeAndUnit = "acceleration float m/s², negative decelerates; steering a tyre angle in rad, taken in the sign of CARLA's steer, positive to the right, as upstream's own simulator path takes it (ASM-DRIVING-006)";1066 attribute :>> timingQualityAndState = "one plan per pass of the loop that has an inference result, from the frame of that pass";1067 attribute :>> transformationRule = "identity; the steering written is the second sample of the lateral plan, steering[1]";1068 attribute :>> disposition = SignalMappingDisposition::candidate;1069 attribute :>> owner = "DE4SDV maintainers";1070 attribute :>> nextAction = "bring the verification cases of REQ-DRIVING-036, -037 and -041 to evidence of record; none is started";1071 attribute :>> evidenceOrGap = "no runtime evidence of record; framing gap gapNoSeparateEmergencyFunction";1072 }1073 }10741075 allocation drivingCommandMapping : SystemToSoftwareSignalMappingCandidate1076 allocate DriverAssistanceLogicalSystem::drivingCommander1077 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.vehicleInterface.drivingCommandOut {1078 item <'MAP-DRIVING-DA-COMMAND'> drivingCommandMappingRecord : LogicalToSoftwareSignalMappingRecord {1079 doc /*1080 * The driving command from the candidate's vehicle interface to the1081 * actuation adapter on the mw::com event: the first hop of1082 * REQ-DRIVING-038. The owning allocation targets the typed port; its1083 * item DrivingCommandEventPayload types the acceleration and the1084 * steering angle by the two DE4SDV_VSS_Extensions candidates.1085 */1086 attribute :>> semanticSource = "the driving command of the candidate, typed at the port by Vehicle_ADAS_Driving_Command_Acceleration [m/s^2] and Vehicle_ADAS_Driving_Command_SteeringAngle [degrees], two DE4SDV candidates absent from the pinned VSS snapshot; the issue time, the sequence count and the check value are protocol fields, no vehicle signal";1087 attribute :>> softwareContractArtifact = "out: the mw::com driving-command event from the candidate's process to the actuation adapter, candidate; S-CORE communication and nothing beside it (REQ-DRIVING-038)";1088 attribute :>> softwareContractMessage = "out: DrivingCommandEventPayload, one event per command, candidate";1089 attribute :>> softwareContractField = "out: acceleration, steeringAngle, issueTime, sequenceCount, checkValue, exact";1090 attribute :>> dataTypeAndUnit = "out: acceleration float m/s^2, negative decelerates; steeringAngle float degrees, positive to the left; issueTime in simulation seconds; sequenceCount an unsigned 32-bit count from 1 in each run; checkValue the CRC-32 over the other fields";1091 attribute :>> timingQualityAndState = "one command per plan; none before the candidate record has arrived (REQ-DRIVING-044); the issue time is the capture simulation time of the frame the command was computed from";1092 attribute :>> transformationRule = "acceleration unchanged; steeringAngle = -steering[1] * 180 / pi: the integration takes the candidate's steering in the sign of CARLA's steer, positive to the right, as upstream's own simulator path does, which gives the steering to CARLA's steer without a change (vehicle_ros2_interface.cpp:67, carla_control_publisher_node.py:49), and the VSS steering angle is positive to the left (ASM-DRIVING-006). At the actuation adapter, for CARLA's Ackermann control, whose steer is positive to the right (the Python API references of CARLA 1.0 and of CARLA 0.9.16, which upstream's path runs): steer = -steeringAngle * pi / 180 in rad, so the simulator receives the candidate's steering unchanged, as on upstream's path; speed = max(0, v + 2 * acceleration) with v the speed of the ego vehicle in the newest world snapshot, acceleration unchanged and jerk = 10.0, as upstream's own simulator path sets them (carla_control_publisher_node.py:44-53); steerSpeed stays at its default of 0.0. The adapter checks the check value, then the sequence count, then the issue time, against the reference count, the highest sequence count among the commands received earlier in the run whose check value holds, 0 at the start of the run: it rejects a command whose check value fails, whose sequence count is not one more than the reference count, or whose issue time is older than the newest world time by more than 0.1 s of simulation time, and applies nothing in its place; the count of a command whose check value holds and whose count is greater than the reference count becomes the reference count, whether the command is accepted or not (REQ-DRIVING-039, REQ-MW-006, the adapter counting decision of 2026-11-18)";1093 attribute :>> disposition = SignalMappingDisposition::candidate;1094 attribute :>> owner = "DE4SDV maintainers";1095 attribute :>> nextAction = "run the calibrations of ASM-DRIVING-005 and ASM-DRIVING-006, then bring the verification cases of REQ-DRIVING-036, -038, -039 and -044 to evidence of record; none is started";1096 attribute :>> evidenceOrGap = "no runtime evidence of record; ASM-DRIVING-005 (the simulated vehicle follows the commanded deceleration) and ASM-DRIVING-006 (the candidate's steering turns the vehicle toward its lane centre)";1097 }1098 }10991100 allocation warningRequestMapping : SystemToSoftwareSignalMappingCandidate1101 allocate DriverAssistanceLogicalSystem::warningRequester1102 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.visionPilotApplication.warningRequestPublisher.warningRequestOut {1103 item <'MAP-DRIVING-DA-WARNING-REQUEST'> warningRequestMappingRecord : LogicalToSoftwareSignalMappingRecord {1104 doc /*1105 * The warning request on the warning path, hop by hop: the publisher's1106 * mw::com event, gatewayd to someipd over the gateway's IPC, SOME/IP1107 * over the VXLAN segment into the SOME/IP interop of SDV Core, the Data1108 * Tunnel topic to the SDV Gateway on the IVI VM, the warning1109 * presentation. One mapping covers the processes of the chain; the1110 * owning allocation targets the publisher's port, where the item1111 * enters the S-CORE contract: the first hop of REQ-DRIVING-043.1112 */1113 attribute :>> semanticSource = "the warning request of the candidate, typed at the port by Vehicle_ADAS_AEBS_DriverWarning_IsActive, the DE4SDV candidate for an AEBS that requests or presents a driver collision warning; the issue time is no vehicle signal";1114 attribute :>> softwareContractArtifact = "out: the mw::com warning-request event from the candidate's process; gatewayd and someipd of the SOME/IP gateway at d9eac670; SOME/IP over the VXLAN segment into the SOME/IP interop of SDV Core; a Data Tunnel topic to the SDV Gateway on the IVI VM and the warning presentation. The event, the SOME/IP service and the topic are new, candidate; on the Eclipse S-CORE path and nothing beside it (REQ-DRIVING-043)";1115 attribute :>> softwareContractMessage = "WarningRequestEventPayload, one event per plan; on the guest a new typed message for the warning request, open until phase 10, candidate";1116 attribute :>> softwareContractField = "requested, issueTime, exact; the fields of the message on the guest are not typed in this model yet";1117 attribute :>> dataTypeAndUnit = "requested boolean; issueTime in simulation seconds";1118 attribute :>> timingQualityAndState = "one event per plan; a request starts with the first event that is true after one that is false. Of the 0.2 s of wall-clock time that REQ-DRIVING-042 allots from the request to each mode of the warning, 0.1 s is for the path, from the publisher's send to the receipt by the warning presentation on the IVI VM, and 0.1 s is for the presentation, from the receipt to the first displayed frame with the warning and to the start of the sound. Basis: the latency of the same chain was measured in a readiness probe of INC-DRIVING-001; the start of the sound on the guest is unmeasured, and the split is revisited when it is measured";1119 attribute :>> transformationRule = "requested = the plan's warnings hold FCW or AEB; issueTime = the capture simulation time of the frame the plan was computed from; serialization to the new message at the SOME/IP interop of SDV Core; no value changes on the path";1120 attribute :>> disposition = SignalMappingDisposition::candidate;1121 attribute :>> owner = "DE4SDV maintainers";1122 attribute :>> nextAction = "type the message on the guest, then bring the verification cases of REQ-DRIVING-040, -042 and -043 to evidence of record; none is started";1123 attribute :>> evidenceOrGap = "no runtime evidence of record; framing assumption asmBenchReuse (whether the reused path carries the warning in time)";1124 }1125 }11261127 allocation candidateRecordMapping : SystemToSoftwareSignalMappingCandidate1128 allocate DriverAssistanceLogicalSystem::identityRecorder1129 to driverAssistancePhysicalSystem.scoreHost.assistanceSoftware.identityRecording.candidateRecordOut {1130 item <'MAP-DRIVING-DA-CANDIDATE-RECORD'> candidateRecordMappingRecord : LogicalToSoftwareSignalMappingRecord {1131 doc /*1132 * The candidate record from the identity recording application to the1133 * candidate's vehicle interface on an mw::com event, and the record1134 * file the evaluators keep. A record of files and settings, no vehicle1135 * signal.1136 */1137 attribute :>> semanticSource = "the candidate identity of the run as the terms of the requirements define it: a record of files and settings, no vehicle signal";1138 attribute :>> softwareContractArtifact = "out: the mw::com candidate-record event from the identity recording application to the candidate's vehicle interface, and the record file the evaluators keep, candidate";1139 attribute :>> softwareContractMessage = "one record per run, published before the candidate's process starts, candidate";1140 attribute :>> softwareContractField = "the upstream revision, the source difference, the SHA-256 of each configuration, calibration, manifest and network file that the candidate's process reads (vision_pilot.conf, H.yaml, the DE4SDV interface configuration, the mw::com manifest and the network files) and the launch settings with the working directory, candidate";1141 attribute :>> dataTypeAndUnit = "strings; each SHA-256 in hexadecimal";1142 attribute :>> timingQualityAndState = "once per run, before the candidate's process starts; the vehicle interface publishes no driving command before the record has arrived (REQ-DRIVING-044); the record has to reach the vehicle interface, which subscribes after it was published; how mw::com delivers it is a readiness item (phase8ScoreIntegrationPlaced)";1143 attribute :>> transformationRule = "the difference is that of the built source against 014e0e7a56ee8e597c2cab8175233f74edd9b856: every build on the S-CORE path carries the DE4SDV S-CORE interface, so the difference is never empty (gapCandidateBehaviorUnverified)";1144 attribute :>> disposition = SignalMappingDisposition::candidate;1145 attribute :>> owner = "DE4SDV maintainers";1146 attribute :>> nextAction = "bring the verification cases of REQ-DRIVING-044 to evidence of record; none is started";1147 attribute :>> evidenceOrGap = "no runtime evidence of record; framing gap gapCandidateBehaviorUnverified";1148 }1149 }11501151 /* ───────────── What phase 8 settled on the framing's records ───────────── */11521153 comment phase8WarningOutputPlaced about gapWarningOutput1154 /*1155 * Placed, not closed: the warning request leaves the candidate through1156 * one hand-off of the warnings that its planner already computes, added1157 * in the main loop after vision_pilot.cpp:174, to the warning request1158 * publisher, which publishes it on an mw::com event1159 * (MAP-DRIVING-DA-WARNING-REQUEST). The decision logic under1160 * VisionPilot/modules/ is not changed. The hand-off is a change that1161 * upstream has not merged (gapCandidateBehaviorUnverified). The data log1162 * stays on for the evaluators' record of the warnings (rrd_on = true); it1163 * is no warning request.1164 */11651166 comment phase8ScoreIntegrationPlaced about gapScoreIntegration1167 /*1168 * Placement decided, readiness items open: the candidate's process becomes1169 * an Eclipse S-CORE application through the DE4SDV S-CORE interface module1170 * (the owner's choice of 2026-11-15), started and supervised by the Launch1171 * Manager. Its driving command and its warning request enter the S-CORE1172 * path on mw::com events at the boundary of the process, with no hop beside1173 * S-CORE before them; its state enters no path, since no requirement asks1174 * for it. The readiness probe of 2026-11-15 built one process with the1175 * S-CORE toolchain that links mw::com, the simulator's C++ client library,1176 * ONNX Runtime, OpenCV and the Rerun SDK, and ran it: one network, one1177 * frame conversion, one data log, mw::com events to a second process, and1178 * the simulator's client connected to the server. It then built the same1179 * process with the C++ client library of CARLA 1.0, which needs C++20: only1180 * the unit that calls the library was compiled as C++20, the rest of the1181 * process as C++17. Run against a CARLA 1.0 server, it gave the same1182 * network, data log and mw::com events, every front-camera image at the1183 * rig's size, and an Ackermann control that moved the ego vehicle. Its ONNX1184 * Runtime was the prebuilt build for the processor, which loads a second1185 * C++ standard library into the process beside the binary's own. Open1186 * before phase 10: the link with the build of ONNX Runtime for CUDA that1187 * the GPU decision of 2026-11-15 needs; whether the process may hold a1188 * second C++ standard library or builds ONNX Runtime with the S-CORE1189 * toolchain; and that the candidate record reaches the vehicle interface,1190 * which subscribes after the record was published: the probe did not test1191 * it.1192 */11931194 comment phase8ProcessorInferenceNotHeld about asmProcessorInferenceSufficient1195 /*1196 * Does not hold, by the readiness probe of this phase on 2026-11-15: on a1197 * host with eight vCPUs and the CPU provider, the candidate took longer1198 * than the 0.1 s cycle for every image measured, most of it in its three1199 * networks in fp32, so its loop left most images unprocessed. With the1200 * CUDA provider on an NVIDIA L4 that it shared with the simulator, the1201 * candidate's ROS 2 build gave a command for every step of the simulator1202 * in the minute measured. The owner then chose a GPU of the S-CORE host1203 * for the networks (the GPU decision of 2026-11-15), so the bench1204 * topology rests on that GPU, not on the processor. Whether the S-CORE1205 * host's own GPU keeps the cycle with the S-CORE build is not shown yet:1206 * every run reports the images dropped, and phase 10 judges no run whose1207 * judged window holds one (MAP-DRIVING-DA-CAMERA-IMAGE).1208 */12091210 comment phase8SimulatorPathHeld about asmSimulatorPathUsable1211 /*1212 * Holds, by the readiness probe of this phase on 2026-11-15: upstream's1213 * simulator path at the pin, CARLA 0.9.16 with its ROS 2 interface and1214 * upstream's two bridge nodes, ran in synchronous mode with a fixed step of1215 * 0.1 s, and with the CUDA provider the candidate's ROS 2 build gave a1216 * command for every step in the minute measured, with no change to its1217 * source. The S-CORE path of this realization takes the commands from the1218 * same loop through the DE4SDV S-CORE interface module instead of ROS 2.1219 * The simulator of this realization is CARLA 1.0 (the simulator decision of1220 * 2026-11-15): the probe ran its server in synchronous mode with the fixed1221 * step of 0.1 s at wall-clock pace, with the bench's front camera and a1222 * recording camera, on one NVIDIA L4, and drove its ego vehicle from a1223 * client inside an S-CORE process (phase8ScoreIntegrationPlaced). At the1224 * step of 0.05 s of the step decision of 2026-11-17, with the front camera1225 * and a recording camera of 1920 by 1080 pixels, the same server did not1226 * keep wall-clock pace on one NVIDIA L4 in the readiness probe of1227 * 2026-11-16 and kept it on one NVIDIA RTX PRO 6000 in the readiness probe1228 * of 2026-11-17 (the simulator host decision of 2026-11-17). The candidate1229 * itself has not yet driven on CARLA 1.0: its passes in the probe ran on1230 * CARLA 0.9.16.1231 */12321233 comment phase8EmergencyFunctionAnswered about gapNoSeparateEmergencyFunction1234 /*1235 * Answered for the realization, not closed: at the pin there is no1236 * emergency function apart from the planner, so the warning requester and1237 * the driving commander are both allocated to the planner module1238 * (VisionPilotSafetyGuardianPlanner), and the emergency braking leaves in1239 * the one driving command. The independence of a protected emergency1240 * command path is not realized by the candidate. The exchange of phase 71241 * from the warning requester to the driving commander, the warning state,1242 * has no realization in the candidate: the warning and the braking come1243 * from the one planned acceleration. The share recorded is1244 * REQ-DRIVING-039's detectable command and the actuation adapter's1245 * rejection of what it detects (reqDetectableDrivingCommandRejection).1246 * Whether the candidate's braking can stand for the common capability1247 * stays with the member decision after the evidence of phase 10.1248 */12491250 comment phase8CandidateBuildCarriesTheSCOREInterface about gapCandidateBehaviorUnverified1251 /*1252 * What the owner's choice of 2026-11-15 means for this gap: every build1253 * on the S-CORE path carries the DE4SDV S-CORE interface module and the1254 * hand-off of the warnings, a change that upstream has not merged, so1255 * every build is such a different candidate. Every verdict names the1256 * build, 014e0e7a with the DE4SDV S-CORE interface, and the record of1257 * REQ-DRIVING-044 carries the difference (MAP-DRIVING-DA-CANDIDATE-RECORD).1258 */12591260 comment phase8VisualizationRecorderPlaced about gapCandidateBehaviorUnverified1261 /*1262 * What the visualization decision of 2026-11-17 means for this gap: every1263 * build on the S-CORE path also carries the DE4SDV visualization recorder1264 * and its hand-off after vision_pilot.cpp:174, a change that upstream has1265 * not merged. The record of REQ-DRIVING-044 carries it in the difference,1266 * and every verdict names the build as 014e0e7a with the DE4SDV S-CORE1267 * interface and the visualization recorder. The recorder only observes: it1268 * takes copies after the command is written, and it gives nothing back to1269 * the loop, to the candidate's inputs or to its outputs. What it costs, by1270 * the readiness probe of the recorder on 2026-11-17: one build on one1271 * NVIDIA L4 replayed a recorded front-camera clip of 70 s at the camera's1272 * pace of 0.1 s, three times with the recorder off and three times with it1273 * on, in pairs. With the recorder on, the time from an image to its command1274 * rose from 41.6 ms to 43.6 ms at the median and from 59.3 ms to 65.1 ms at1275 * the 99th percentile; the longest took 67.5 ms off and 69.5 ms on. The1276 * images dropped did not change: in each arm one pass of the loop ran over1277 * the 0.1 s cycle. The probe's bound, at most 5 ms more at the 99th1278 * percentile, was missed by 0.8 ms. On 2026-11-17 the owner kept the1279 * recorder in every run, so that each run's recording shows the run that is1280 * judged, and every verdict states the delay. The delay acts alike on the1281 * warning request and the braking command, which leave the same pass of the1282 * loop, and comes before the 0.2 s from the request to each mode of the1283 * warning.1284 */12851286 comment reqDetectableDrivingCommandRejection about reqDetectableDrivingCommand, DrivingCommandActuationAdapter1287 /*1288 * Where the parts of REQ-DRIVING-039 sit, and where the rejection sits: the1289 * vehicle interface of the candidate's process adds to each command its1290 * issue time, a sequence count from 1 in each run and a CRC-32 check value1291 * (MAP-DRIVING-DA-COMMAND). The actuation adapter, a context realization of1292 * the S-CORE path, detects a loss or a repetition by the sequence count, a1293 * corruption by the check value and a delay by the issue time against the1294 * newest world time, rejects the command and applies nothing in its place.1295 * It counts from the last received command whose check value holds (the1296 * adapter counting decision of 2026-11-18; DrivingCommandActuationAdapter1297 * states the rule): a late command or a repetition costs that one command;1298 * a loss or a corruption that the check value detects costs the lost or1299 * corrupted command and the next one, which reveals the gap; none of them1300 * makes later valid commands fail. A corruption that the check value misses1301 * is none of them: the command counts as valid and, if its sequence count1302 * is higher, that count becomes the reference count, so that the later1303 * valid commands up to it are rejected as repetitions (the check-value1304 * bound decision of 2026-11-21). The analysis of REQ-DRIVING-039 reads this1305 * record; it makes no freedom-from-interference claim.1306 */13071308 /* ───────────── The assumption of the realization ───────────── */13091310 part <'ASM-DRIVING-005'> asmActuationFollowsCommandedDeceleration : IncrementAssumption {1311 doc /*1312 * The actuation adapter's Ackermann control makes the simulated ego1313 * vehicle follow the commanded acceleration up to a deceleration of 5.01314 * m/s², so that REQ-DRIVING-036 and REQ-DRIVING-037 cannot fail for the1315 * bench. The control sets a desired speed and a desired acceleration;1316 * whether the simulated vehicle reaches 5.0 m/s² with a jerk of 10.01317 * m/s³ is not measured. A calibration run before phase1318 * 10 shows it: the commanded against the achieved deceleration of the1319 * scenario's vehicle on the scenario's road. No evidence of record holds1320 * it, so it stays an assumption.1321 */1322 }13231324 part <'ASM-DRIVING-006'> asmCandidateSteeringTurnsTowardLaneCentre : IncrementAssumption {1325 doc /*1326 * The candidate's steering, given to the simulator by the rule of1327 * MAP-DRIVING-DA-COMMAND, turns the simulated ego vehicle back toward its1328 * lane centre. The rule takes the candidate's steering in the sign of1329 * CARLA's steer, positive to the right, as upstream's own simulator path1330 * does: that path gives the steering to CARLA's steer without a change1331 * (vehicle_ros2_interface.cpp:67 and carla_control_publisher_node.py:491332 * at the pin). With the other sign the lateral control would diverge in1333 * the first run. The readiness probe of 2026-11-15 drove upstream's path1334 * in closed loop, and the vehicle swung about its lane centre on a1335 * straight road. A calibration run before phase 10 shows it with the1336 * bench's own adapter: with the ego vehicle placed to the right of its1337 * lane centre, the candidate's commands turn it left, by the sign of the1338 * yaw rate. No evidence of record holds it, so it stays an assumption.1339 */1340 }13411342 /* ───────────── Concerns and views of the phase ───────────── */13431344 concern driverAssistancePhysicalStructureConcern : PhysicalStructureConcern {1345 doc /*1346 * System architects and software developers need the software and1347 * platform elements that realize the driver-assistance system on the1348 * bench, as they nest: the three hosts with their platform layers, the1349 * two programs of the candidate and the five modules of its process, the1350 * actuation adapter and the S-CORE services, the simulator with its1351 * camera rig, the hypervisor and the two AAOS SDV guests with the warning1352 * presentation.1353 */1354 subject;1355 stakeholder systemArchitect : SystemArchitect;1356 stakeholder softwareDeveloper : SoftwareDeveloper;1357 }13581359 view driverAssistancePhysicalStructureView {1360 viewpoint selectedPhysicalStructureViewpoint : PhysicalStructureDefinitionViewpoint {1361 frame driverAssistancePhysicalStructureConcern;1362 }1363 expose driverAssistancePhysicalSystem;1364 expose driverAssistancePhysicalSystem::scoreHost;1365 expose driverAssistancePhysicalSystem::scoreHost::os;1366 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware;1367 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::identityRecording;1368 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication;1369 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::cameraInterface;1370 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::perceptionAndFusion;1371 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::safetyGuardianPlanner;1372 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::vehicleInterface;1373 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::warningRequestPublisher;1374 expose driverAssistancePhysicalSystem::scoreHost::actuationAdapter;1375 expose driverAssistancePhysicalSystem::scoreHost::scoreServices;1376 expose driverAssistancePhysicalSystem::scoreHost::scoreServices::launchManager;1377 expose driverAssistancePhysicalSystem::scoreHost::scoreServices::gatewayd;1378 expose driverAssistancePhysicalSystem::scoreHost::scoreServices::someipd;1379 expose driverAssistancePhysicalSystem::simulatorHost;1380 expose driverAssistancePhysicalSystem::simulatorHost::os;1381 expose driverAssistancePhysicalSystem::simulatorHost::carlaServer;1382 expose driverAssistancePhysicalSystem::simulatorHost::carlaServer::cameraRig;1383 expose driverAssistancePhysicalSystem::simulatorHost::carlaServer::cameraRig::frontCamera;1384 expose driverAssistancePhysicalSystem::guestHost;1385 expose driverAssistancePhysicalSystem::guestHost::os;1386 expose driverAssistancePhysicalSystem::guestHost::hypervisor;1387 expose driverAssistancePhysicalSystem::sdvCoreGuest;1388 expose driverAssistancePhysicalSystem::sdvCoreGuest::os;1389 expose driverAssistancePhysicalSystem::sdvCoreGuest::sdvMiddleware;1390 expose driverAssistancePhysicalSystem::sdvCoreGuest::sdvCore;1391 expose driverAssistancePhysicalSystem::iviGuest;1392 expose driverAssistancePhysicalSystem::iviGuest::os;1393 expose driverAssistancePhysicalSystem::iviGuest::sdvGateway;1394 expose driverAssistancePhysicalSystem::iviGuest::warningPresentation;1395 filter not (@ SysML::AllocationUsage);1396 filter not (@ SysML::BindingConnectorAsUsage);1397 render asTreeDiagram;1398 }13991400 concern driverAssistancePhysicalAllocationConcern : PhysicalLogicalMappingConcern {1401 doc /*1402 * System architects and verification engineers need each logical element1403 * of phase 7 allocated to the software elements that carry it, and each1404 * software element carrying one: the identity recording application, the1405 * camera interface and the perception and fusion of the candidate's1406 * process, its planner, which carries both the warning requester and the1407 * driving commander, its vehicle interface and its warning request1408 * publisher. An allocation is a responsibility assignment, no deployment1409 * or runtime claim.1410 */1411 subject;1412 stakeholder systemArchitect : SystemArchitect;1413 stakeholder verificationEngineer : VerificationEngineer;1414 }14151416 view driverAssistancePhysicalLogicalMappingView : MVD::MatrixView {1417 viewpoint selectedPhysicalLogicalMappingViewpoint : PhysicalLogicalMappingViewpoint {1418 frame driverAssistancePhysicalAllocationConcern;1419 frame emergencyBrakingIndependenceConcern;1420 }1421 view :>> rowView {1422 expose DriverAssistanceLogicalSystem::identityRecorder;1423 expose DriverAssistanceLogicalSystem::vehicleAheadAssessor;1424 expose DriverAssistanceLogicalSystem::warningRequester;1425 expose DriverAssistanceLogicalSystem::drivingCommander;1426 attribute :>> includeReferenceElements = true;1427 attribute :>> representation = Rep::name;1428 }1429 view :>> columnView {1430 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::identityRecording;1431 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::cameraInterface;1432 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::perceptionAndFusion;1433 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::safetyGuardianPlanner;1434 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::vehicleInterface;1435 expose driverAssistancePhysicalSystem::scoreHost::assistanceSoftware::visionPilotApplication::warningRequestPublisher;1436 attribute :>> includeReferenceElements = true;1437 attribute :>> representation = Rep::name;1438 }1439 view :>> cellView {1440 expose DE4SDV_DriverAssistancePhysicalSoftwareRealization::*;1441 attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;1442 }1443 }14441445 view driverAssistanceSCOREPathExchangeView {1446 doc /*1447 * The S-CORE path (scoreCommandAndWarningPathConcern) and the1448 * independence of the emergency braking's command1449 * (emergencyBrakingIndependenceConcern) in one interconnection of the1450 * S-CORE host: the driving command leaves the candidate's vehicle1451 * interface on an mw::com event to the actuation adapter, the only1452 * element that writes the simulator's Ackermann control; the warning1453 * request leaves the candidate's warning request publisher on an mw::com1454 * event to gatewayd, then someipd, and leaves the host on SOME/IP to the1455 * AAOS SDV; the emergency braking leaves in the one driving command. No1456 * other port leads to the Ackermann control or to the guests. Inside the1457 * candidate's process the hand-offs are drawn as such. The1458 * functional-mapping question is answered by this exchange and by the1459 * matrix, not by a function-by-software matrix: no direct relation1460 * exists between a function and a software element to draw. The guests1461 * are drawn in the structure tree only.1462 */1463 viewpoint selectedPhysicalInternalExchangeViewpoint : PhysicalInternalExchangeViewpoint {1464 frame scoreCommandAndWarningPathConcern;1465 frame emergencyBrakingIndependenceConcern;1466 }1467 expose driverAssistanceSCOREHost;1468 expose driverAssistanceSCOREHost::**;1469 filter not (@ SysML::AllocationUsage);1470 attribute depth = -1;1471 attribute showAnnotationRows = false;1472 render asInterconnectionDiagram;1473 }1474}1475