Just moozing

Before you can check your notes, you must make them…

Python for fun and learning

with one comment

I have this very cool idea about remote controlled cars, and I don’t have the time to implement it. It is about using small remote controlled cars, a rug and a camera …

The basic idea consists of three things:

  1. You start with 4 remote controlled cars from conrad.
  2. A children’s rug from IKEA.
  3. An average webcam.


The camera is set up so that the entire rug is seen and  the cars are placed on the rug. Some image recognition software detects the bright colors on a grey background and calculates the position. A digital map of the rug is needed also. This is the input for the python program.

The remote controls are hacked in a way, so the (digital?) up/down/left/right buttons can be controlled from a PC. This is the output of the program.

The exercise is then to make the cars drive gently on the  road from A to B. Perhaps we can do a race at some point.


  • Can the cars even roll on the rug?
  • If API is well designed, it should be no more than 10-15 lines of code for the simplest “follow road” python program.
  • Getting quick visual response is very motivating for people learning to program – and this way we do it the robotics way!


This was a quick summary of the idea. Please implement and tell me about it 🙂



Written by moozing

February 8, 2013 at 09:00

Posted in Teaching, Tech

Tagged with , , ,

One Response

Subscribe to comments with RSS.

  1. […] it has a similar kind of simple control of the bot as the “Cars” cars I mentioned in a previous post. It basically means that I want to hack the remote and use a camera to track the robot. It is […]

    Hexbug | Just moozing

    July 17, 2013 at 09:06

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: