36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
apiVersion: cognitive-agent/v1alpha1
|
|
kind: CapabilityCatalog
|
|
metadata:
|
|
id: window-native-can-capabilities
|
|
name: Window native CAN capabilities
|
|
version: 1.0.0
|
|
spec:
|
|
domain: window
|
|
capabilities:
|
|
- name: window.set_motion
|
|
description: Open, close, or stop one or more windows through vehicle CAN FD.
|
|
target_devices: [window]
|
|
target_scopes: [all, front, rear, front_left, front_right, rear_left, rear_right]
|
|
parameters:
|
|
- name: motion
|
|
type: string
|
|
required: true
|
|
allowed_values: [open, close, stop]
|
|
description: Explicit window motion command.
|
|
risk_level: high
|
|
confirmation_policy: on_ambiguity
|
|
- name: window.set_position
|
|
description: Set one window to an absolute opening percentage using position feedback and a stop command.
|
|
target_devices: [window]
|
|
target_scopes: [front_left, front_right, rear_left, rear_right]
|
|
parameters:
|
|
- name: position_pct
|
|
type: integer
|
|
unit: percent
|
|
minimum: 0
|
|
maximum: 100
|
|
required: true
|
|
description: Absolute window opening percentage.
|
|
risk_level: high
|
|
confirmation_policy: on_ambiguity
|