#------------------------------------------------------------------------------ # TiViPE Textual Robotics Language. # Copyright (c) 2016, TiViPE, All rights reserved. # Url: www.tivipe.com # Email: tino@tivipe.com # Author: Tino Lourens # Date: 07 Sep 2016 #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # Enable motor stiffness; move to a standing position; perform behavior; # move to crouching position; relax motor stiffness #------------------------------------------------------------------------------ wait(12000) & stiff (1, 500, 0) & ledoff(AllLeds) & posture(Stand) & #------------------------------------------------------------------------------ # say #------------------------------------------------------------------------------ say(Hello__I_am_a_robot, 80, English) & say(Hallo__ik_ben_een_robot, 80, Dutch, Femke22Enhanced) & say(Hello__I_am_a_robot, 80, English) & #------------------------------------------------------------------------------ # say animated options #------------------------------------------------------------------------------ say(Contextual_movement) & saya(Hello__I_am_a_robot, Contextual) & say(Disabled_movement) & saya(Hello__I_am_a_robot, Disabled) & say(Random_movement) & saya(Hallo__ik_ben_een_robot, Random, 80, Dutch, Femke22Enhanced) & #------------------------------------------------------------------------------ # play music #------------------------------------------------------------------------------ play (/home/nao/audio/swiftswords_ext.mp3, 75) & #------------------------------------------------------------------------------ # move back to crouching position and relax #------------------------------------------------------------------------------ posture(Crouch) & stiff(0, 500, 0) & say(ready, 80, English) #------------------------------------------------------------------------------ # End of program #------------------------------------------------------------------------------