Software Updates

From Tekkotsu Wiki

Revision as of 18:05, 2 February 2010 by Touretzky (Talk | contribs)
Jump to: navigation, search

This page contains tips for updating the Tekkotsu software on yourCreate/ASUS robot. The basic instructions for doing an update are:

cd /usr/local/Tekkotsu
sudo cvs -q update -dP
cd project
sudo make

Occasionally there are updates made to the Tekkotsu system files in the project directory, so it's not a bad idea to update those as well:

cd ~/project
cvs -q update -dP

After the update of Tekkotsu is complete, you will want to recompile your own code:

cd ~/project

9/2009: Install libasound-dev Sound Library

As of September 2009 you need to install libasound-dev due to enhancements to Tekkotsu's sound support under Linux. If you don't do this, Tekkotsu will report compilation or linking errors during the make process. To install it, type:

sudo apt-get install libasound2-dev

6/2009: Install Perl package Parse::RecDescent

You need to install the Perl module Parse::RecDescent in order to make use of the new stateparser released in June 2009. Tekkotsu now depends on this module, so installation is not optional. To install it, type:

sudo perl -MCPAN -e "install Parse::RecDescent"

The CPAN program may ask you if you want manual or automatic configuration; select automatic. It may also ask for permission to connect to the Internet; tell it "yes". If you get into any other kind of dialog with CPAN, just keep hitting Enter to accept the defaults and everything will be fine.