textual-notation-of-model/packages/features/aebs/aebs_visualization_physical_software_realization.sysml
3 view(s) · 111 declared member(s) Jump to source ↓
view aebsVisualizationPhysicalStructureViewsource ↓
| Viewpoint | selected (Physical |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | physicalphysicalphysicalphysicalphysicalphysicalphysicalphysicalphysicalphysicalphysicalgategategategategategaterealization |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view aebsVisualizationPhysicalInternalExchangeViewsource ↓
| Viewpoint | selected (Physical |
|---|---|
| Framed concerns |
|
| Render | as |
| Depth | -1 |
| Exposes | physicalphysical |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view aebsVisualizationPhysicalLogicalMappingViewsource ↓
| Viewpoint | selected (Physical |
|---|---|
| View type | MVD:: |
| Framed concerns |
|
| Exposes | logicallogicallogicallogicallogicallogicallogicallogicallogicalphysicalphysicalphysicalphysicalphysicalphysicalphysicalphysicalDE4 |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV AEBS visualization selected physical/software realization slice.3 *4 * INC-AEBS-010 Phase 8: source-backed selection of concrete components,5 * pinned revisions, exchange types, and deployment roles for the reverse6 * visualization chain:7 *8 * pinned native Autoware AEB + existing DE4SDV 009B coordinator9 * -> read-only ROS 2 visualization adapter10 * -> bounded length-delimited transport (new port; not the INC-MW-010 port)11 * -> native SDV Gateway publisher in the sdv_ivi_cf IVI guest12 * -> SDV Gateway Data Tunnel13 * -> Java AAOS center-display application14 *15 * Provenance rule: native RSS, filtered obstacle cloud, and the exact native16 * intervention diagnostic are selected Autoware-originated sources. The17 * coordinator's combined risk-assessment object distance is DE4SDV-derived18 * and is never relabeled as native Autoware output. Virtual wall, debug19 * markers, metrics, and the blocked predicted-trajectory branch remain20 * deferred. No execution evidence is claimed by this slice; the mandatory21 * readiness preflight is recorded as gates, not as results.22 *23 * System 1/System 2 boundary: the instrument realization24 * (AEBSVisualizationInstrumentRealization) specializes the system of25 * interest and contains no System 1 part; the pinned AEB node and the26 * coordinator sit beside it in the observation context27 * (AEBSVisualizationPhysicalSystem).28 */2930package DE4SDV_AEBSVisualizationPhysicalSoftwareRealization {31 private import DE4SDV_MethodContext::*;32 private import DE4SDV_Stakeholders::*;33 private import DE4SDV_AEBSVisualizationFraming::*;34 private import DE4SDV_AEBSVisualizationFunctionalArchitecture::*;35 private import DE4SDV_AEBSVisualizationLogicalArchitecture::*;36 private import DE4SDV_AEBSPhysicalSoftwareRealization::*;37 private import DE4SDV_ROS2Types::*;38 private import DE4SDV_TraceVocabulary::PhysicalAllocationElement;39 private import SAF_Viewpoints::*;40 private import SysideViews::**;41 private import Views::*;4243 /* ──────────────────────────────────────────44 * Selected concrete realization elements45 * ────────────────────────────────────────── */4647 part def PinnedAutowareAEBExecution :> AutowareAutonomousEmergencyBrakingNode {48 doc /*49 * The pinned native Autoware AEB node (commit50 * f603d8759c92fb2f423f1544844e13086d79ad09) executed in the existing 009B51 * bench. Selected as the Autoware-originated source: RSS distance,52 * filtered obstacle cloud, and the aeb_emergency_stop diagnostic.53 */54 }5556 part def De4sdv009bCoordinatorExecution :> PhysicalAllocationElement {57 doc /*58 * The existing 009B coordinator run unchanged in its bench. Selected as59 * the DE4SDV-originated source of warning request, braking request, and60 * intervention lifecycle state. Composed, never copied.61 */62 port warningRequestOut;63 port brakingRequestOut;64 port lifecycleStateOut;65 }6667 part def Ros2VisualizationSourceAdapter :> PhysicalAllocationElement {68 doc /*69 * Python ROS 2 adapter node with subscriptions only. Assembles the70 * versioned visualization frame and enforces per-field provenance.71 * Selected realization of the source-adapter logical role.72 */73 port rssDistanceIn : NativeAEBMetricInput;74 port obstacleCloudIn : NativeAEBObstacleInput;75 port diagnosticsIn : NativeAEBDiagnosticInput;76 port warningIn : De4sdvWarningInput;77 port brakingIn : De4sdvBrakingInput;78 port lifecycleIn : De4sdvLifecycleInput;79 port frameOut : VisualizationFrameOutput;80 }8182 part def BoundedLengthDelimitedTransport :> PhysicalAllocationElement {83 doc /*84 * Bounded length-delimited frame stream on a NEW allocated port. The85 * historical INC-MW-010 transport port is not reused and carries no86 * inherited evidence.87 */88 port frameIn : VisualizationFrameInput;89 port frameOut : VisualizationFrameOutput;90 }9192 part def SdvIviCfGuestTarget {93 doc /*94 * Display-capable AAOS SDV IVI guest built from95 * sdv_ivi_cf-aosp_current-userdebug, pinned to an exact AOSP manifest96 * revision at execution time. Replaces the headless sdv_core_cf target,97 * whose evidence is not transferable to an HMI realization.98 */99 }100101 part def SdvGatewayIngressService :> PhysicalAllocationElement {102 doc /*103 * Native ingress service in the IVI guest using libsdvgatewayclient:104 * validates incoming frames and publishes via the SDV Gateway Data105 * Tunnel. Selected realization of the ingress logical role.106 */107 port frameIn : VisualizationFrameInput;108 port frameOut : VisualizationFrameOutput;109 }110111 part def SdvGatewayDataTunnelService :> PhysicalAllocationElement {112 doc /*113 * The supported AAOS SDV Gateway Data Tunnel publication/subscription114 * path between ingress service and application. No vendored or modified115 * upstream samples; documented client APIs only.116 */117 port publishedIn : VisualizationPublicationOutput;118 port subscriptionOut : VisualizationSubscriptionInput;119 }120121 part def JavaCenterDisplayApplication :> PhysicalAllocationElement {122 doc /*123 * Java privileged/system AAOS application subscribing via the documented124 * SDV Gateway Java client and rendering the AEBS threat/intervention125 * center-display view. Selected realization of the application logical126 * role.127 */128 port frameIn : VisualizationSubscriptionInput;129 port renderedOut : RenderedStateOutput;130 }131132 part def VisualizationEvidenceRecorder :> PhysicalAllocationElement {133 port renderedIn : RenderedStateOutput;134 doc /* Deterministic campaign recorder and independent replay validator host. */135 }136137 /* ──────────────────────────────────────────138 * Physical composition139 * ────────────────────────────────────────── */140141 part def AEBSVisualizationInstrumentRealization :> AEBSVisualizationTestSystem {142 doc /*143 * Selected realization of the visualization test system (System 2): the144 * read-only ROS 2 source adapter, the bounded transport, the IVI guest145 * with gateway ingress, data tunnel and display application, and the146 * evidence recorder. It contains no System 1 part; it observes the147 * pinned native AEB node and the coordinator through the adapter's148 * read-only source ports.149 */150151 part sourceAdapter : Ros2VisualizationSourceAdapter;152 part transport : BoundedLengthDelimitedTransport;153 part iviGuest : SdvIviCfGuestTarget {154 part gatewayIngress : SdvGatewayIngressService;155 part dataTunnel : SdvGatewayDataTunnelService;156 part displayApp : JavaCenterDisplayApplication;157 }158 part evidenceRecorder : VisualizationEvidenceRecorder;159160 // Reverse visualization flow only; no command path exists anywhere.161 connection adapterToTransport162 connect sourceAdapter.frameOut to transport.frameIn;163 connection transportToIngress164 connect transport.frameOut to iviGuest.gatewayIngress.frameIn;165 connection ingressToTunnel166 connect iviGuest.gatewayIngress.frameOut to iviGuest.dataTunnel.publishedIn;167 connection tunnelToApplication168 connect iviGuest.dataTunnel.subscriptionOut to iviGuest.displayApp.frameIn;169 connection applicationToEvidence170 connect iviGuest.displayApp.renderedOut to evidenceRecorder.renderedIn;171 }172173 part def AEBSVisualizationPhysicalSystem {174 doc /*175 * Observation context across both hosts: the observed System 1176 * executions (pinned native Autoware AEB node, existing 009B coordinator)177 * and the realization of the visualization test system (instrument) that178 * observes them read-only.179 */180181 part pinnedAeb : PinnedAutowareAEBExecution;182 part coordinator : De4sdv009bCoordinatorExecution;183 part instrument : AEBSVisualizationInstrumentRealization;184185 // Source-side connections reuse the selected Autoware publications.186 connection rssDistanceSource187 connect pinnedAeb.rssDistanceOut to instrument.sourceAdapter.rssDistanceIn;188 connection obstacleCloudSource189 connect pinnedAeb.debugPointCloudOut to instrument.sourceAdapter.obstacleCloudIn;190 connection diagnosticSource191 connect pinnedAeb.diagnosticsOut to instrument.sourceAdapter.diagnosticsIn;192193 // Coordinator outputs remain DE4SDV-derived; provenance is per-field.194 connection warningSource195 connect coordinator.warningRequestOut to instrument.sourceAdapter.warningIn;196 connection brakingSource197 connect coordinator.brakingRequestOut to instrument.sourceAdapter.brakingIn;198 connection lifecycleSource199 connect coordinator.lifecycleStateOut to instrument.sourceAdapter.lifecycleIn;200 }201202 part physicalSystem : AEBSVisualizationPhysicalSystem;203204 /* Logical-to-physical allocation for the selected realization. */205 allocation def LogicalRoleToPhysicalRealization;206207 allocation aebSourceAllocated : LogicalRoleToPhysicalRealization208 allocate logicalSystem.nativeAebSource209 to physicalSystem.pinnedAeb;210211 allocation coordinatorAllocated : LogicalRoleToPhysicalRealization212 allocate logicalSystem.coordinatorSource213 to physicalSystem.coordinator;214215 allocation adapterAllocated : LogicalRoleToPhysicalRealization216 allocate logicalSystem.instrument.sourceAdapter217 to physicalSystem.instrument.sourceAdapter;218219 allocation transportAllocated : LogicalRoleToPhysicalRealization220 allocate logicalSystem.instrument.transport221 to physicalSystem.instrument.transport;222223 allocation ingressAllocated : LogicalRoleToPhysicalRealization224 allocate logicalSystem.instrument.ingress225 to physicalSystem.instrument.iviGuest.gatewayIngress;226227 allocation serviceAllocated : LogicalRoleToPhysicalRealization228 allocate logicalSystem.instrument.displayService229 to physicalSystem.instrument.iviGuest.dataTunnel;230231 allocation applicationAllocated : LogicalRoleToPhysicalRealization232 allocate logicalSystem.instrument.application233 to physicalSystem.instrument.iviGuest.displayApp;234235 allocation evidenceAllocated : LogicalRoleToPhysicalRealization236 allocate logicalSystem.instrument.evidence237 to physicalSystem.instrument.evidenceRecorder;238239 allocation healthAllocated : LogicalRoleToPhysicalRealization240 allocate logicalSystem.instrument.healthSupervisor241 to physicalSystem.instrument.iviGuest.displayApp;242243 /* ──────────────────────────────────────────244 * Source provenance records245 * ────────────────────────────────────────── */246247 part def VisualizationSourceContributionRecord :> SourceContributionRecord {248 doc /* Records which provenance kind a physical source contributes. */249 attribute provenanceKindValue : ScalarValues::String;250 }251252 part nativeRssProvenance : VisualizationSourceContributionRecord {253 doc /* Native Autoware AEB RSS distance: ~/debug/rss_distance (Float32Stamped). */254 ref part physicalSource = physicalSystem.pinnedAeb;255 attribute :>> provenanceKindValue = "nativeAutowareAEB";256 }257258 part nativeObstacleProvenance : VisualizationSourceContributionRecord {259 doc /* Native Autoware AEB filtered obstacle cloud: ~/debug/obstacle_pointcloud. */260 ref part physicalSource = physicalSystem.pinnedAeb;261 attribute :>> provenanceKindValue = "nativeAutowareAEB";262 }263264 part nativeInterventionProvenance : VisualizationSourceContributionRecord {265 doc /*266 * Native intervention: exact diagnostic tuple autonomous_emergency_braking:267 * aeb_emergency_stop / ERROR / "[AEB]: Emergency Brake".268 */269 ref part physicalSource = physicalSystem.pinnedAeb;270 attribute :>> provenanceKindValue = "nativeAutowareAEB";271 }272273 part coordinatorStateProvenance : VisualizationSourceContributionRecord {274 doc /*275 * Warning/braking/lifecycle state from the 009B coordinator is276 * DE4SDV-derived. The coordinator's combined risk-assessment object277 * distance is DE4SDV-derived and shall not be relabeled as native.278 */279 ref part physicalSource = physicalSystem.coordinator;280 attribute :>> provenanceKindValue = "de4sdvAebsCoordinator";281 }282283 part blockedPredictedTrajectoryRemainsDeferred : BlockedRealizationBranchRecord {284 doc /*285 * The predicted-trajectory branch stays blocked at the pinned source286 * revision (predecessor DEF-AEBS-PHY-001). It is not smuggled back in as287 * visualization content.288 */289 ref part pinnedSource = physicalSystem.pinnedAeb;290 }291292 dependency pinnedAebTracesToSourceArtifact293 from physicalSystem::pinnedAeb294 to DE4SDV_AEBSPhysicalSoftwareRealization::physicalSoftware::sourceArtifact;295296 dependency adapterReadsPinnedAeb297 from physicalSystem::instrument::sourceAdapter298 to physicalSystem::pinnedAeb;299 dependency adapterReadsCoordinator300 from physicalSystem::instrument::sourceAdapter301 to physicalSystem::coordinator;302 dependency transportCarriesFrames303 from physicalSystem::instrument::sourceAdapter304 to physicalSystem::instrument::transport;305 dependency ingressReceivesTransport306 from physicalSystem::instrument::iviGuest::gatewayIngress307 to physicalSystem::instrument::transport;308 dependency appConsumesTunnel309 from physicalSystem::instrument::iviGuest::displayApp310 to physicalSystem::instrument::iviGuest::dataTunnel;311312 /* ──────────────────────────────────────────313 * Mandatory readiness preflight gates (planned, not results)314 * ────────────────────────────────────────── */315316 part def ReadinessPreflightGate {317 doc /* One mandatory preflight gate. Outcomes are recorded only by execution evidence later in the chain. */318 }319320 part gateIviBuildBoot : ReadinessPreflightGate {321 doc /* PF-AEBS-010-001: Build and boot the pinned sdv_ivi_cf target. */322 }323 part gateFrameworkServices : ReadinessPreflightGate {324 doc /* PF-AEBS-010-002: Observe package manager, system server, display composition, vehicle service, and SDV Gateway. */325 }326 part gateGatewayJavaSample : ReadinessPreflightGate {327 doc /* PF-AEBS-010-003: Prove Data Tunnel discovery/subscription with the documented Java sample. */328 }329 part gateNativeToJavaPayload : ReadinessPreflightGate {330 doc /* PF-AEBS-010-004: Native Gateway publisher and Java subscriber exchange a bounded payload. */331 }332 part gateVmToVmConnectivity : ReadinessPreflightGate {333 doc /* PF-AEBS-010-005: IVI guest reaches the ROS-side frame server over the selected connection. */334 }335 part gateNoUpstreamFork : ReadinessPreflightGate {336 doc /* PF-AEBS-010-006: Documented Gateway APIs only; any fork/patch needs maintainer involvement and approval first. */337 }338339 part realizationKillGate : IncrementLifecycleDecision {340 doc /*341 * If any mandatory gate cannot be executed at the pinned revision, the342 * chain stops at Phase 8 with a blocked realization decision and a343 * separate enabling slice. No host webpage, screenshot mock, direct host344 * rendering, or unreviewed upstream fork is an acceptable fallback.345 */346 }347348 /* ──────────────────────────────────────────349 * Concerns and views350 * ────────────────────────────────────────── */351352 concern visualizationPhysicalStructureConcern : PhysicalStructureConcern {353 subject;354 stakeholder systemsEngineer : SystemsEngineer;355 stakeholder reviewer : OpenSourceReviewer;356 }357358 concern visualizationPhysicalExchangeConcern : PhysicalInternalExchangeConcern {359 subject;360 stakeholder systemsEngineer : SystemsEngineer;361 stakeholder reviewer : OpenSourceReviewer;362 }363364 concern visualizationProvenanceMappingConcern : PhysicalLogicalMappingConcern {365 subject;366 stakeholder systemsEngineer : SystemsEngineer;367 stakeholder maintainer : Maintainer;368 stakeholder reviewer : OpenSourceReviewer;369 }370371 view aebsVisualizationPhysicalStructureView {372 viewpoint selectedPhysicalStructureViewpoint : PhysicalStructureDefinitionViewpoint {373 frame visualizationPhysicalStructureConcern;374 }375376 expose physicalSystem;377 expose physicalSystem::pinnedAeb;378 expose physicalSystem::coordinator;379 expose physicalSystem::instrument;380 expose physicalSystem::instrument::sourceAdapter;381 expose physicalSystem::instrument::transport;382 expose physicalSystem::instrument::iviGuest;383 expose physicalSystem::instrument::iviGuest::gatewayIngress;384 expose physicalSystem::instrument::iviGuest::dataTunnel;385 expose physicalSystem::instrument::iviGuest::displayApp;386 expose physicalSystem::instrument::evidenceRecorder;387 expose gateIviBuildBoot;388 expose gateFrameworkServices;389 expose gateGatewayJavaSample;390 expose gateNativeToJavaPayload;391 expose gateVmToVmConnectivity;392 expose gateNoUpstreamFork;393 expose realizationKillGate;394 render asTreeDiagram;395 }396397 view aebsVisualizationPhysicalInternalExchangeView {398 viewpoint selectedPhysicalExchangeViewpoint : PhysicalInternalExchangeViewpoint {399 frame visualizationPhysicalExchangeConcern;400 }401402 expose physicalSystem;403 expose physicalSystem::**;404 attribute depth = -1;405 attribute showAnnotationRows = false;406 attribute maxCompartmentEntries = 0;407 render asInterconnectionDiagram;408 }409410 view aebsVisualizationPhysicalLogicalMappingView : MVD::MatrixView {411 viewpoint selectedPhysicalLogicalViewpoint : PhysicalLogicalMappingViewpoint {412 frame visualizationProvenanceMappingConcern;413 }414 view :>> rowView {415 expose logicalSystem::nativeAebSource;416 expose logicalSystem::coordinatorSource;417 expose logicalSystem::instrument::sourceAdapter;418 expose logicalSystem::instrument::transport;419 expose logicalSystem::instrument::ingress;420 expose logicalSystem::instrument::displayService;421 expose logicalSystem::instrument::application;422 expose logicalSystem::instrument::evidence;423 expose logicalSystem::instrument::healthSupervisor;424 attribute :>> representation = Rep::name;425 }426 view :>> columnView {427 expose physicalSystem::pinnedAeb;428 expose physicalSystem::coordinator;429 expose physicalSystem::instrument::sourceAdapter;430 expose physicalSystem::instrument::transport;431 expose physicalSystem::instrument::iviGuest::gatewayIngress;432 expose physicalSystem::instrument::iviGuest::dataTunnel;433 expose physicalSystem::instrument::iviGuest::displayApp;434 expose physicalSystem::instrument::evidenceRecorder;435 attribute :>> representation = Rep::name;436 }437 view :>> cellView {438 expose DE4SDV_AEBSVisualizationPhysicalSoftwareRealization::*;439 attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;440 }441 }442}443