Skip to content

Port command_mode_decider (I2) with a static decision table, and command_mode_types (I4) #5

Open

Description

@chishengshih

Node: I2 + I4 · Tier T0 · Partition P0 · Rate 100 Hz · Work package WP3 · Dependency level L7

Package

  • autoware_command_mode_decider (+ _plugins)
  • autoware_command_mode_types (I4, header-only)

Role on the safety island

Decides which command source has authority (autonomous / MRM / stop).

Status

Port. The plugin logic is replaced by a static, table-driven decider for certifiability (§4.1). I4 is the shared type library for I1–I3 and the HPC. Language: C++ port (decision Q8, proposed). Target: FreeRTOS + nano-ros on the X-S32Z27X-DC.

Inputs

  • Island mode from N3 (D15)
  • Fault verdict from N8 (D14)
  • Validation reject from I8 (D19, WP4)

Outputs

  • Decided command mode to I3 (D20)

Tasks

  • Port I4 first: I1 and I3 need it too
  • Replace runtime plugins with a static decision table
  • Encode the rank order of §10.4
  • Contract file (*.contract.yaml) with rates, age limits and partition

Acceptance tests

  • Every row of the decision table
  • The §10.4 rank order holds
  • No plugin is loaded at runtime

Depends on

  • N3 and N8 (new nodes; scripted inputs until they exist)

Inputs from nodes that are not built yet are scripted with the test harness (plan §2.1), so this issue does not wait for them.

References

Activity

  1. added
    imported-nodeAutoware node migrated to the safety island (I*)
    wp3Work package 3: authority core and B4
    P0Partition P0: safety core
    s32z2NXP S32Z2 / X-S32Z27X-DC
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Partition P0: safety coreimported-nodeAutoware node migrated to the safety island (I*)s32z2NXP S32Z2 / X-S32Z27X-DCwp3Work package 3: authority core and B4

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions