textual-notation-of-model/packages/features/driving/closed_loop_driving_operational_context.sysml

2 view(s) · 81 declared member(s) Jump to source ↓

view closedLoopDrivingOperationalContextViewsource ↓

ViewpointclosedLoopDrivingContextViewpoint (OperationalContextDefinitionViewpoint)
Framed concerns
  • closedLoopDrivingContextConcern own frame
RenderasTreeDiagram
Depth2
ExposesclosedLoopDrivingOperationalContext
closedLoopDrivingOperationalContext::*
closedLoopDrivingOperation
Sourcetextual-notation-of-model/packages/features/driving/closed_loop_driving_operational_context.sysml:326
diagram-closedLoopDrivingOperationalContextView.svg
«view» closedLoopDrivingOperationalContextView expose closedLoopDrivingOperationalContext expose closedLoopDrivingOperationalContext::* expose closedLoopDrivingOperation «part» closedLoopDrivingOperationalContext : SystemContext «doc» The operational context of the candidate driving system. Inside the system of interest, as Phase 0 draws it: camera and ego-motion input, learned planning, command execution and operational-state publication; the plan and the commands cross S-CORE inside it. The publication ends at its receiving end in the AAOS SDV guest, as in INC-MW-011. Around it: the vehicle it drives, the road environment its cameras see, navigation, which gives the route, the AAOS SDV guest with the application that presents the published state, and the driver who chooses the destination and watches the state. System 1 roles only: CARLA, the cloud bench and the capture instruments realize the vehicle, the scene and the route for verification (closedLoopVerificationEnvironment). This is the operational environment, not a deployment decomposition. «part» drivingSystem : ClosedLoopDrivingSystem :>> systemOfInterest «part» vehicle : SubjectVehicle «part» roadEnvironment : RoadEnvironment «part» navigation : NavigationSystem «part» aaosSDVGuest : AAOSSDVGuestExecutionDomain parts stateObserver : DrivingStateObserverApplication «part» driver : Driver «part» ^systemOfInterest «part» ^actors «action» closedLoopDrivingOperation : ClosedLoopDrivingOperation actions ^guideToDestination ^senseScene ^planAndCommand ^actuateVehicle ^presentOperationalState

Hover a model element for details open raw SVG.

view closedLoopDrivingOperationalStoryViewsource ↓

ViewpointclosedLoopDrivingStoryViewpoint (OperationalStoryViewpoint)
Framed concerns
  • closedLoopDrivingStoryConcern own frame
  • drivenAlongTheRouteConcern own frame
RenderasTreeDiagram
Depth1
ExposesdriveBoundedScenarioClosedLoop
driveBoundedScenarioClosedLoop::*
Sourcetextual-notation-of-model/packages/features/driving/closed_loop_driving_operational_context.sysml:352
diagram-closedLoopDrivingOperationalStoryView.svg
«view» closedLoopDrivingOperationalStoryView expose driveBoundedScenarioClosedLoop expose driveBoundedScenarioClosedLoop::* «use case» driveBoundedScenarioClosedLoop : DriveBoundedScenarioClosedLoop attributes ^ucMotivation redefines ucMotivation = "DE4SDV needs a camera-based driving capability in which a learned checkpoint's plans actually determine the vehicle's steering and acceleration, while the driver sees the genuine plan, vehicle state and health." ^ucTrigger redefines ucTrigger = "The driving system starts with a pinned checkpoint in one bounded driving scenario, navigation gives the route to the destination the driver chose, and the vehicle's cameras and motion sensing deliver their first input." ^ucResult redefines ucResult = "The vehicle drives the scenario on the checkpoint's plans, AAOS SDV shows the live plan, vehicle state and health, invalid, lost or stale input or plan leads to the defined stop or disable response, and an unavailable AAOS SDV leaves the loop unchanged." subject drivingSystem : ClosedLoopDrivingSystem = closedLoopDrivingOperationalContext::drivingSystem objective doc Operate the loop without selecting planning, transport or display technology, and without any safety, on-road, driver-HMI or production-readiness claim. actors vehicle : SubjectVehicle = closedLoopDrivingOperationalContext::vehicle roadEnvironment : RoadEnvironment = closedLoopDrivingOperationalContext::roadEnvironment navigation : NavigationSystem = closedLoopDrivingOperationalContext::navigation stateObserver : DrivingStateObserverApplication = closedLoopDrivingOperationalContext::aaosSDVGuest::stateObserver driver : Driver = closedLoopDrivingOperationalContext::driver include use cases driveOnCheckpointPlans ::> driveOnCheckpointPlans showLiveStateOnAAOS ::> showLiveStateOnAAOS respondToDegradedInputOrPlan ::> respondToDegradedInputOrPlan continueWithoutAAOS ::> continueWithoutAAOS

