49 lines
1.7 KiB
YAML
Executable File
49 lines
1.7 KiB
YAML
Executable File
apiVersion: cognitive-agent/v1alpha1
|
|
kind: SignalMapping
|
|
metadata:
|
|
id: roof-reference-vehicle-mapping
|
|
name: Roof mapping from supplied CAN matrix
|
|
version: 1.0.0
|
|
description: Virtual-only mapping normalized from the supplied roof worksheet.
|
|
spec:
|
|
domain: roof
|
|
platform: reference_vehicle
|
|
dbc_ref: ../../../platforms/reference_vehicle/can/dbc/vehicle.dbc
|
|
matrix_ref: can-matrix.yaml
|
|
status: draft
|
|
mappings:
|
|
- capability: roof.set_shade_position
|
|
parameter: position_pct
|
|
target_zone: vehicle
|
|
compiler_handler: compile_integer
|
|
bus: cabin_can
|
|
message: Roof_Shade_Control_3E6_04
|
|
signal: Rear_Awning_Shade_Screen_Position_Percentage_S
|
|
feedback_message: Roof_Shade_Status_47F
|
|
feedback_signal: Percentage_Of_Rear_Canopy_Position_47F_S
|
|
feedback_handler: compile_integer
|
|
unit: percent
|
|
- capability: roof.set_transmittance
|
|
parameter: transmittance_pct
|
|
target_zone: vehicle
|
|
compiler_handler: compile_integer
|
|
bus: cabin_can
|
|
message: Roof_Glass_Control_4C1_13
|
|
signal: Adjust_The_Skylight_Transmittance_Command_S
|
|
feedback_message: Roof_Glass_Status_4BB
|
|
feedback_signal: Current_Transmittance_Of_Skylight_S
|
|
feedback_handler: compile_transmittance_bucket
|
|
unit: percent
|
|
- capability: roof.set_automatic_dimming
|
|
parameter: state
|
|
target_zone: vehicle
|
|
compiler_handler: compile_enum
|
|
value_map: {"on": 1, "off": 2}
|
|
bus: cabin_can
|
|
message: Roof_Glass_Control_4C1_13
|
|
signal: Canopy_Automatic_Dimming_0x4C1_S
|
|
feedback_message: Roof_Glass_Status_4BB
|
|
feedback_signal: Canopy_Automatic_Dimming_0x4BB_S
|
|
feedback_handler: compile_enum
|
|
feedback_value_map: {"on": 1, "off": 2}
|