Files
Cognitive_Agent/artifacts/runs/req-20260723030557-85b802/command-plans/seat.yaml
T
2026-07-30 08:45:38 +08:00

104 lines
2.7 KiB
YAML
Executable File

apiVersion: cognitive-agent/v1alpha1
kind: CommandPlan
metadata:
id: plan-req-20260723030557-85b802
name: Seat CAN command plan
version: 1.0.0
request_id: req-20260723030557-85b802
labels:
execution_scope: virtual_only
spec:
domain: seat
platform: reference_vehicle
source:
config_id: seat-req-20260723030557-85b802
config_version: 1.0.0
config_sha256: 215e19113ca42b84ee5b8f6da591ccc1dbb6b95d71a076ccd4283281a5e8f175
compiler_version: 1.1.0
mapping_version: 1.1.0
commands:
- id: move_driver_longitudinal_40pct
operation_ref: driver_longitudinal_40pct
bus: body_can
message: Driver_Seat_Motion_Command_550
signals:
Command_Checksum: 42
Command_Counter: 0
Command_Mode: 1
Longitudinal_Target_Pct: 40
Motion_Enable_Mask: 1
send_offset_ms: 0
repeat:
count: 3
period_ms: 20
completion:
message: Driver_Seat_Motion_Status_558
signal: Longitudinal_Actual_Pct
operator: within
value: 40
tolerance: 1
timeout_ms: 8000
- id: move_driver_backrest_recline_40pct
operation_ref: driver_backrest_recline_40pct
bus: body_can
message: Driver_Seat_Motion_Command_550
signals:
Backrest_Recline_Target_Pct: 40
Command_Checksum: 46
Command_Counter: 1
Command_Mode: 1
Motion_Enable_Mask: 4
send_offset_ms: 50
repeat:
count: 3
period_ms: 20
completion:
message: Driver_Seat_Motion_Status_558
signal: Backrest_Recline_Actual_Pct
operator: within
value: 40
tolerance: 1
timeout_ms: 8000
- id: move_driver_legrest_height_35pct
operation_ref: driver_legrest_height_35pct
bus: body_can
message: Driver_Seat_Motion_Command_550
signals:
Command_Checksum: 46
Command_Counter: 2
Command_Mode: 1
Legrest_Height_Target_Pct: 35
Motion_Enable_Mask: 8
send_offset_ms: 100
repeat:
count: 3
period_ms: 20
completion:
message: Driver_Seat_Motion_Status_558
signal: Legrest_Height_Actual_Pct
operator: within
value: 35
tolerance: 1
timeout_ms: 8000
- id: move_driver_legrest_extension_35pct
operation_ref: driver_legrest_extension_35pct
bus: body_can
message: Driver_Seat_Motion_Command_550
signals:
Command_Checksum: 55
Command_Counter: 3
Command_Mode: 1
Legrest_Extension_Target_Pct: 35
Motion_Enable_Mask: 16
send_offset_ms: 150
repeat:
count: 3
period_ms: 20
completion:
message: Driver_Seat_Motion_Status_558
signal: Legrest_Extension_Actual_Pct
operator: within
value: 35
tolerance: 1
timeout_ms: 8000