Ternary numbers for diagonal micromouse turns

by Alan Dibley

The translation of a route from one using 90 degree turns only to one using a combination of 45, 90 and 135 degree turns is not an obvious or trivial task. There are several possible approaches. this method recognises that there are only three kinds of action in an orthogonal route. Thus it seems to make sense to represent those values as a base three, or ternary, number. A simple translation process can then take these values as triplets and look up a translated move in a table.

(more…)

Continue ReadingTernary numbers for diagonal micromouse turns

AVR, Eclipse and the Mac

eclipse_home_header.jpgAVRMacPack works well enough in Xcode but I don’t understand Xcode so I wen looking for an alternative. While trawling through back issues of SERVO magazine, I came across a pair of articles by Dennis Clarke about setting up Eclipse with AVRMacPack and the avr-eclipse plugin. One of my recurring mistakes is the feeling that you can’t have enough development tools so I gave it a go…

(more…)

Continue ReadingAVR, Eclipse and the Mac

AVRMacPack and Xcode

6D1EDDCC-B888-4629-8116-6E8F9EC6D483.jpgThe AVRmacpack for AVR development on the Apple Mac contains command line tools. These are all well and good if you want to do things the traditional way with text editors, terminal windows and make files. No real problem. However, if you want the benefits of a modern IDE with things like function lists and refactoring, you might want to try Xcode. It is, after all, supplied with your Mac.
(more…)

Continue ReadingAVRMacPack and Xcode

A new day dawns

After several weeks playing with a MacBook, I have become a bit of a Mac convert. Not only are the machines very pleasing and the operating system a relative delight to use, I can also run Windows on it for that 'best of both worlds' experience.

Continue ReadingA new day dawns