125 lines
3.3 KiB
YAML
Executable File
125 lines
3.3 KiB
YAML
Executable File
apiVersion: cognitive-agent/v1alpha1
|
|
kind: CommandPlan
|
|
metadata:
|
|
id: plan-req-20260723024718-2342f4
|
|
name: Seat CAN command plan
|
|
version: 1.0.0
|
|
request_id: req-20260723024718-2342f4
|
|
labels:
|
|
execution_scope: virtual_only
|
|
spec:
|
|
domain: seat
|
|
platform: reference_vehicle
|
|
source:
|
|
config_id: seat-req-20260723024718-2342f4
|
|
config_version: 1.0.0
|
|
config_sha256: 3f5edb610ab60c147c397e1d935e62c7414ab6100e21074e677bad5905d68d21
|
|
compiler_version: 1.1.0
|
|
mapping_version: 1.1.0
|
|
commands:
|
|
- id: move_passenger_longitudinal_35pct
|
|
operation_ref: passenger_longitudinal_35pct
|
|
bus: body_can
|
|
message: Passenger_Seat_Motion_Command_551
|
|
signals:
|
|
Command_Checksum: 37
|
|
Command_Counter: 0
|
|
Command_Mode: 1
|
|
Longitudinal_Target_Pct: 35
|
|
Motion_Enable_Mask: 1
|
|
send_offset_ms: 0
|
|
repeat:
|
|
count: 3
|
|
period_ms: 20
|
|
completion:
|
|
message: Passenger_Seat_Motion_Status_559
|
|
signal: Longitudinal_Actual_Pct
|
|
operator: within
|
|
value: 35
|
|
tolerance: 1
|
|
timeout_ms: 8000
|
|
- id: move_passenger_cushion_tilt_55pct
|
|
operation_ref: passenger_cushion_tilt_55pct
|
|
bus: body_can
|
|
message: Passenger_Seat_Motion_Command_551
|
|
signals:
|
|
Command_Checksum: 59
|
|
Command_Counter: 1
|
|
Command_Mode: 1
|
|
Cushion_Tilt_Target_Pct: 55
|
|
Motion_Enable_Mask: 2
|
|
send_offset_ms: 50
|
|
repeat:
|
|
count: 3
|
|
period_ms: 20
|
|
completion:
|
|
message: Passenger_Seat_Motion_Status_559
|
|
signal: Cushion_Tilt_Actual_Pct
|
|
operator: within
|
|
value: 55
|
|
tolerance: 1
|
|
timeout_ms: 8000
|
|
- id: move_passenger_backrest_recline_50pct
|
|
operation_ref: passenger_backrest_recline_50pct
|
|
bus: body_can
|
|
message: Passenger_Seat_Motion_Command_551
|
|
signals:
|
|
Backrest_Recline_Target_Pct: 50
|
|
Command_Checksum: 57
|
|
Command_Counter: 2
|
|
Command_Mode: 1
|
|
Motion_Enable_Mask: 4
|
|
send_offset_ms: 100
|
|
repeat:
|
|
count: 3
|
|
period_ms: 20
|
|
completion:
|
|
message: Passenger_Seat_Motion_Status_559
|
|
signal: Backrest_Recline_Actual_Pct
|
|
operator: within
|
|
value: 50
|
|
tolerance: 1
|
|
timeout_ms: 8000
|
|
- id: move_passenger_legrest_height_40pct
|
|
operation_ref: passenger_legrest_height_40pct
|
|
bus: body_can
|
|
message: Passenger_Seat_Motion_Command_551
|
|
signals:
|
|
Command_Checksum: 52
|
|
Command_Counter: 3
|
|
Command_Mode: 1
|
|
Legrest_Height_Target_Pct: 40
|
|
Motion_Enable_Mask: 8
|
|
send_offset_ms: 150
|
|
repeat:
|
|
count: 3
|
|
period_ms: 20
|
|
completion:
|
|
message: Passenger_Seat_Motion_Status_559
|
|
signal: Legrest_Height_Actual_Pct
|
|
operator: within
|
|
value: 40
|
|
tolerance: 1
|
|
timeout_ms: 8000
|
|
- id: move_passenger_legrest_extension_45pct
|
|
operation_ref: passenger_legrest_extension_45pct
|
|
bus: body_can
|
|
message: Passenger_Seat_Motion_Command_551
|
|
signals:
|
|
Command_Checksum: 66
|
|
Command_Counter: 4
|
|
Command_Mode: 1
|
|
Legrest_Extension_Target_Pct: 45
|
|
Motion_Enable_Mask: 16
|
|
send_offset_ms: 200
|
|
repeat:
|
|
count: 3
|
|
period_ms: 20
|
|
completion:
|
|
message: Passenger_Seat_Motion_Status_559
|
|
signal: Legrest_Extension_Actual_Pct
|
|
operator: within
|
|
value: 45
|
|
tolerance: 1
|
|
timeout_ms: 8000
|