Calliope install instructions

From Tekkotsu Wiki

Jump to: navigation, search

Calliope uses an ASUS Eee 1001 PC and Ubuntu Netbook Edition (UNE) instead of Easy Peasy. Note that two-finger scrolling with the touchpad does not work on these machines (we're looking into fixes for this), but edge scrolling does work: swipe your finger along the right edge of the touchpad.

1. Install Ubuntu Netbook Edition following the instructions on the Ubuntu web site. Note that during boot you must press the Escape key, not the F2 key, in order to boot off the memory stick you created for installation. Once Ubuntu boots, click on the System tab on the left, go to the Administration section, and run the Install application.

During the install process, you will be asked for a user name ("Tekkotsu User") and a userid/login (set this to "user"). You will also have to specify a password. Check the box for automatic login on power-up.

2. Once Ubuntu is installed and booted:

  • Set the date and time.
  • Go to System > Preferences > Screensaver and disable screen locking, set the idle threshold to 2 hours, and in the Power Management section, disable putting the display to sleep in both the AC Power and Battery Power tabs.
  • Go to System > Preferences > Startup Applications and uncheck the boxes for Maximus and Update Notifier.

3. Restart the machine.

4. Connect to your wireless network, or plug the ASUS into an Ethernet port and establish network access.

5. Launch a shell by clicking on Accessories and then selecting Terminal. Launch a web browser by clicking on Favorites and then selecting Firefox Web Browser. Navigate to this web page. Then install two dotfiles by copying and pasting the commands below from the browser into the terminal window:

cd
wget http://Chiara-Robot.org/create-setup/dot-profile
mv dot-profile .profile
wget http://Chiara-Robot.org/create-setup/dot-bashrc
mv dot-bashrc .bashrc
source .profile

6. Install the device driver for the webcam by following the Sony PlayStation Eye driver install instructions.

7. Install the packages you'll need for Tekkotsu:

sudo -s
apt-get update
apt-get install -y cvs mercurial build-essential
apt-get install -y libpng12-dev libjpeg-dev libreadline-dev libxml2-dev
apt-get install -y libasound2-dev sox g++ gdb
apt-get install -y openssh-server
apt-get install -y openjdk-6-jdk
apt-get clean
apt-get autoremove -y
perl -MCPAN -e "install Parse::RecDescent"   # Hit Enter to accept defaults

apt-get install -y ruby rubygems
gem install plist treetop

7. Install and build Tekkotsu:

cd /usr/local
cvs -d :pserver:anonymous@cvs.tekkotsu.org:/cvs co -P Tekkotsu
cd /usr/local/Tekkotsu/project
gedit Environment.conf
  Change the value of TEKKOTSU_TARGET_MODEL to TGT_CALLIOPE, then save and exit
make -j3

8. Build dynamixel_util

cd /usr/local/Tekkotsu/tools/dynamixel_util
make -j3

9. Now set up the user's project directory:

su user
cd
cp -rp /usr/local/Tekkotsu/project ~/project
cd project
make -j3

10. See the article on Editing Code for advice about setting up text editor configuration files.