northern-bites/nbites — pull request #271 by emamanto (2012-03-30 01:45:52+00:00)
Title: New Robots + 1.12.3

This branch contains all of the changes needed for our code to run with the newest version of Naoqi and the new robots.

*The file system setup on the robot changed, so I adapted our code to many new paths. I also changed the nbites-specific folders to have a less confusing setup (ie we install to a different location now).
*I came up with a new setup process based on the old one but viable for the old AND new robots, which don't have their file systems on the USB sticks anymore.
*Now that we have to compile for two types of robots with two different processors, the system had to be updated to use two different crosstoolchains based on robot type. Octavian's commit basically accomplishes this.
*Aldebaran deprecated ALPtr and moved some headers... I updated our code to accommodate this.

How to Test:
1. Download the new SDK and the two crosstoolchains. Replace the SDK as usual; the toolchain folders should be named geodetoolchain and atomtoolchain and should be placed in nbites/lib.
2. Follow the instructions on the "Configure a Nao" wiki page.
3. Once the robot is updated, compile and run our code as usual. **ONE MAJOR CHANGE: We NO LONGER HAVE 'make cross'. If you're compiling for an old robot, it's 'make geode', and for a new robot it's 'make atom'. This was necessary because of the different toolchains. Otherwise, compilation/install should be the same.

There are some nasty-looking warnings which I'm still working on (they don't prevent our code from working, but I don't think they're harmless, either), and we also will need to fix up the robot name/CoA situation. I'm leaving these issues for a second pull request so that we can start using all of the robots on the current software ASAP.