Utils Lib
A collection of utilities without direct impact on the flow. They can be related to the LED ring, be useful mathematical functions or relate to GoogleSheet extensions.
Examples :
furhat.say(UtilsLib.GoogleSheets.getText("greeting"))
parallel{ goto(UtilsLib.LEDs.PulseLEDState) }
val direction = UtilsLib.getRandomDirection()
Functions
Go through the resources folder and return all files that are currently there as a MutableList
Get the list of all languages supported by Furhat
Randomizes negative/positive meant to be used for setting i.e. if Furhat is looking left/right and up/down
Return random double in given range
Create variance between more advanced behaviours. To create variance between A, B, & C: randomNoRepeat({A},{B},{C})
Goto state without taking into account accidental double-click on wizard button This method is for live wizarded presentations to be used instead of the standard goto() Avoid effects of accidentally clicking a wizard button several times, which would cause it to transition from the same state to itself.