Skip to content

Commit

Permalink
Add door position
Browse files Browse the repository at this point in the history
Inspired by DOOR_POS in Android

Signed-off-by: Erik Jaegervall <[email protected]>
  • Loading branch information
erikbosch committed Jul 3, 2023
1 parent 0a23647 commit 8b921fa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion spec/Cabin/SingleDoor.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,22 @@
IsOpen:
datatype: boolean
type: actuator
description: Is door open or closed
description: Is door open or closed? True = Fully or partially open. False = Fully closed.

IsLocked:
datatype: boolean
type: actuator
description: Is door locked or unlocked. True = Locked. False = Unlocked.

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

#include SingleSliderSwitch.vspec

#
# Window description
Expand Down

0 comments on commit 8b921fa

Please sign in to comment.