Calico Download

From IPRE Wiki
Revision as of 01:00, 9 May 2013 by Myro-user (Talk | contribs) (Macintosh)

Jump to: navigation, search

This page describes the downloading and running of the Calico Editor and Shell. The Calico IDE is a cross-platform environment for learning about computing. This is part of the Calico Project.

If you are using Calico with robots, please see Optional: Using Calico with Robots below.

Upgrade

Once you have installed Calico and it is running fine, you can check here for upgrades. Just unzip the Calico-*.zip file. Mac users who have already installed the Frameworks previously can use the the Calico*-mac.zip (not the -mac-all.zip).

If you are using a robot, you might need to upgrade the robot's software, too. See Firmware Upgrade for more details.

For a list of what has changed in newer versions, see Calico: Whats New.

Download and Install

Which operating system are you running?

Windows

To run Calico on Windows:

  1. Install Calico Software
    1. Go to http://myro.roboteducation.org/~dblank/download/?C=N;O=D
    2. Get the highest-numbered number that ends in "-windows-all.zip"
    3. Unzip it, and put the contents on, say, your desktop
  2. Start Calico
    1. In the folder Calico, run the file StartCalico.bat

Macintosh

To run Calico on the Mac:

  1. Install Calico Software
    1. Go to http://myro.roboteducation.org/~dblank/download/?C=N;O=D
    2. The first time you install Calico, get the highest-numbered X.Y.Z Calico-X.Y.X-mac-all.zip as it includes the Frameworks. Future updates you can get the Calico-X.Y.Z-mac.zip version (no "all") as you only need to install the Frameworks once.
    3. Unzip it, and put the contents on, say, your desktop
    4. Move the contents of the Calico/Frameworks folder to /Library/Frameworks/
In the terminal you can do this with a command such as: sudo cp -a Calico/Frameworks/* /Library/Frameworks/
In Mac OS 10 10.8, go to the finder, choose Go-->Go to folder . . ., type /. You should see then see a Library folder, then Frameworks inside that. Copy the folders into this Frameworks folder. You will have to authenticate in order to do this.
In older versions of Mac OS 10, you can also do it using your Macintosh finder. You need to locate your "Macintosh HD". The easy way to do this is using the "GO" menu in the finder, then select "Computer" (or Press SHIFT-CONTROL-C as a shortcut). Inside your Macintosh HD you will find the "Library" folder, and inside of that is the system "Frameworks" folder. Copy all of the folders inside the "Calico/Frameworks" folder that you downloaded to the system "Frameworks" folder.
  1. Start Calico
    1. In the folder Calico, run the file StartCalico.app

Linux

To run Calico on Linux:

  1. Install Mono
    1. Use your package manager to install Mono and other support packages:
      1. mono-complete espeak graphviz libsdl libsdl-mixer libsdl-image libsdl-sound graphviz
      2. You might also need a package called either: libmono-i18n2.0-cil (Debian/Ubuntu-based systems) or mono-locale-extras (RedHat/Fedora-based systems)
      3. Ubuntu 12.10: sudo apt-get install mono-complete espeak graphviz graphviz libmono-i18n2.0-cil libsdl-net1.2 libsdl-mixer1.2 libsdl-image1.2 libsdl-sound1.2 libtaoframework-sdl1.2-cil
  2. Install Calico Software
    1. Go to http://myro.roboteducation.org/~dblank/download/?C=N;O=D
    2. Get the highest-numbered number that ends in "-linux.zip".
    3. Unzip it, and put the contents on, say, your desktop
  3. Start Calico
    1. In the folder Calico, run the file ./StartCalico

Optional: Using Calico with Robots

Before using the robot, you need to make sure that the software (called "firmware") on the Scribbler robot and the IPRE Fluke is up to date. You can do that through the upgrade.py program found here: Firmware Upgrade.

One of the uses of Calico is to control a Scribbler or Scribbler2 robots with a Fluke control board over Bluetooth wireless. To do so, you will need to:

  1. Setup a bluetooth wireless connection between your computer and the Fluke control board
  2. Upgrade the robot and Fluke firmware If you have an older robot or Fluke, then you will need to upgrade their "firmware". Firmware is software that is loaded once onto a device, and remains persistent even when you turn the device off. Both the Fluke and the Scribbler/Scribbler2 have firmware.
  3. Start Calico, import the Myro library, and make your robot move


Students:
If your instructor has upgraded your scribbler & fluke board for you, then you should just see the Calico_Myro_for_Students page.


Windows XP Instructions


Windows 7 Instructions

  • Setting up a bluetooth wireless connection on Windows 7 Video Tutorial
  • Installing and running the Firmware Upgrade tool on Windows 7 (including installing python, pyserial, and the upgrade tool as well as using it: Text Instructions and a Video Tutorial
    • Starting Calico, importing the Myro library, and make your robot move on Windows 7: Video Tutorial


Mac OSX Instructions


Linux Instructions

  • Follow the directions on Bluetooth setup on Linux
  • If you are getting "Permission Denied" error messages when attempting to access the bluetooth serial port, you may need to set up the default permissions on your rfcomm devices following these directions by Henry Walker.
  • There is a conflict between the Modem Manager and the Fluke that can cause problems connecting. Typically the symptoms involve failing to connect on the first attempt, but success on subsequent attempts. Follow these directions to address this issue.

Firmware Upgrade