HomePage RecentChanges

SourceCodeInternalE

This is an internal page for Team 614 members only.

Source Code Downloads

This section is for our working source code versions. They are available from the main SVN version in the high bay (TBD). The links below will download the files to your PC. You will need to decrypt the data with the GPG access key before using.

Hawk 2011 robot code

 Source code downloads coming soon.
 Use FLASH drive or Pen drive for now.

Example download

To access this code, do the following:

  1. Click on the file name below to download to your PC.
  2. Start up a bash or xterm shell window.
  3. In the shell window, cd to the directory with the downloaded file
  4. Insert the hawk’07 keyring disk into your CD
  5. Be sure to make note of the CD drive letter (often D: or E:). If the drive is D:, you can refer to it as the directory /cygdrive/d/ in the cygwin shell commands.
  6. Run gpg --import /cygdrive/d/hawk_distribution_key.gpg to import the hawk public key (first time only).
  7. Run gpg --secret-keyring /cygdrive/d/hawk07ring.gpg -o example.tar.bz2 -d example.tbz.gpg to decrypt the file … Enter the passphrase when requested.
  8. Unpack with tar: tar xjf example.tar.bz2

You should have a new directory example (or a folder if you are looking from windows). Try to open the README.txt file to see if it all worked.

example.tar.bz2.gpg

Here is the example from my machine:

  Step 1: clicked on the file link in my browser and got a requester with
  the following on it:
    File Download: Do you want to save this file?
    Name: example.tar.bz2.gpg
    Type: Unknown File Type
    From: hayfieldrobotics.us
    I clicked the Save button browsed to the folder I wanted to
    download to ( C:\chm\robotics\gnupg\check ) and saved there.
  Step 2: I used an xterm window for the shell. bash$ is the prompt.
  Step 3: bash$ cd /c/chm/robotics/gnupg/check/
          bash$ ls
          example.tar.bz2.gpg*  <--- this is the file
  Step 4: The HAWK07_KEY disk was inserted into the D:\ drive.
  Step 5: I'll be referring to the disk as /cygdrive/d/
  Step 6: Importing the public key
    bash$ gpg --import /cygdrive/d/hawk_distribution_key.gpg
    gpg: WARNING: using insecure memory!
    gpg: please see http://www.gnupg.org/faq.html for more information
    gpg: key 41ED4B77: public key "hawk07 distribution key" imported
    gpg: Total number processed: 1
    gpg:               imported: 1
    bash$ gpg --list-keys
    gpg: WARNING: using insecure memory!
    gpg: please see http://www.gnupg.org/faq.html for more information
    /home/chm/.gnupg/pubring.gpg
    -----------------------------
    pub   1024D/41ED4B77 2007-02-06
    uid                  hawk07 distribution key   <--- the new public key
    sub   4096g/A7CF6107 2007-02-06
  Step 7: Here I am running the command to decrypt
     bash$ gpg --secret-keyring /cygdrive/d/hawk07ring.gpg -o example.tar.bz2 -d example.tar.bz2.gpg
     gpg: WARNING: using insecure memory!
     gpg: please see http://www.gnupg.org/faq.html for more information
     You need a passphrase to unlock the secret key for
     user: "hawk07 distribution key"
     4096-bit ELG-E key, ID A7CF6107, created 2007-02-06 (main key ID 41ED4B77)
     Enter passphrase: << I entered the passphrase here >>
     gpg: encrypted with 4096-bit ELG-E key, ID A7CF6107, created 2007-02-06
           "hawk07 distribution key"
     bash$ ls
     example.tar.bz2  example.tar.bz2.gpg*  <--- now there are two
  Step 8: Unpack the decrypted, downloaded file
    bash$ tar xjf example.tar.bz2
    bash$ ls
    example/  example.tar.bz2  example.tar.bz2.gpg*
    bash$ cd example
    bash$ ls -l
    total 1
    -rw-r--r-- 1 chris.h.marshall mkgroup-l-d 151 Feb  7 14:48 README.txt
    bash$ cat README.txt
    Cong...
    .......
    .......
  Voila!