AutomaticMovements

An object containing background functionalities to make the robot feel more alive to the user.

Functions

Link copied to clipboard

Delays the random head movements, so that they do not interfere with i.e. gestures.

Link copied to clipboard
fun idleHeadMovements(strength: Double = 1.0, duration: Double = 1.0): Gesture

Makes Furhat move the head slightly in a random direction at an interval to make the robot feel more alive to the user. Does not affect attention, but can affect gestures (use the priority argument for furhat.gesture())

Link copied to clipboard
fun randomHeadMovements(strength: Double = 1.0, durationMultiplier: Double = 1.0, repetitionPeriod: IntRange = 2500..5000): StateBuilder.() -> Unit

Partial state that sets the interval and strength of the random head movements

Properties

Link copied to clipboard

Used to set random head-movements as on or off

Link copied to clipboard
val straightHead: Gesture

Resets Furhat's gaze to be sure of starting from 0 for behaviours affecting the neck & gaze