Operational go/no-go gates before enabling ADAS functions.
Config: examples/solutions/adas/spanda.readiness.toml · Profile: ISO 26262 (min score 90)
Before highway pilot, lane keeping, or any ADAS function activates, the Readiness Engine evaluates:
| Factor | Weight | Checks |
|---|---|---|
| Sensor availability | 25% | Required devices online and healthy |
| Calibration valid | 20% | Camera, radar, IMU within max age |
| Firmware approved | 15% | ECU and compute versions in allowlist |
| Vehicle health | 15% | Battery, tire pressure, brake system |
| Safety systems | 10% | Kill switch, emergency stop, secure comm |
| Connectivity | 5% | LTE/WiFi when OTA or V2X required |
| Trust score | 10% | Package trust, tamper status, attestation |
From spanda.readiness.toml:
Required: front camera, front radar, GPS, IMU, brake ECU
Optional (degraded mode without): front LiDAR, stereo camera, driver monitor
If a required sensor is offline, readiness score drops below threshold and ADAS functions are blocked.
# Full readiness report
spanda readiness examples/solutions/adas/src/highway_drive.sd \
--profile iso26262 \
--config examples/solutions/adas/spanda.toml \
--json
# With runtime health (--runtime flag)
spanda readiness examples/solutions/adas/src/highway_drive.sd \
--profile iso26262 \
--config examples/solutions/adas/spanda.toml \
--runtime
# Per-function readiness (check before enabling specific ADAS)
spanda readiness examples/solutions/adas/lane_keeping/lane_keeping.sd \
--profile iso26262
| ADAS function | Minimum capabilities | Minimum readiness |
|---|---|---|
| Lane Keeping Assist | lane_detection, steering_control |
85 |
| Adaptive Cruise Control | adaptive_speed_control, obstacle_detection |
90 |
| Automatic Emergency Braking | emergency_braking, obstacle_detection |
95 |
| Highway Pilot | Full capability set + driver_monitoring |
90 |
| Parking Assist | parking_assist |
80 |
| Low-Speed Autonomy | steering_control, obstacle_detection |
85 |
Function-specific thresholds are enforced via mission requires capabilities blocks; readiness
score gates the overall deploy decision.
spanda control-center serve \
--config examples/solutions/adas/spanda.toml \
--program examples/solutions/adas/src/highway_drive.sd
POST /v1/readiness/run — evaluate readiness with device poolGET /v1/analytics/readiness — readiness trendsISO 26262 profile requires min readiness score 90, kill switch, secure comm, tamper policy, assurance case, and ≥2 health checks. ADAS blueprint adds ≥4 health checks and sensor/calibration gates.
spanda verify src/highway_drive.sd --profile iso26262 --json