Skip to content

Commit

Permalink
Making Window Positon and ChildLock an Actuator (#549)
Browse files Browse the repository at this point in the history
* Making Window Positon and ChildLock an Actuator

Signed-off-by: Sebastian Schildt <sebastian.schildt@de.bosch.com>

* Do not instantiate child lock in window

Signed-off-by: Sebastian Schildt <sebastian.schildt@de.bosch.com>

* Move Child lock

---------

Signed-off-by: Sebastian Schildt <sebastian.schildt@de.bosch.com>
Co-authored-by: Erik Jaegervall <erik.jaegervall@se.bosch.com>
  • Loading branch information
SebastianSchildt and erikbosch authored Mar 28, 2023
1 parent 1020b7c commit e97339c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions spec/Cabin/Cabin.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ DoorCount:
description: Number of doors in vehicle.


IsWindowChildLockEngaged:
datatype: boolean
type: actuator
description: Is window child lock engaged. True = Engaged. False = Disengaged.
comment: Window child lock refers to the functionality to disable the move window button next to most windows,
so that they only can be operated by the driver.

##
# Seat signals and attributes
Expand Down
3 changes: 2 additions & 1 deletion spec/Cabin/SingleDoor.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Window:
IsChildLockActive:
datatype: boolean
type: sensor
description: Is door child lock engaged. True = Engaged. False = Disengaged.
description: Is door child lock active. True = Door cannot be opened from inside.
False = Door can be opened from inside.

#
# Window shade / curtain status
Expand Down
7 changes: 1 addition & 6 deletions spec/Cabin/SingleWindow.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@ IsOpen:

Position:
datatype: uint8
type: sensor
type: actuator
min: 0
max: 100
unit: percent
description: Window position. 0 = Fully closed 100 = Fully opened.

IsChildLockEngaged:
datatype: boolean
type: sensor
description: Is window child lock engaged. True = Engaged. False = Disengaged.

# Include the window controlling switch and attach it to the
# window branch
#include SingleSliderSwitch.vspec

0 comments on commit e97339c

Please sign in to comment.