Hover a model element for details open raw SVG.

Source

1/*2 * DE4SDV closed-loop driving capability: Phase 2 operational context.3 *4 * INC-DRIVING-001, phase 2: what happens in the world of the candidate driving5 * system. The vehicle's cameras and motion sensing feed it, navigation gives6 * it the route to the destination the driver chose, its steering and7 * acceleration commands move the vehicle, and AAOS SDV presents the plan,8 * vehicle state and health it publishes. The route says where the vehicle is9 * to go; the plan, the trajectory the checkpoint computes, says how it moves10 * through the next seconds; the commands carry the plan out. AAOS SDV is a context role, not part11 * of the driving system (owner decision of 2026-11-02): removing it leaves the12 * plan-to-command chain unchanged, and the increment claims no driver-HMI13 * capability. No planning, transport, display or deployment technology is14 * selected here; CARLA, the cloud bench and the capture instruments are15 * System 2 and stay out of this context. No safety, on-road or16 * production-readiness claim is made.17 */1819package DE4SDV_ClosedLoopDrivingOperationalContext {20  private import DE4SDV_MethodContext::*;21  private import DE4SDV_OperationalContext::*;22  private import DE4SDV_Stakeholders::*;23  private import DE4SDV_SYSMODAdapter::*;24  private import DE4SDV_ClosedLoopDrivingFraming::*;25  private import DE4SDV_MiddlewareSCOREOperationalContext::AAOSSDVGuestExecutionDomain;26  private import SAF_Viewpoints::*;27  private import Views::*;2829  /* ───────────────────── Phase 2: what happens in the world ───────────────────── */3031  item def CameraImages {32    doc /* The images of the vehicle's cameras with their capture times: the scene the driving system plans from. */33  }3435  item def EgoMotionState {36    doc /* The vehicle's own motion and its recent history, such as speed, acceleration and yaw rate, with their sample times. */37  }3839  item def Route {40    doc /*41     * Where the vehicle is to go, as navigation gives it: the destination the42     * driver chose, the route to it, and the map of the roads around the43     * vehicle that the route runs through, with their times. Not a plan: the44     * plan says how the vehicle moves through the next seconds.45     */46  }4748  item def VehicleMotionCommand {49    doc /* The steering and acceleration commands the driving system gives the vehicle's actuation. */50  }5152  item def DrivingOperationalState {53    doc /*54     * The live plan, vehicle state and health of the driving system as it55     * publishes them for observation, each with its producer and its time.56     */57  }5859  part def NavigationSystem :> OperationalEntity {60    doc /*61     * The navigation of the vehicle: it holds the road map, takes the62     * destination the driver chooses and gives the driving system the route63     * there. It is an operational role, not a platform: which computer runs64     * it is an allocation of phase 8. If a later phase allocates it to the65     * AAOS SDV guest, AAOS SDV becomes an input to the loop and the66     * context-role decision of 2026-11-02 reopens. The driving system plans67     * its trajectory along the route and does not choose the route.68     */69  }7071  part def DrivingStateObserverApplication :> OperationalEntity {72    doc /*73     * The AAOS SDV application that presents the driving system's plan,74     * vehicle state and health to the driver. It sends nothing to the75     * driving system.76     */77  }7879  part closedLoopDrivingOperationalContext : SystemContext {80    doc /*81     * The operational context of the candidate driving system. Inside the82     * system of interest, as Phase 0 draws it: camera and ego-motion input,83     * learned planning, command execution and operational-state publication;84     * the plan and the commands cross S-CORE inside it. The publication ends85     * at its receiving end in the AAOS SDV guest, as in INC-MW-011. Around86     * it: the vehicle it drives, the road environment its cameras see,87     * navigation, which gives the route, the AAOS SDV guest with the88     * application that presents the published state, and the driver who89     * chooses the destination and watches the state. System 1 roles only:90     * CARLA, the cloud bench and the capture instruments realize the vehicle,91     * the scene and the route for verification92     * (closedLoopVerificationEnvironment). This is the operational93     * environment, not a deployment decomposition.94     */95    part drivingSystem : ClosedLoopDrivingSystem :>> systemOfInterest;96    part vehicle : SubjectVehicle {97      doc /* The vehicle whose motion the driving system commands: its cameras and motion sensing give the input, its steering and acceleration actuation take the commands. */98    }99    part roadEnvironment : RoadEnvironment {100      doc /* The road, lanes and traffic of the bounded driving scenario: what the cameras see and where the vehicle drives. */101    }102    part navigation : NavigationSystem {103      doc /* The navigation the driver chooses the destination on. In verification, the scenario's route and map stand in for it. */104    }105    part aaosSDVGuest : AAOSSDVGuestExecutionDomain {106      doc /* The AAOS SDV guest of the existing S-CORE and AAOS SDV integration, with its SDV Core, Gateway and IVI; phase 8 realizes them. */107      part stateObserver : DrivingStateObserverApplication;108    }109    part driver : Driver {110      doc /* The operator of the problem statement: the person who chooses the destination on navigation and watches the plan, vehicle state and health on AAOS SDV. The driver commands nothing of the driving system in this increment. */111    }112  }113114  /* Operational behavior: the loop closes through the vehicle and the world; AAOS SDV only receives. */115  action def ClosedLoopDrivingOperation {116    doc /*117     * One cycle of the loop in the world: navigation gives the route, the118     * vehicle observes the scene, the driving system plans along the route119     * and commands, the vehicle moves, and AAOS SDV presents the published120     * state outside the loop.121     */122    action guideToDestination {123      doc /* Navigation: gives the route to the destination the driver chose, over its map. */124      out route : Route;125    }126127    action senseScene {128      doc /* The vehicle: its cameras capture the road environment and its motion sensing samples its own motion. */129      out cameraImages : CameraImages;130      out egoMotion : EgoMotionState;131    }132133    action planAndCommand {134      doc /* The driving system: the pinned checkpoint plans from the images, the motion history and the route, and the plan becomes steering and acceleration commands. */135      in cameraImages : CameraImages;136      in egoMotion : EgoMotionState;137      in route : Route;138      out command : VehicleMotionCommand;139      out operationalState : DrivingOperationalState;140    }141142    flow from senseScene.cameraImages to planAndCommand.cameraImages;143    flow from senseScene.egoMotion to planAndCommand.egoMotion;144    flow from guideToDestination.route to planAndCommand.route;145    first senseScene then planAndCommand;146147    action actuateVehicle {148      doc /* The vehicle: steering and acceleration move it, which changes what its cameras see next. */149      in command : VehicleMotionCommand;150    }151152    flow from planAndCommand.command to actuateVehicle.command;153    first planAndCommand then actuateVehicle;154155    action presentOperationalState {156      doc /* AAOS SDV: the application presents the published plan, vehicle state and health; nothing flows back into the loop. */157      in operationalState : DrivingOperationalState;158    }159160    flow from planAndCommand.operationalState to presentOperationalState.operationalState;161  }162163  action closedLoopDrivingOperation : ClosedLoopDrivingOperation;164165  /* Operational story on the SYSMOD seam. */166  use case def DriveBoundedScenarioClosedLoop :> SYSMODSystemUseCaseBase {167    doc /* The candidate driving system in operation: learned plans move the vehicle through one bounded scenario while AAOS SDV shows the live state outside the loop. */168    attribute redefines ucMotivation = "DE4SDV needs a camera-based driving capability in which a learned checkpoint's plans actually determine the vehicle's steering and acceleration, while the driver sees the genuine plan, vehicle state and health.";169    attribute redefines ucTrigger = "The driving system starts with a pinned checkpoint in one bounded driving scenario, navigation gives the route to the destination the driver chose, and the vehicle's cameras and motion sensing deliver their first input.";170    attribute redefines ucResult = "The vehicle drives the scenario on the checkpoint's plans, AAOS SDV shows the live plan, vehicle state and health, invalid, lost or stale input or plan leads to the defined stop or disable response, and an unavailable AAOS SDV leaves the loop unchanged.";171172    objective {173      doc /*174       * Frame the closed loop only: the driving on learned plans, its175       * observation on AAOS SDV, its degraded behavior and its independence176       * from the observer. The planning, transport and display technology,177       * the response deadlines and the timing claims are fixed later.178       */179    }180  }181182  use case driveBoundedScenarioClosedLoop : DriveBoundedScenarioClosedLoop {183    subject drivingSystem : ClosedLoopDrivingSystem = closedLoopDrivingOperationalContext::drivingSystem;184    actor vehicle : SubjectVehicle = closedLoopDrivingOperationalContext::vehicle;185    actor roadEnvironment : RoadEnvironment = closedLoopDrivingOperationalContext::roadEnvironment;186    actor navigation : NavigationSystem = closedLoopDrivingOperationalContext::navigation;187    actor stateObserver : DrivingStateObserverApplication = closedLoopDrivingOperationalContext::aaosSDVGuest::stateObserver;188    actor driver : Driver = closedLoopDrivingOperationalContext::driver;189190    objective {191      doc /*192       * Operate the loop without selecting planning, transport or display193       * technology, and without any safety, on-road, driver-HMI or194       * production-readiness claim.195       */196    }197198    first start;199    then include driveOnCheckpointPlans;200    then include showLiveStateOnAAOS;201    then include respondToDegradedInputOrPlan;202    then include continueWithoutAAOS;203    then done;204  }205206  use case driveOnCheckpointPlans {207    subject drivingSystem : ClosedLoopDrivingSystem = closedLoopDrivingOperationalContext::drivingSystem;208    actor vehicle : SubjectVehicle = closedLoopDrivingOperationalContext::vehicle;209    actor roadEnvironment : RoadEnvironment = closedLoopDrivingOperationalContext::roadEnvironment;210    actor navigation : NavigationSystem = closedLoopDrivingOperationalContext::navigation;211212    objective {213      doc /*214       * SC-DRIVING-001 (normal operation, closed loop): the cameras see the215       * road environment; navigation gives the route to the destination the216       * driver chose; the pinned checkpoint plans from the images, the motion217       * history and the route; its plan becomes steering and acceleration218       * commands that move the vehicle; the vehicle's new motion changes the219       * next images. An autopilot, a replayed history or a prediction overlay220       * does not perform this scenario.221       */222    }223224    first start;225    then done;226  }227228  use case showLiveStateOnAAOS {229    subject drivingSystem : ClosedLoopDrivingSystem = closedLoopDrivingOperationalContext::drivingSystem;230    actor stateObserver : DrivingStateObserverApplication = closedLoopDrivingOperationalContext::aaosSDVGuest::stateObserver;231    actor driver : Driver = closedLoopDrivingOperationalContext::driver;232233    objective {234      doc /*235       * SC-DRIVING-002 (observation): the driving system publishes its plan,236       * the vehicle state and its health, each with its producer and time;237       * they reach AAOS SDV and the application presents them; the driver238       * sees the state of this run, not a mock or a replay. The display is239       * outside the control loop: the loop never waits for it.240       */241    }242243    first start;244    then done;245  }246247  use case respondToDegradedInputOrPlan {248    subject drivingSystem : ClosedLoopDrivingSystem = closedLoopDrivingOperationalContext::drivingSystem;249    actor vehicle : SubjectVehicle = closedLoopDrivingOperationalContext::vehicle;250    actor navigation : NavigationSystem = closedLoopDrivingOperationalContext::navigation;251    actor stateObserver : DrivingStateObserverApplication = closedLoopDrivingOperationalContext::aaosSDVGuest::stateObserver;252253    objective {254      doc /*255       * SC-DRIVING-003 (degraded input or plan): the camera images, the256       * motion or the route become invalid, lost or stale, or the plan257       * becomes invalid, late, lost or stale; the driving system gives the258       * vehicle the defined stop or disable response instead of acting on the259       * last plan, and publishes the degraded state. The response and its260       * deadlines are fixed with the requirements (phase 5).261       */262    }263264    first start;265    then done;266  }267268  use case continueWithoutAAOS {269    subject drivingSystem : ClosedLoopDrivingSystem = closedLoopDrivingOperationalContext::drivingSystem;270    actor stateObserver : DrivingStateObserverApplication = closedLoopDrivingOperationalContext::aaosSDVGuest::stateObserver;271    actor vehicle : SubjectVehicle = closedLoopDrivingOperationalContext::vehicle;272273    objective {274      doc /*275       * SC-DRIVING-004 (AAOS SDV unavailable or stale): when AAOS SDV, its276       * application or the path to it is down or late, planning and commands277       * to the vehicle go on unchanged and the degraded-input response does278       * not trigger on its account. A stale state is not presented as live;279       * whether the receiving end marks it or the display stays empty is280       * fixed with the requirements (phase 5).281       */282    }283284    first start;285    then done;286  }287288  /* Traces to the Phase 0 records this context implements. */289  dependency drivingStoryAnswersProblem290    from driveBoundedScenarioClosedLoop291    to DE4SDV_ClosedLoopDrivingFraming::closedLoopDrivingProblem;292  dependency aaosSDVGuestOnReuseAssumption293    from closedLoopDrivingOperationalContext::aaosSDVGuest294    to DE4SDV_ClosedLoopDrivingFraming::asmCandidateReuse;295  dependency stateObserverOnTransportGap296    from DrivingStateObserverApplication297    to DE4SDV_ClosedLoopDrivingFraming::gapTransportAndControl;298  dependency navigationOnInputGap299    from NavigationSystem300    to DE4SDV_ClosedLoopDrivingFraming::gapModelInputAndFeedback;301302  comment navigationInputOfTheCheckpoint about DE4SDV_ClosedLoopDrivingFraming::gapModelInputAndFeedback303    /*304     * Besides camera images and the ego-motion history, the pinned checkpoint305     * takes a map of the roads around the vehicle with the route corridor and306     * the destination (Model/README.md and Model/navigation/geometry.py at307     * cb50764b). The gap covers their geometry, their timing and the raster308     * geometry the checkpoint expects as well. Phase 2 adds navigation as the309     * context role that gives them (owner decision of 2026-11-02).310     */311312  concern closedLoopDrivingContextConcern : OperationalContextConcern {313    doc /*314     * System architects, systems engineers and open-source reviewers need to315     * see what is inside the driving system and what is around it: the316     * vehicle, the road environment, navigation, AAOS SDV and the driver, and317     * which items cross the boundary in which direction. Navigation gives the318     * route; AAOS SDV only receives, and nothing it sends enters the loop.319     */320    subject;321    stakeholder systemArchitect : SystemArchitect;322    stakeholder systemsEngineer : SystemsEngineer;323    stakeholder reviewer : OpenSourceReviewer;324  }325326  view closedLoopDrivingOperationalContextView {327    viewpoint closedLoopDrivingContextViewpoint : OperationalContextDefinitionViewpoint {328      frame closedLoopDrivingContextConcern;329    }330331    expose closedLoopDrivingOperationalContext;332    expose closedLoopDrivingOperationalContext::*;333    expose closedLoopDrivingOperation;334    attribute depth = 2;335    attribute showAnnotationRows = false;336    render asTreeDiagram;337  }338339  concern closedLoopDrivingStoryConcern : OperationalStoryConcern {340    doc /*341     * Systems engineers, verification engineers and open-source reviewers342     * need the loop told in stakeholder language: driving on the checkpoint's343     * plans, the live state on AAOS SDV, the response to degraded input or344     * plan, and the loop without AAOS SDV.345     */346    subject;347    stakeholder systemsEngineer : SystemsEngineer;348    stakeholder verificationEngineer : VerificationEngineer;349    stakeholder reviewer : OpenSourceReviewer;350  }351352  view closedLoopDrivingOperationalStoryView {353    viewpoint closedLoopDrivingStoryViewpoint : OperationalStoryViewpoint {354      frame closedLoopDrivingStoryConcern;355      frame drivenAlongTheRouteConcern;356    }357358    expose driveBoundedScenarioClosedLoop;359    expose driveBoundedScenarioClosedLoop::*;360    attribute depth = 1;361    attribute showAnnotationRows = false;362    render asTreeDiagram;363  }364}365