textual-notation-of-model/packages/features/driving/driver_assistance_variability_configuration.sysml
2 view(s) · 35 declared member(s) Jump to source ↓
view driverAssistanceProductLineConfigurationViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | Driverselectedselectedselectedselectedselectedselectedselected |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view driverAssistanceProductModelAssemblyViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | DriverDriverDriverconfigured |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV driver-assistance variability and configuration model slice.3 *4 * INC-DRIVING-002, phase 9: the configured product of the driver-assistance5 * reference configuration, with the configuration identity6 * DRIVING-CONFIG-002. It pairs two parts. The first is the platform-stack7 * projection that the configurator generates from the receipt of the8 * feature configuration driver_assistance_visionpilot_score_reference.sysml.9 * The second is the realization of the driver-assistance system from phase10 * 8, the system of interest of the increment. INC-DRIVING-001 and11 * INC-MW-011 pair the projections of their configurations with their12 * realizations in the same way. The feature configuration and the generated13 * projection own the variant selections. No element of this package14 * restates them. Its docs name some of them, and a guard test keeps those15 * names equal to the receipt.16 *17 * Phase 9 added the feature visionPilot to the feature model, from the18 * phase 3 candidate of 2026-11-14: the camera required (C014), Linux19 * required (C015), the pairs with androidSDV, autosarAdaptive and20 * noMiddleware excluded, and one derivation rule that derives the adapter21 * visionPilotToSCORE for the pair with Eclipse S-CORE, in the form that22 * INC-DRIVING-001 took for AutoE2E on 2026-11-06. The links of rule 5 are23 * declared with their clients, in the rule's dependency form: the framing24 * links the system of interest to the feature visionPilot, and the25 * requirements package links each requirement that names the Eclipse26 * S-CORE path to the feature eclipseSCORE and each requirement that names27 * the warning request, which asks the AAOS SDV for the warning, to the28 * feature guestAndroidSDV. This package holds none of them.29 *30 * The configuration is valid and not admitted. It realizes the alternative31 * S-CORE Integrated with its derived realizations. The model's reading of32 * the correspondences gives two reasons, and the receipt of the privileged33 * PLE authority run records the verdict. First, the selections visionPilot,34 * adaptiveCruiseControl and laneKeepAssist are content the governed scope35 * does not admit: the driving stack is deferred variability, and adaptive36 * cruise control and lane-keep assist have no element in the governed37 * scope. Second, the configuration does not represent the common content:38 * no Autoware, no LiDAR. So the configured product specializes no39 * member-product type. ADR 0014 bounds the existing product line; the40 * member decision follows the runnable proof of phase 10 (framing gap41 * gapCandidateAdmission). This slice is configuration evidence only: it42 * proves no runtime behavior and satisfies no requirement.43 */4445package DE4SDV_DriverAssistanceVariabilityConfiguration {46 private import DE4SDV_MethodViewpoints::*;47 private import DE4SDV_Stakeholders::*;48 private import DE4SDV_DriverAssistancePhysicalSoftwareRealization::DriverAssistanceSoftwareRealization;49 private import DE4SDV_ProductLine::ProductLineConfiguredProduct;50 private import Views::*;5152 part def DriverAssistanceVisionPilotSCOREConfiguredProduct :> ProductLineConfiguredProduct {53 doc /*54 * The configured product of the driver-assistance reference55 * configuration. It holds the generated platform-stack projection and56 * the realization of the driver-assistance system, the system of57 * interest of INC-DRIVING-002. The local parts compose the projection58 * and the phase-8 realization. They choose no variant. The context parts59 * of phase 8 stay in the physical context DriverAssistancePhysicalSystem:60 * the S-CORE host with its Linux, the S-CORE services and the actuation61 * adapter, the simulator host, the guest host with KVM, and the SDV Core62 * and IVI guests. As in INC-DRIVING-001 and INC-MW-011, this product does63 * not compose that context. The guide of the increment and a test keep64 * the host and guest layers of the context typed by the definitions of65 * the selected variants: Linux, Eclipse S-CORE, KVM, Android and the66 * AAOS SDV middleware.67 *68 * No binding. Phase 8 kept the Eclipse S-CORE path outside the boundary69 * of phase 0, so the S-CORE services sit on the S-CORE host beside the70 * realization, not in it. No part of the realization is the selected71 * middleware, and the platform stack is the only composer of it in this72 * product, unlike INC-DRIVING-001, whose realization composes its S-CORE73 * services. The derived adapter of the platform stack is the DE4SDV74 * S-CORE interface module of the candidate's process: its camera75 * interface, its vehicle interface and its warning request publisher,76 * three modules of one process and no program of their own, so no part77 * of the realization is the adapter either. A dependency records which78 * parts carry it. The perception and fusion module and the planner79 * module run the selected vehicle application, VisionPilot at its pinned80 * revision; a dependency records that too, because the application layer81 * of the stack is the whole VisionPilot application.82 *83 * No shared asset implements the HMI display, so no feature binding84 * resolves the hmiDisplay selection. The projection lists it among the85 * selections that SysML does not resolve. The collision warning86 * presentation of the IVI guest is the display of this product, context87 * content of phase 8. No requirement of the increment names the display:88 * the warning requirements name the warning request, so this package89 * adds no requirement dependency on hmiDisplay.90 * Adaptive cruise control and lane-keep assist have no shared asset91 * either, and the projection lists them too. VisionPilot runs a92 * speed-following and a lane-keeping function, which no case of93 * INC-DRIVING-002 judges and no requirement of the increment names, so94 * no requirement depends on those two features.95 *96 * The definition specializes no member-product type, because the97 * configuration is not admitted. If the member decision after phase 1098 * admits the member, it specializes the new member definition. This99 * definition specializes the kernel's ProductLineConfiguredProduct, the100 * configured product of phase 9.101 */102 part platformStack : DriverAssistanceVisionPilotSCOREReference;103 part assistanceSoftware : DriverAssistanceSoftwareRealization;104 }105106 part <'DRIVING-CONFIG-002'> configuredProduct : DriverAssistanceVisionPilotSCOREConfiguredProduct {107 doc /*108 * DRIVING-CONFIG-002: the configuration identity that the phase-10109 * evidence binds, as the evidence of INC-DRIVING-001 binds110 * DRIVING-CONFIG-001. The identity is bound to the exact receipt that the111 * configurator generates the platform-stack projection from.112 * receiptSha256 is the SHA-256 of113 * model-based-product-line-engineering/feature-models/receipts/sdv_product_line.receipt.json,114 * the receipt that records the evaluation of the feature configuration115 * driverAssistanceVisionPilotSCOREReference. A receipt re-cut keeps this116 * identity and rebinds receiptSha256 here. The pull request that rebinds117 * it states whether the configuration's own receipt record changed.118 * By the decision of 2026-11-17, the record has not changed when its119 * only difference is added states omitted for features that it does120 * not select, and every other entry is the same: validity, reasons,121 * derived variants with their variant ids, admission, the selected122 * features, projection name, source, description and element id.123 * Evidence that binds DRIVING-CONFIG-002 also records the receipt124 * SHA-256 it ran against.125 *126 * The bench of phase 8: the S-CORE host runs the candidate's process and127 * the identity recording application under the Launch Manager of S-CORE128 * Lifecycle, with the actuation adapter and the S-CORE gateways; the129 * guest host holds two VMs, the SDV Core VM and the display-capable IVI130 * VM with the collision warning presentation; the simulator host runs131 * CARLA with the front camera. The pins of the programs, the images and132 * the simulator are phase-10 content.133 *134 * Configuration evidence only. This usage proves no candidate, adapter,135 * gateway or presentation behavior and no requirement satisfaction.136 */137 attribute receiptSha256 : ScalarValues::String = "ef8c84d63b93419982888ef0e5c69df1e75458fb0745131868ecb68d64c0d9a7";138 }139140 dependency configuredAssistanceSoftwareTrace141 from configuredProduct::assistanceSoftware142 to DE4SDV_DriverAssistancePhysicalSoftwareRealization::driverAssistancePhysicalSystem::scoreHost::assistanceSoftware;143 dependency derivedAdapterIsTheInterfaceModule144 from configuredProduct::assistanceSoftware::visionPilotApplication::cameraInterface,145 configuredProduct::assistanceSoftware::visionPilotApplication::vehicleInterface,146 configuredProduct::assistanceSoftware::visionPilotApplication::warningRequestPublisher147 to configuredProduct::platformStack::applicationMiddlewareAdapter;148 dependency candidateProcessRunsTheSelectedApplication149 from configuredProduct::assistanceSoftware::visionPilotApplication::perceptionAndFusion,150 configuredProduct::assistanceSoftware::visionPilotApplication::safetyGuardianPlanner151 to configuredProduct::platformStack::vehicleApplication;152 dependency configuredProductAdmissionGap153 from configuredProduct154 to DE4SDV_DriverAssistanceFraming::gapCandidateAdmission;155156 comment visionPilotCandidateExpressed157 about configuredProduct,158 DE4SDV_DriverAssistanceCapabilityClassification::visionPilotDrivingStack159 /*160 * Phase 3 recorded VisionPilot as the vehicle application as a feature161 * candidate, visionPilotDrivingStack, because it distinguishes member162 * products. Phase 9 turned it into the feature visionPilot of the vehicle163 * application group, so the feature model now states what shared assets164 * derive for it: one adapter, for the pair with Eclipse S-CORE, and no165 * adapter for the other three middlewares. The exclusions say only that;166 * a later member may pair VisionPilot with another middleware once an167 * adapter and its derivation rule exist. DRIVING-CONFIG-002 expresses the168 * two-domain product of INC-MW-011 and INC-DRIVING-001 with VisionPilot on169 * the main side and the same guest side. Its admission is not part of this170 * phase. It stays a decision after phase 10.171 */172173 concern assistanceProductLineConfigurationConcern : ProductLineConfigurationConcern {174 doc /*175 * Product-line engineers, system architects and open-source reviewers176 * need the variant selections of DRIVING-CONFIG-002 in the platform-stack177 * projection that the configurator generates from its receipt. The main178 * side selects VisionPilot, Eclipse S-CORE and Linux. The hypervisor is179 * KVM. The guest side selects Android with the AAOS SDV middleware. The180 * adapter is the derived VisionPilot-to-S-CORE adapter. This concern is181 * about choices, not assembly.182 */183 subject;184 stakeholder productLineEngineer : ProductLineEngineer;185 stakeholder systemArchitect : SystemArchitect;186 stakeholder reviewer : OpenSourceReviewer;187 }188189 concern assistanceProductModelAssemblyConcern : ProductModelAssemblyConcern {190 doc /*191 * System architects, verification engineers and open-source reviewers192 * need the assembly of DRIVING-CONFIG-002: the platform-stack projection193 * and the realization of the driver-assistance system, with no binding,194 * because the realization composes no platform layer. The derived195 * adapter is the S-CORE interface module of the candidate's process, and196 * its perception and planner modules run the selected application; both197 * are dependencies, not parts. Phase 10 then verifies one product. This198 * concern is about assembled assets, not the variation space.199 */200 subject;201 stakeholder systemArchitect : SystemArchitect;202 stakeholder verificationEngineer : VerificationEngineer;203 stakeholder reviewer : OpenSourceReviewer;204 }205206 alias selectedVehicleApplication207 for DriverAssistanceVisionPilotSCOREReference::vehicleApplication;208 alias selectedMiddleware209 for DriverAssistanceVisionPilotSCOREReference::middleware;210 alias selectedOperatingSystem211 for DriverAssistanceVisionPilotSCOREReference::osPlatform;212 alias selectedHypervisor213 for DriverAssistanceVisionPilotSCOREReference::hypervisor;214 alias selectedGuestOperatingSystem215 for DriverAssistanceVisionPilotSCOREReference::guestOSPlatform;216 alias selectedGuestMiddleware217 for DriverAssistanceVisionPilotSCOREReference::guestMiddleware;218 alias selectedApplicationMiddlewareAdapter219 for DriverAssistanceVisionPilotSCOREReference::applicationMiddlewareAdapter;220221 view driverAssistanceProductLineConfigurationView {222 viewpoint selectedProductLineConfigurationViewpoint : ProductLineConfigurationViewpoint {223 frame assistanceProductLineConfigurationConcern;224 }225 doc /*226 * The generated projection and its seven selected layers: the six227 * selections of the configuration and the derived adapter.228 */229 expose DriverAssistanceVisionPilotSCOREReference;230 expose selectedVehicleApplication;231 expose selectedMiddleware;232 expose selectedOperatingSystem;233 expose selectedHypervisor;234 expose selectedGuestOperatingSystem;235 expose selectedGuestMiddleware;236 expose selectedApplicationMiddlewareAdapter;237 attribute showAnnotationRows = false;238 attribute maxCompartmentEntries = 0;239 render asTreeDiagram;240 }241242 view driverAssistanceProductModelAssemblyView {243 viewpoint selectedProductModelAssemblyViewpoint : ProductModelAssemblyViewpoint {244 frame assistanceProductModelAssemblyConcern;245 }246 doc /*247 * The configured product: its definition with the two parts and no248 * binding, because the realization composes no platform layer, and the249 * usage DRIVING-CONFIG-002 that the phase-10 evidence binds. The view250 * filters out the phase-8 allocations, which target the usages of the251 * physical context, not this product.252 */253 expose DriverAssistanceVisionPilotSCOREConfiguredProduct;254 expose DriverAssistanceVisionPilotSCOREConfiguredProduct::platformStack;255 expose DriverAssistanceVisionPilotSCOREConfiguredProduct::assistanceSoftware;256 expose configuredProduct;257 filter not (@ SysML::AllocationUsage);258 attribute showAnnotationRows = false;259 attribute maxCompartmentEntries = 0;260 render asTreeDiagram;261 }262}263