textual-notation-of-model/packages/features/driving/closed_loop_driving_variability_configuration.sysml
2 view(s) · 39 declared member(s) Jump to source ↓
view closedLoopDrivingProductLineConfigurationViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | Closedselectedselectedselectedselectedselectedselectedselected |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view closedLoopDrivingProductModelAssemblyViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | ClosedClosedClosedClosed |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV closed-loop driving variability and configuration model slice.3 *4 * INC-DRIVING-001, phase 9: the configured product of the closed-loop5 * driving reference configuration, with the configuration identity6 * DRIVING-CONFIG-001. It pairs two parts. The first is the platform-stack7 * projection that the configurator generates from the receipt of the8 * feature configuration closed_loop_driving_autoe2e_score_reference.sysml.9 * The second is the realization of the driving system from phase 8, the10 * system of interest of the increment. INC-MW-011 pairs the projection of11 * its configuration with the realization of its integration layer in the12 * same way. The feature configuration and the generated projection own the13 * variant selections. No element of this package restates them. Its docs14 * name some of them, and a guard test keeps those names equal to the15 * receipt.16 *17 * Phase 9 added the feature autoE2E to the feature model, with the camera18 * required (C012, owner decision of 2026-11-02), Linux required (C013) and19 * the pairs with androidSDV, autosarAdaptive and noMiddleware excluded, and20 * one derivation rule that derives the adapter autoE2EToSCORE for the pair21 * with Eclipse S-CORE (owner decisions of 2026-11-06). This package links22 * the system of interest to that feature and to the two shared-asset23 * variants, as phase 5 promised.24 *25 * The configuration is valid and not admitted. It realizes the alternative26 * S-CORE Integrated with its derived realizations, and the receipt gives two27 * reasons. First, the selection autoE2E is content the governed scope does28 * not admit: the driving stack is deferred variability. Second, the29 * configuration does not represent the common content: no Autoware, no30 * LiDAR. So the configured product specializes no member-product type. ADR31 * 0014 bounds the existing product line; the member decision follows the32 * runnable proof of phase 10 (framing gap gapProductLineAdmission). This33 * slice is configuration evidence only: it proves no runtime behavior,34 * satisfies no requirement and makes no safety, cybersecurity or35 * compliance claim.36 */3738package DE4SDV_ClosedLoopDrivingVariabilityConfiguration {39 private import DE4SDV_MethodViewpoints::*;40 private import DE4SDV_Stakeholders::*;41 private import DE4SDV_ClosedLoopDrivingPhysicalSoftwareRealization::ClosedLoopDrivingSoftwareRealization;42 private import DE4SDV_ProductLine::ProductLineConfiguredProduct;43 private import Views::*;4445 part def ClosedLoopDrivingAutoE2ESCOREConfiguredProduct :> ProductLineConfiguredProduct {46 doc /*47 * The configured product of the closed-loop driving reference48 * configuration. It holds the generated platform-stack projection and49 * the realization of the driving system, the system of interest of50 * INC-DRIVING-001. The local parts compose the projection and the51 * phase-8 realization. They choose no variant. The context parts of52 * phase 8 stay in the physical context ClosedLoopDrivingPhysicalSystem:53 * the Linux host with its operating system and hypervisor, the SDV Core54 * guest, the IVI guest with the observer, the simulation server with55 * its sensor rig and the navigation. For the same reason as INC-MW-011,56 * this product does not compose that context. The guide of the57 * increment and a test keep the host and guest layers of the context58 * typed by the definitions of the selected variants: Linux, KVM, Android59 * and the AAOS SDV middleware.60 *61 * One binding. The realization composes the S-CORE services it uses,62 * one instance on the host, because phase 8 put the two gateway63 * processes of those services on the observation path of the driving64 * system. The binding makes those services the same thing as the65 * selected middleware of the platform stack. So, unlike INC-MW-011,66 * where the integration layer only refers to its S-CORE services and the67 * platform stack is their only owner, this product has two composers of68 * one middleware instance: the realization by the phase-8 decision, the69 * platform stack by the projection. The product states it rather than70 * hides it.71 *72 * No second binding. The derived adapter of the platform stack is the73 * mw::com binding code of the three programs of the realization, no74 * program of its own, so no part of the realization is the adapter. A75 * dependency records which parts carry it. The driving agent runs the76 * pinned checkpoint of the selected vehicle application in its own77 * process (phase 8's engine decision of 2026-11-08); a dependency records78 * that too, because the application layer of the stack is the whole79 * AutoE2E stack, and the agent is the program DE4SDV writes around it.80 *81 * No shared asset implements the HMI display, so no feature binding82 * resolves the hmiDisplay selection. The projection lists it among the83 * selections that SysML does not resolve. The observer application of84 * the IVI guest is the display of this product, context content of85 * phase 8. No requirement of the increment names the display: the86 * publication requirements hold without it, so this package adds no87 * requirement dependency on hmiDisplay, where INC-MW-011 added four.88 *89 * The definition specializes no member-product type, because the90 * configuration is not admitted. If the owner admits the member after91 * phase 10, it specializes the new member definition. This definition92 * specializes the kernel's ProductLineConfiguredProduct, the configured93 * product of phase 9 (owner decision of 2026-10-29).94 */95 part platformStack : ClosedLoopDrivingAutoE2ESCOREReference;96 part drivingSoftware : ClosedLoopDrivingSoftwareRealization;97 binding scoreServicesBoundToSelectedMiddleware98 bind drivingSoftware.scoreServices = platformStack.middleware;99 }100101 part <'DRIVING-CONFIG-001'> configuredProduct : ClosedLoopDrivingAutoE2ESCOREConfiguredProduct {102 doc /*103 * DRIVING-CONFIG-001: the configuration identity that the phase-10104 * evidence binds, as the INC-MW-011 evidence binds MW-CONFIG-002. The105 * identity is bound to the exact receipt that the configurator generated106 * the platform-stack projection from. receiptSha256 is the SHA-256 of107 * model-based-product-line-engineering/feature-models/receipts/sdv_product_line.receipt.json.108 * That receipt records the evaluation of the feature configuration109 * closedLoopDrivingAutoE2ESCOREReference: valid, with the derived110 * adapter autoE2EToSCORE, and not admitted. A receipt re-cut keeps this111 * identity and rebinds receiptSha256 here. The pull request that rebinds112 * it states whether the configuration's own receipt record changed.113 * By the decision of 2026-11-17, the record has not changed when its114 * only difference is added states omitted for features that it does115 * not select, and every other entry is the same: validity, reasons,116 * derived variants with their variant ids, admission, the selected117 * features, projection name, source, description and element id.118 * Evidence that binds DRIVING-CONFIG-001 also records the receipt119 * SHA-256 it ran against.120 *121 * The bench of phase 8: the Linux host runs the three programs under122 * the Launch Manager of S-CORE Lifecycle and the SOME/IP gateway; the123 * guest side holds two VMs, the headless SDV Core VM and the124 * display-capable IVI VM with the observer; the CARLA server with its125 * simulated sensor rig and the navigation are the simulated vehicle126 * and its context. The pins of the programs, the images and the127 * simulator are phase-10 content.128 *129 * Configuration evidence only. This usage proves no agent, adapter,130 * publisher, gateway or observer behavior and no requirement131 * satisfaction.132 */133 attribute receiptSha256 : ScalarValues::String = "ef8c84d63b93419982888ef0e5c69df1e75458fb0745131868ecb68d64c0d9a7";134 }135136 dependency configuredDrivingSoftwareTrace137 from configuredProduct::drivingSoftware138 to DE4SDV_ClosedLoopDrivingPhysicalSoftwareRealization::closedLoopDrivingPhysicalSystem::linuxHost::drivingSoftware;139 dependency derivedAdapterIsTheProgramsBindingCode140 from configuredProduct::drivingSoftware::drivingAgent,141 configuredProduct::drivingSoftware::actuationAdapter,142 configuredProduct::drivingSoftware::statePublisherApplication143 to configuredProduct::platformStack::applicationMiddlewareAdapter;144 dependency drivingAgentRunsTheSelectedApplication145 from configuredProduct::drivingSoftware::drivingAgent146 to configuredProduct::platformStack::vehicleApplication;147 dependency configuredProductAdmissionGap148 from configuredProduct149 to DE4SDV_ClosedLoopDrivingFraming::gapProductLineAdmission;150151 dependency drivingSystemOnAutoE2EFeature152 from ClosedLoopDrivingSoftwareRealization153 to DE4SDV_SDVProductLineFeatureModel::SDVProductLineFeatureTree::platformStack::autoE2E;154 dependency drivingSystemOnAutoE2EStackVariant155 from ClosedLoopDrivingSoftwareRealization156 to DE4SDV_SDVPlatformStack::AutoE2EStack;157 dependency drivingSystemOnAutoE2EToSCOREAdapter158 from ClosedLoopDrivingSoftwareRealization159 to DE4SDV_SDVPlatformStack::AutoE2EToSCOREAdapter;160161 comment drivingMemberCandidateExpressed162 about configuredProduct,163 DE4SDV_ClosedLoopDrivingCapabilityClassification::autoE2EDrivingStack164 /*165 * Phase 3 recorded the closed-loop driving capability as a feature166 * candidate, autoE2EDrivingStack, because it distinguishes member167 * products. Phase 9 turned it into the feature autoE2E of the vehicle168 * application group, so the feature model now states what shared assets169 * derive for it: one adapter, for the pair with Eclipse S-CORE, and no170 * adapter for the other three middlewares. The exclusions say only that;171 * a later member may pair AutoE2E with another middleware once an adapter172 * and its derivation rule exist. DRIVING-CONFIG-001 expresses the173 * two-domain product of INC-MW-011 with AutoE2E in place of Autoware on174 * the main side and the same guest side. Its admission is not part of175 * this phase. It stays a decision after phase 10.176 */177178 concern drivingProductLineConfigurationConcern : ProductLineConfigurationConcern {179 doc /*180 * Product-line engineers, system architects and open-source reviewers181 * need the variant selections of DRIVING-CONFIG-001 in the platform-stack182 * projection that the configurator generates from its receipt. The main183 * side selects AutoE2E, Eclipse S-CORE and Linux. The hypervisor is KVM.184 * The guest side selects Android with the AAOS SDV middleware. The185 * adapter is the derived AutoE2E-to-S-CORE adapter. This concern is186 * about choices, not assembly.187 */188 subject;189 stakeholder productLineEngineer : ProductLineEngineer;190 stakeholder systemArchitect : SystemArchitect;191 stakeholder reviewer : OpenSourceReviewer;192 }193194 concern drivingProductModelAssemblyConcern : ProductModelAssemblyConcern {195 doc /*196 * System architects, verification engineers and open-source reviewers197 * need the assembly of DRIVING-CONFIG-001: the platform-stack projection198 * and the realization of the driving system, and the one binding that199 * makes the S-CORE services of the realization the selected middleware.200 * The derived adapter is the binding code of the three programs, and201 * the driving agent runs the selected application; both are202 * dependencies, not parts. Phase 10 then verifies one product. This203 * concern is about assembled assets, not the variation space.204 */205 subject;206 stakeholder systemArchitect : SystemArchitect;207 stakeholder verificationEngineer : VerificationEngineer;208 stakeholder reviewer : OpenSourceReviewer;209 }210211 alias selectedVehicleApplication212 for ClosedLoopDrivingAutoE2ESCOREReference::vehicleApplication;213 alias selectedMiddleware214 for ClosedLoopDrivingAutoE2ESCOREReference::middleware;215 alias selectedOperatingSystem216 for ClosedLoopDrivingAutoE2ESCOREReference::osPlatform;217 alias selectedHypervisor218 for ClosedLoopDrivingAutoE2ESCOREReference::hypervisor;219 alias selectedGuestOperatingSystem220 for ClosedLoopDrivingAutoE2ESCOREReference::guestOSPlatform;221 alias selectedGuestMiddleware222 for ClosedLoopDrivingAutoE2ESCOREReference::guestMiddleware;223 alias selectedApplicationMiddlewareAdapter224 for ClosedLoopDrivingAutoE2ESCOREReference::applicationMiddlewareAdapter;225226 view closedLoopDrivingProductLineConfigurationView {227 viewpoint selectedProductLineConfigurationViewpoint : ProductLineConfigurationViewpoint {228 frame drivingProductLineConfigurationConcern;229 }230 doc /*231 * The generated projection and its seven selected layers: the six232 * selections of the configuration and the derived adapter.233 */234 expose ClosedLoopDrivingAutoE2ESCOREReference;235 expose selectedVehicleApplication;236 expose selectedMiddleware;237 expose selectedOperatingSystem;238 expose selectedHypervisor;239 expose selectedGuestOperatingSystem;240 expose selectedGuestMiddleware;241 expose selectedApplicationMiddlewareAdapter;242 attribute showAnnotationRows = false;243 attribute maxCompartmentEntries = 0;244 render asTreeDiagram;245 }246247 view closedLoopDrivingProductModelAssemblyView {248 viewpoint selectedProductModelAssemblyViewpoint : ProductModelAssemblyViewpoint {249 frame drivingProductModelAssemblyConcern;250 }251 doc /*252 * The configured product, its two parts and the one binding. The253 * S-CORE services of the realization are composed, not referred to,254 * so the binding makes two composers hold one instance; the product255 * doc says why. The view filters out the phase-8 allocations, which256 * target the usages of the physical context, not this product.257 */258 expose ClosedLoopDrivingAutoE2ESCOREConfiguredProduct;259 expose ClosedLoopDrivingAutoE2ESCOREConfiguredProduct::platformStack;260 expose ClosedLoopDrivingAutoE2ESCOREConfiguredProduct::drivingSoftware;261 expose ClosedLoopDrivingAutoE2ESCOREConfiguredProduct::scoreServicesBoundToSelectedMiddleware;262 filter not (@ SysML::AllocationUsage);263 attribute showAnnotationRows = false;264 attribute maxCompartmentEntries = 0;265 render asTreeDiagram;266 }267}268