http://code.google.com/p/nxt-python/source/detail?r=162
Added:
/branches/v2/docs/seealso.url
Deleted:
/branches/v2/docs/more_docs.url
/branches/v2/docs/nxt-python.css
/branches/v2/docs/nxt-python.html
Modified:
/branches/v2/setup.py
=======================================
--- /dev/null
+++ /branches/v2/docs/seealso.url Mon Aug 16 12:18:41 2010
@@ -0,0 +1,13 @@
+[InternetShortcut]
+URL=http://code.google.com/p/nxt-python/w/list
+WorkingDirectory=C:\WINDOWS\
+ShowCommand=7
+IconIndex=1
+IconFile=http://code.google.com/favicon.ico
+Modified=20F06BA06D07BD014D
+HotKey=1601
+IDList=
+[{000214A0-0000-0000-C000-000000000046}]
+Prop3=19,2
+[DEFAULT]
+BASEURL=http://code.google.com/p/nxt-python/w/list
=======================================
--- /branches/v2/docs/more_docs.url Sat Jun 26 13:54:44 2010
+++ /dev/null
@@ -1,13 +0,0 @@
-[InternetShortcut]
-URL=http://code.google.com/p/nxt-python/w/list
-WorkingDirectory=C:\WINDOWS\
-ShowCommand=7
-IconIndex=1
-IconFile=http://code.google.com/favicon.ico
-Modified=20F06BA06D07BD014D
-HotKey=1601
-IDList=
-[{000214A0-0000-0000-C000-000000000046}]
-Prop3=19,2
-[DEFAULT]
-BASEURL=http://code.google.com/p/nxt-python/w/list
=======================================
--- /branches/v2/docs/nxt-python.css Sat Jun 26 13:54:44 2010
+++ /dev/null
@@ -1,20 +0,0 @@
-h1 {
- text-align: center;
- page-break-after: avoid;
-}
-h2 {
- page-break-after: avoid;
-}
-h3 {
- page-break-after: avoid;
-}
-body {
- background: #DFC;
- text-align: justify;
- orphans: 3;
- windows: 4;
-}
-caption {
- font-weight: bold;
- font-style: oblique;
-}
=======================================
--- /branches/v2/docs/nxt-python.html Sat Jun 26 13:54:44 2010
+++ /dev/null
@@ -1,215 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <meta name="Author" content="Douglas P Lau, Marcus Wanner"/>
- <link href="nxt-python.css" rel="stylesheet" type="text/css"/>
- <title>NXT-Python</title>
-</head>
-
-<body>
-<h1>NXT-Python</h1>
-
-<h2>About</h2>
-<p>
- NXT-Python is a package for controlling a LEGO NXT robot using the
- Python programming language.
- It can communicate using either USB or Bluetooth.
- It is available under the Free Software Foundation's GPL license.
- It works on Linux, Windows, and Mac.
- Here's a sample program:
-</p>
-<pre>
-#!/usr/bin/env python
-
-import nxt.locator
-
-brick = nxt.locator.find_one_brick()
-name, host, signal_strength, user_flash = brick.get_device_info()
-print 'NXT brick name: %s' % name
-print 'Host address: %s' % host
-print 'Bluetooth signal strength: %s' % signal_strength
-print 'Free user flash: %s' % user_flash
-</pre>
-<h2>Requirements</h2>
-<ul>
- <li><a href='http://www.python.org'>Python 2.6</a></li>
- <li>For Bluetooth communication:
- <a href='http://org.csail.mit.edu/pybluez/'>PyBluez</a>
- </li>
- <li>For USB communication:
- <a href='http://sourceforge.net/projects/pyusb/'>PyUSB</a>
- </li>
-</ul>
-<h2>Download</h2>
-<ul>
- <li>Version 1.1<br/>
- —New motor functions, namely run() and stop().<br/>
- —Motor braking is finally usable!<br/>
- —Slightly changed behavior when there are errors searching
for a brick.<br/>
- —New server functionality for light sensor illumination.
- <ul>
- <li><a
href='http://NXT-Python.googlecode.com/files/nxt-python-1.1.zip'>nxt-python-1.1.zip</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/nxt-python-1.1.win32.exe'>nxt-python-1.1.win32.exe</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/nxt-python-1.1.win-amd64.exe'>nxt-python-1.1.win-amd64.exe</a>
- source ZIP archive</li>
- </ul>
- </li>
-</ul>
-<ul>
- <li>Version 1.0<br/>
- —Experimental support for motor braking.<br/>
- —Some improvements to the server module, like multiple motor
control.
- <ul>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-1.0.zip'>NXT-Python-1.0.zip</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-1.0.win32.exe'>NXT-Python-1.0.win32.exe</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-1.0.win-amd64.exe'>NXT-Python-1.0.win-amd64.exe</a>
- source ZIP archive</li>
- </ul>
- </li>
-</ul>
-<ul>
- <li>Version 0.9<br/>
- —Now licensed under the GPLv3 or later.<br/>
- —Slightly improved accelerometer class.<br/>
- —A few improvements to nxt.server module.
- <ul>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.9.zip'>NXT-Python-0.9.zip</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.9.win32.exe'>NXT-Python-0.9.win32.exe</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.9.win-amd64.exe'>NXT-Python-0.9.win-amd64.exe</a>
- source ZIP archive</li>
- </ul>
- </li>
-</ul>
-<ul>
- <li>Version 0.8.1<br/>
- —Added prelimenary support for accelerometer sensors.<br/>
- —Important bugfix and some more commands for server.py.
- <ul>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.8.1.zip'>NXT-Python-0.8.1.zip</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.8.1.win32.exe'>NXT-Python-0.8.1.win32.exe</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.8.1.win-amd64.exe'>NXT-Python-0.8.1.win-amd64.exe</a>
- source ZIP archive</li>
- </ul>
- </li>
-</ul>
-<ul>
- <li>Version 0.8<br/>
- —Added server module, for a socket-based driver-like
command-driven interface.<br/>
- —Some better help messages.<br/>
- —Added a logo! Yay!<br/>
- —More messages when brick.debug is set to 1.
- <ul>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.8.zip'>NXT-Python-0.8.zip</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.8.win32.exe'>NXT-Python-0.8.win32.exe</a>
- source ZIP archive</li>
- <li><a
href='http://NXT-Python.googlecode.com/files/NXT-Python-0.8.win-amd64.exe'>NXT-Python-0.8.win-amd64.exe</a>
- source ZIP archive</li>
- </ul>
- </li>
-</ul>
-<ul>
- <li>Version 0.7<br/>
- —Added a get_sample() method to CompassSensor class.<br/>
- —Simplified return values for message_read() method.<br/>
- —Added message_test.py to examples directory.
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.7.zip'>nxt_python-0.7.zip</a>
- source ZIP archive</li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.7.tar.gz'>nxt_python-0.7.tar.gz</a>
- source tarball</li>
- </ul>
- </li>
-</ul>
-<ul>
- <li>Version 0.6<br/>
- —Added nxt.compass module for reading Mindsensors
- compass.<br/>
- —Added optional "host" and "name" arguments to
- find_bricks and find_one_brick methods. This allows multiple
- bricks to be controlled at the same time. (Thanks to Simon
- Levy!)<br/>
- —Added null-termination to messages for write_message.
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.6.zip'>nxt_python-0.6.zip</a>
- source ZIP archive</li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.6.tar.gz'>nxt_python-0.6.tar.gz</a>
- source tarball</li>
- </ul>
- </li>
- <li>Version 0.5 — Fixed timing problem with USB and Ultrasonic
- sensor
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.5.zip'>nxt_python-0.5.zip</a>
- source ZIP archive</li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.5.tar.gz'>nxt_python-0.5.tar.gz</a>
- source tarball</li>
- </ul>
- </li>
- <li>Version 0.4 — Improved sensor support + example programs
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.4.zip'>nxt_python-0.4.zip</a>
- source ZIP archive</li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.4.tar.gz'>nxt_python-0.4.tar.gz</a>
- source tarball</li>
- </ul>
- </li>
- <li>Version 0.3 — Ultrasonic sensor support added
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.3.zip'>nxt_python-0.3.zip</a>
- source ZIP archive</li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.3.tar.gz'>nxt_python-0.3.tar.gz</a>
- source tarball</li>
- </ul>
- </li>
- <li>Version 0.2 — USB support added
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.2.zip'>nxt_python-0.2.zip</a>
- source ZIP archive</li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.2.tar.gz'>nxt_python-0.2.tar.gz</a>
- source tarball</li>
- </ul>
- </li>
- <li>Version 0.1 — Initial release
- <ul>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.1.zip'>nxt_python-0.1.zip</a></li>
- <li><a
href='http://home.comcast.net/~dplau/nxt_python/download/nxt_python-0.1.tar.gz'>nxt_python-0.1.tar.gz</a></li>
- </ul>
- </li>
-</ul>
-
-<h2>Installation</h2>
-<ul>
-<li>Either use the executable installer for your platform, or unzip the
source and run "python setup.py install" in the same directory as setup.py.
-</li>
-<li>
-For USB on Linux:
-<ul>
-<li>Create "lego" group, and make your user-id a member</li>
-Open a terminal as root, and type:
-<pre>groupadd lego</pre>
-<pre>usermod -a -G lego [user-id]</pre>
-<li>Create a udev rule</li>
-Create file at /etc/udev/rules.d/70-lego.rules, containing one line:
-<pre>BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"</pre>
-</ul></li>
-</ul>
-
-<h2>Contact</h2>
-<p>
- NXT-Python was written by Douglas P Lau and Marcus Wanner.
- See README file in the package for contact information.
-</p>
-</body>
-</html>
=======================================
--- /branches/v2/setup.py Sat Jun 26 13:54:44 2010
+++ /branches/v2/setup.py Mon Aug 16 12:18:41 2010
@@ -11,7 +11,7 @@
setup(
name='nxt-python',
- version='2.0-beta-0',
+ version='2.0-beta-1',
author='Douglas Lau, Marcus Wanner',
author_email='dp...@comcast.net, mar...@cox.net',
description='LEGO Mindstorms NXT Control Package',