Skip to content

Commit

Permalink
Add light switches
Browse files Browse the repository at this point in the history
VSS as of today has individual signals controlling/reporting if lights are on,
but it does not have any signals representing the controls typically available to the driver.

Signed-off-by: Erik Jaegervall <erik.jaegervall@se.bosch.com>
  • Loading branch information
erikbosch committed Dec 21, 2022
1 parent 8da73b8 commit bea179d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions spec/Body/Body.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,26 @@ Lights:
type: branch
description: Exterior lights.

Lights.LightSwitch:
datatype: string
type: actuator
allowed: ['OFF', 'POSITION', 'DAYTIME_RUNNING_LIGHTS', 'AUTO', 'BEAM']
description: Status of the vehicle main light switch.
comment: A vehicle typically does not support all alternatives.
Which lights that actually are lit may vary according to vehicle configuration and local legislation.
OFF is typically indicated by 0.
POSITION is typically indicated by ISO 7000 symbol 0456.
DAYTIME_RUNNING_LIGHTS (DRL) can be indicated by ISO 7000 symbol 2611.
AUTO indicates that vehicle automatically selects suitable lights.
BEAM is typically indicated by ISO 7000 symbol 0083.

Lights.IsHighBeamSwitchOn:
datatype: boolean
type: actuator
description: Status of the high beam switch. True = high beam enabled. False = high beam not enabled.
comment: This signal indicates the status of the switch and does not indicate if low or high beam actually are on.
That typically depends on vehicle logic and other signals like Lights.LightSwitch and Vehicle.LowVoltageSystemState.

Lights.Beam:
type: branch
instances: ["Low","High"]
Expand Down

0 comments on commit bea179d

Please sign in to comment.