Available Actions

This table list some of the raw actions and their corresponding parameter that are available in the system, mainly for use in a JSON configuration file for the Wizard-of-Oz interface.

Action name

Parameter

Action name

Parameter

action_gesture

(string) the animation to run

gesture(Animation)

action_eyecolour

(string) the colour to use

setEyeColour(Colour)

action_earcolour

(string) the colour to use

setEarColour(Colour)

action_headcolour

(string) the colour to use

setHeadColour(Colour)

action_idle

(string) ‘true’ - enable idle mode looking up slightly, straight - enable idle mode looking straight ahead, 'false' - disable idle mode i.e. allow autonomous head movement

setIdle(Mode)

and

setNonIdle

action_turn

(string) ‘left’ or ‘right’

turnLeft('false')

and

turnRight('false')

action_turn_small

(string) ‘left’ or ‘right’

turnLeft('true')

and

turnRight('true')

action_wakeup

N/A (empty string)

wakeUp

action_rest

N/A (empty string)

rest

action_set_breathing

(string;integer) the name of the parameter and the corresponding desired value (0 or 1 to disable or enable), semicolon separated

disableBreathing(BodyPart)

and

enableBreathing(BodyPart)

action_posture

(string;integer) the name of the posture and the corresponding desired speed of change (0-100), semicolon separated

goToPosture(Posture,Speed)

 

 

 

action_say

(string) the text

say(Text)

action_say_animated

(string) the text

sayAnimated(Text)

audio_language

(string) the language key

setLanguage(LanguageKey)

action_speech_param

(string;float) the name of the parameter and the corresponding desired value, semicolon separated

setSpeechParam(Param,Value)

action_stop_talking

N/A (empty string)

stopTalking

 

 

 

render_html

(string) the HTML to render (body only); see https://socialrobotics.atlassian.net/wiki/spaces/CBSR/pages/1470201957 (note: the ‘webserver’ service needs to be running for this!)

renderPage(Html)

 

 

 

log

(string) the content to log

N/A

All actions will be logged to a CSV file; the log action allows logging custom content with the WoO-buttons.