Difference between revisions of "Robotics-2010"

From Earlham CS Department
Jump to navigation Jump to search
(Software Stack)
Line 2: Line 2:
  
 
=== Software Stack ===
 
=== Software Stack ===
* Notes here
+
==== Ubuntu with Brad's live ISO ====
 +
# Make sure you have the latest version of the [http://cs.earlham.edu/~carrick/courses/cs282/cs282live_2.iso Live ISO] (as of this writing)
 +
#* Recent improvements:
 +
#** Right and middle click from the mac touchpad
 +
#** No longer need to use sudo when trying to access USB bus
 +
#** Based on latest Ubuntu version
 +
#** New Bluetooth management tool
 +
# Boot off the live ISO, either on real hardware or virtually
 +
# Login using cs282/johnny5
 +
# Download [http://cs.earlham.edu/~carrick/courses/cs282/nxt.tgz Brad's installation kit] and untar it anywhere you want.
 +
# In your editor of choice, modify the install.sh script to connect to your brick instead of Brad's. This will be within the first few lines.
 +
# Open a terminal, navigate to the folder with your newly untarred files and type
 +
sudo ./install.sh
 +
If your computer supports bluetooth, set up your connection to your robot
 +
# Turn on your brick.
 +
# Navigate through the menu to enable bluetooth
 +
#* Ensure that your device is set to "findable"
 +
# Click the bluetooth symbol at the top of your computer's screen, next to the envelope.
 +
# Select "Set up new device"
 +
# Select your robot
 +
# You will be prompted to input a passkey into your robot
 +
#* Use the small grey button to delete characters and the large orange button to select characters
 +
#* Select the checkmark to submit your passkey
 +
#* Work quickly! You have about a minute before the passkey kicks you out and makes you start over!
 +
#* You will be notified on-screen if your passkey was successful
 +
# After your passkey is accepted, try running query.py
  
 
=== Python ===
 
=== Python ===
 
* [[nxt-python-doc|NXT-Python Documentation]]
 
* [[nxt-python-doc|NXT-Python Documentation]]
 
* [[nxt-python-threads|Thread Notes]]
 
* [[nxt-python-threads|Thread Notes]]

Revision as of 05:37, 23 February 2010

CS282 - Robotics

Software Stack

Ubuntu with Brad's live ISO

  1. Make sure you have the latest version of the Live ISO (as of this writing)
    • Recent improvements:
      • Right and middle click from the mac touchpad
      • No longer need to use sudo when trying to access USB bus
      • Based on latest Ubuntu version
      • New Bluetooth management tool
  2. Boot off the live ISO, either on real hardware or virtually
  3. Login using cs282/johnny5
  4. Download Brad's installation kit and untar it anywhere you want.
  5. In your editor of choice, modify the install.sh script to connect to your brick instead of Brad's. This will be within the first few lines.
  6. Open a terminal, navigate to the folder with your newly untarred files and type
sudo ./install.sh

If your computer supports bluetooth, set up your connection to your robot

  1. Turn on your brick.
  2. Navigate through the menu to enable bluetooth
    • Ensure that your device is set to "findable"
  3. Click the bluetooth symbol at the top of your computer's screen, next to the envelope.
  4. Select "Set up new device"
  5. Select your robot
  6. You will be prompted to input a passkey into your robot
    • Use the small grey button to delete characters and the large orange button to select characters
    • Select the checkmark to submit your passkey
    • Work quickly! You have about a minute before the passkey kicks you out and makes you start over!
    • You will be notified on-screen if your passkey was successful
  7. After your passkey is accepted, try running query.py

Python