Making Tux Droid move and talk
Several simple programs to do some funny things with Tux Droid.
This tutorial will demonstrate in an entertaining way how to start programming. The tutorial shows how to program Tux Droid with a simple but powerful language: Python.
Page
5
of
6.
What ?
The following exercises will let you command the Tux Droid movements. The presented exercises can be solved by using the Tux Droid documentation and the Python basic constructions explained previously.Exercise 1:
- Make the robot rotate two times to the left.
Exercise 2:
- Make tux Droid blink the eyes 6 times.
Exercise 3:
- First open and then close the beak.
Exercise 4:
- Make Tux Droid say something in English with a female voice.
Exercise 5:
- Let tux Droid count with the voice synthesis from 0 to 9.
Exercise 6:
- Let Tux Droid count from 0 to 9 like in the above exercise. But
this time he needs to say more than just the numbers. For every number Tux needs to say: "The number is ", followed by the number. And if the number is 5 he has to say: "The magic number is " followed by the number.