-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from UlfBj/enums
Definition of a common Datatype tree vspec structure. HIM configurato…
- Loading branch information
Showing
13 changed files
with
931 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright (c) 2024 Contributors to COVESA | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Mozilla Public License 2.0 which is available at | ||
# https://www.mozilla.org/en-US/MPL/2.0/ | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
# | ||
# Commercial Vehicle Information Specifications ADAS Datatype file | ||
# | ||
|
||
# | ||
# The root branch for CVIS ADAS datatype definitions. | ||
# | ||
|
||
ADAS: | ||
type: branch | ||
description: ADAS datatype definitions. | ||
|
||
ADAS.ActiveAutonomyLevelValues: | ||
type: sensor | ||
datatype: string | ||
allowed: [ | ||
'SAE_0', | ||
'SAE_1', | ||
'SAE_2_DISENGAGING', | ||
'SAE_2', | ||
'SAE_3_DISENGAGING', # Level 3 AD functions will disengage, driver notified | ||
'SAE_3', | ||
'SAE_4_DISENGAGING', # Level 4 AD functions will disengage, driver notified | ||
'SAE_4', | ||
'SAE_5' | ||
] | ||
description: ActiveAutonomyLevel allowed values. | ||
|
||
|
||
ADAS.SupportedAutonomyLevelValues: | ||
type: sensor | ||
datatype: string | ||
allowed: [ | ||
'SAE_0', | ||
'SAE_1', | ||
'SAE_2', | ||
'SAE_3', | ||
'SAE_4', | ||
'SAE_5' | ||
] | ||
description: SupportedAutonomyLevel allowed values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Copyright (c) 2024 Contributors to COVESA | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Mozilla Public License 2.0 which is available at | ||
# https://www.mozilla.org/en-US/MPL/2.0/ | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
# | ||
# Commercial Vehicle Information Specifications Body Datatype file | ||
# | ||
|
||
# | ||
# The root branch for CVIS Body datatype definitions. | ||
# | ||
|
||
Body: | ||
type: branch | ||
description: Body datatype definitions. | ||
|
||
Body.RefuelPositionValues: | ||
type: sensor | ||
datatype: stringx | ||
allowed: ['FRONT_LEFT', 'FRONT_RIGHT', 'MIDDLE_LEFT', 'MIDDLE_RIGHT', 'REAR_LEFT', 'REAR_RIGHT'] | ||
description: RefuelPosition allowed values. | ||
|
||
Body.Windshield: | ||
type: branch | ||
description: Body.Windshield datatype definitions. | ||
|
||
Body.Windshield.Wiping: | ||
type: branch | ||
description: Body.Windshield.Wiping datatype definitions. | ||
|
||
Body.Windshield.Wiping.ModeValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['OFF', 'SLOW', 'MEDIUM', 'FAST', 'INTERVAL', 'RAIN_SENSOR'] | ||
description: Windshield.Wiping.Mode allowed values. | ||
|
||
Body.WiperSystem: | ||
type: branch | ||
description: Body.WiperSystem datatype definitions. | ||
|
||
Body.WiperSystem.ModeValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['STOP_HOLD', 'WIPE', 'PLANT_MODE', 'EMERGENCY_STOP'] | ||
description: WiperSystem.Mode allowed values. | ||
|
||
Body.Lights: | ||
type: branch | ||
description: Body.Lights datatype definitions. | ||
|
||
Body.Lights.LightSwitchValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['OFF', 'POSITION', 'DAYTIME_RUNNING_LIGHTS', 'AUTO', 'BEAM'] | ||
description: Lights.LightSwitch allowed values. | ||
|
||
Body.BrakeLights: | ||
type: branch | ||
description: Body.BrakeLights datatype definitions. | ||
|
||
Body.BrakeLights.IsActiveValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['INACTIVE', 'ACTIVE', 'ADAPTIVE'] | ||
description: BrakeLights.IsActive allowed values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
# Copyright (c) 2024 Contributors to COVESA | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Mozilla Public License 2.0 which is available at | ||
# https://www.mozilla.org/en-US/MPL/2.0/ | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
# | ||
# Commercial Vehicle Information Specifications Cabin Datatype file | ||
# | ||
|
||
# | ||
# The root branch for CVIS Cabin datatype definitions. | ||
# | ||
|
||
Cabin: | ||
type: branch | ||
description: Cabin datatype definitions. | ||
|
||
Cabin.DriverPositionValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['LEFT', 'MIDDLE', 'RIGHT'] | ||
description: DriverPosition allowed values. | ||
|
||
Cabin.HVACStation: | ||
type: branch | ||
description: Cabin.HVACStation datatype definitions. | ||
|
||
Cabin.HVACStation.AirDistributionValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['UP', 'MIDDLE', 'DOWN'] | ||
description: HVACStation.AirDistribution allowed values. | ||
|
||
Cabin.Sunroof: | ||
type: branch | ||
description: Cabin.Sunroof datatype definitions. | ||
|
||
Cabin.Sunroof.SwitchValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['INACTIVE', 'CLOSE', 'OPEN', 'ONE_SHOT_CLOSE', 'ONE_SHOT_OPEN', 'TILT_UP', 'TILT_DOWN'] | ||
description: Sunroof.Switch allowed values. | ||
|
||
Cabin.Convertible: | ||
type: branch | ||
description: Cabin.Convertible datatype definitions. | ||
|
||
Cabin.Convertible.StatusValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['FRONT_LEFT', 'FRONT_RIGHT', 'MIDDLE_LEFT', 'MIDDLE_RIGHT', 'REAR_LEFT', 'REAR_RIGHT'] | ||
description: Convertible.Status allowed values. | ||
|
||
Cabin.Media: | ||
type: branch | ||
description: Cabin.Media datatype definitions. | ||
|
||
Cabin.Media.ActionValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['UNKNOWN', 'STOP', 'PLAY', 'FAST_FORWARD', 'FAST_BACKWARD', 'SKIP_FORWARD', 'SKIP_BACKWARD'] | ||
description: Media.Action allowed values. | ||
|
||
Cabin.Media.Played: | ||
type: branch | ||
description: Cabin.Media.Played datatype definitions. | ||
|
||
Cabin.Media.Played.SourceValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['UNKNOWN', 'SIRIUS_XM', 'AM', 'FM', 'DAB', 'TV', 'CD', 'DVD', 'AUX', 'USB', 'DISK', 'BLUETOOTH', 'INTERNET', 'VOICE', 'BEEP'] | ||
description: Media.Played.Source allowed values. | ||
|
||
Cabin.Navigation: | ||
type: branch | ||
description: Cabin.Navigation datatype definitions. | ||
|
||
Cabin.Navigation.MuteValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['MUTED', 'ALERT_ONLY', 'UNMUTED'] | ||
description: Navigation.Mute allowed values. | ||
|
||
Cabin.Navigation.GuidanceVoiceValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['STANDARD_MALE', 'STANDARD_FEMALE', 'ETC'] | ||
description: Navigation.GuidanceVoice allowed values. | ||
|
||
Cabin.HMI: | ||
type: branch | ||
description: Cabin.HMI datatype definitions. | ||
|
||
Cabin.HMI.FontSizeValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['STANDARD', 'LARGE', 'EXTRA_LARGE'] | ||
description: HMI.FontSize allowed values. | ||
|
||
Cabin.HMI.DateFormatValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['YYYY_MM_DD', 'DD_MM_YYYY', 'MM_DD_YYYY', 'YY_MM_DD', 'DD_MM_YY', 'MM_DD_YY'] | ||
description: HMI.DateFormat allowed values. | ||
|
||
Cabin.HMI.TimeFormatValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['HR_12', 'HR_24'] | ||
description: HMI.TimeFormat allowed values. | ||
|
||
Cabin.HMI.DistanceUnitValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['MILES', 'KILOMETERS'] | ||
description: HMI.DistanceUnit allowed values. | ||
|
||
Cabin.HMI.FuelVolumeUnitValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['LITER', 'GALLON_US', 'GALLON_UK'] | ||
description: HMI.FuelVolumeUnit allowed values. | ||
|
||
Cabin.HMI.FuelEconomyUnitsValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['MPG_UK', 'MPG_US', 'MILES_PER_LITER', 'KILOMETERS_PER_LITER', 'LITERS_PER_100_KILOMETERS'] | ||
description: HMI.FuelEconomyUnits allowed values. | ||
|
||
Cabin.HMI.EVEconomyUnitsValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['MILES_PER_KILOWATT_HOUR', 'KILOMETERS_PER_KILOWATT_HOUR', 'KILOWATT_HOURS_PER_100_MILES', 'KILOWATT_HOURS_PER_100_KILOMETERS', 'WATT_HOURS_PER_MILE', 'WATT_HOURS_PER_KILOMETER'] | ||
description: HMI.EVEconomyUnits allowed values. | ||
|
||
Cabin.HMI.TemperatureUnitValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['C', 'F'] | ||
description: HMI.TemperatureUnit allowed values. | ||
|
||
Cabin.HMI.TirePressureUnitValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['PSI', 'KPA', 'BAR'] | ||
description: HMI.TirePressureUnit allowed values. | ||
|
||
Cabin.HMI.DayNightModeValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['DAY', 'NIGHT'] | ||
description: HMI.DayNightMode allowed values. | ||
|
||
Cabin.SmartphoneProjection: | ||
type: branch | ||
description: Cabin.SmartphoneProjection datatype definitions. | ||
|
||
Cabin.SmartphoneProjection.ActiveValues: | ||
type: sensor | ||
datatype: string | ||
allowed: [ 'NONE', 'ACTIVE', 'INACTIVE' ] | ||
description: SmartphoneProjection.Active allowed values. | ||
|
||
Cabin.SmartphoneProjection.SourceValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['USB', 'BLUETOOTH', 'WIFI'] | ||
description: SmartphoneProjection.Source allowed values. | ||
|
||
Cabin.SmartphoneProjection.SupportedModeValues: | ||
type: sensor | ||
datatype: string | ||
allowed: [ 'ANDROID_AUTO', 'APPLE_CARPLAY', 'MIRROR_LINK', 'OTHER' ] | ||
description: SmartphoneProjection.SupportedMode allowed values. | ||
|
||
Cabin.SliderSwitch: | ||
type: branch | ||
description: Cabin.SliderSwitch datatype definitions. | ||
|
||
Cabin.SliderSwitch.SwitchValues: | ||
type: sensor | ||
datatype: string | ||
allowed: ['INACTIVE', 'CLOSE', 'OPEN', 'ONE_SHOT_CLOSE', 'ONE_SHOT_OPEN'] | ||
description: SliderSwitch.Switch allowed values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) 2024 Contributors to COVESA | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Mozilla Public License 2.0 which is available at | ||
# https://www.mozilla.org/en-US/MPL/2.0/ | ||
# | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
# | ||
# Commercial Vehicle Information Specifications Chassis Datatype file | ||
# | ||
# | ||
# The root branch for CVIS Chassis datatype definitions. | ||
# | ||
|
||
Exterior: | ||
type: branch | ||
description: Chassis datatype definitions. |
Oops, something went wrong.