![]() | ||||
| Announcements | Information & Policies | Calendar | ||
|---|---|---|---|---|
| Software | Online Tutor | Reference Material | ||
Questions: Please send questions to 6.01-help@mit.edu. This will ensure a quicker answer than questions to individual staff members.
In this course, we'll be using the Python programming language. We'll also be using a Python package called soar to control the robots, both the real ones and in simulation. The soar program was written for EECS1 by Michael Haimes with help from Ross Glashan. It was originally inspired by a platform called PyRo that is used for robot programming at several schools.
You'll also need an editor and/or development environment for writing and debugging your programs. This term, we will be using idle, a programming environment specially designed for Python programming and included with the Python distribution. It's also possible to use emacs for homework, if you prefer, although we'd like you to use idle in lab. If you do use Emacs, we suggest that you use the latest version, Emacs 22, which comes with built-in support for Python programming. The idle environment is easier to use if all you want to do is to write and run simple Python programs for this class. Emacs is a powerful real-time display editor that you can use for Python and lots of other text-processing and programming applications.
Thursday labs will be done by students working in pairs, using lab laptops that connect to the robots. Tuesday software labs will be done individually using either your own laptop, a lab laptop, or a lab Athena machine. Homework can be done on your own laptop or an Athena machine. If you wish to use your own laptop for software lab or homework, it will need to have Python, idle and soar installed on it.
When you want to first set up your Athena account for 6.01 (eg, during the first lab), you should run the following command on one of the lab laptops or on any Athena machine (including Athena dialups such as athena.dialup.mit.edu or linux.mit.edu):
athrun 6.01 setupThis command will create the Desktop/6.01 directory in your Athena home directory and checkout the 6.01 software repository into that directory. Your Desktop/6.01 directory will include the "lab1" subdirectory (which will contain the files associated with that lab including all the files mentioned in the handouts). You only need to run the above command once ever -- when you subsequently log in on any lab laptop, the 6.01 directory will already exist on the Desktop.
Once you've done the setup, you can pull the latest files from the course locker into your Desktop/6.01 directory by running the following command on any Athena machine or on the course laptops:
athrun 6.01 updateYou will need to do this every time you start a new lab. If you'd like to avoid doing this manually, you can add athrun 6.01 update to the .login file in your home directory so that it will automatically get called every time you log in. You can create the .login file if it doesn't already exist.
To run soar, simply type soar at the prompt. Similarly, type idle to run idle.
You can use use GNU/Linux, Windows, or MacOS, as you prefer. The installation instructions are different for the different operating systems. Please look at the instructions even if you (think you) have all this installed already, so that you have the correct versions of the software. In particular, make sure you are running Python version 2.5 — not 2.3 or 2.4 or 3.0:
There are a lot of steps to the software installation, so be sure to ask the staff for help if you have any questions at all.