Personal tools
 
Document Actions

Making Tux Droid move and talk

Several simple programs to do some funny things with Tux Droid.

Se

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.
The required function is a Tux Droid command. Read the documentation and look for the correct function and parameter.

Exercise 2:

  • Make tux Droid blink the eyes 6 times.
The required function is a Tux Droid command. Read the documentation and look for the correct function and parameter.

Exercise 3:

  • First open and then close the beak.
The required function is a Tux Droid command. Search for the correct function.

Exercise 4:

  • Make Tux Droid say something in English with a female voice.
First you will need to specify the language and voice type before making Tux Droid talk. The required function is described in the [tts] class.

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.
 
by Se last modified 2007-06-01 16:14
You are here: Home Documentation Tutorials Programming Tux Droid with Python Making Tux Droid move and talk

Powered by Plone CMS, the Open Source Content Management System