Skip to content

Environmental actors

Manos Tsardoulias edited this page Jan 28, 2021 · 17 revisions

Notes:

  • The below devices are declared in the actors section
  • All parameters of actors are mandatory!

Barcode

Configuration example:

id: 6
x: 420
y: 100
message: EL3341

Color

Configuration example:

id: 7
x: 410
y: 100
r: 0
g: 255
b: 0

Fire

Configuration example:

id: 10
x: 320
y: 100
range: 100 # Optional, default is 100px
temperature: 150 # Optional, default is 150

Human

Configuration example:

id: 0
x: 120
y: 150
move: 0
sound: 1
lang: EN
range: 80 # Optional, default is 80
speech: Hello there # Custom, added by user. Optional, default is ""
emotion: happy # [happy, sad, crying, neutral, delighted, angry, disgusted, afraid]. Optional, default is neutral
gender: male # [male, female, none]. Optional, default is none
age: 56 # Optional, default is -1 (not provided)

QR

Configuration example:

id: 5
x: 320
y: 100
message: test

RFID tag

Configuration example:

id: 10
x: 320
y: 100
message: test

Sound source

Configuration example:

id: 4
x: 120
y: 100
lang: EN
range: 100 # Optional, default is 100
speech: Hello there # Custom, added by user. Optional, default is ""
emotion: happy # [happy, sad, crying, neutral, delighted, angry, disgusted, afraid]. Optional, default is neutral

Text

Configuration example:

id: 8
x: 420
y: 100
text: this is a text

Water source

Configuration example:

id: 15
x: 320
y: 100
range: 100 # Optional, default is 100