Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install jaraco.nxt

How to install jaraco.nxt

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install jaraco.nxt
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.4 Available View build log
1.3.1 Available View build log
1.3 Available View build log
Windows (64-bit)
1.4 Available View build log
1.3.1 Available View build log
1.3 Available View build log
Mac OS X (10.5+)
1.4 Available View build log
1.3.1 Available View build log
1.3 Available View build log
Linux (32-bit)
1.4 Available View build log
1.3.1 Available View build log
1.3 Available View build log
Linux (64-bit)
1.4 Available View build log
1.3.1 Available View build log
1.3 Available View build log
 
License
MIT
Dependencies
Imports
Lastest release
version 1.4 on Aug 2nd, 2011

Status and License

jaraco.nxt implements the LEGO Mindstorms NXT Bluetooth API in Python.

jaraco.nxt is written by Jason R. Coombs. It is licensed under an MIT-style permissive license.

You can install it with easy_install jaraco.nxt, or from the bitbucket repository with easy_install jaraco.nxt==dev.

The jaraco.nxt library also can take advantage of the jaraco input package. To include it as part of the install, use the command easy_install jaraco.nxt[input].

Getting Started

jaraco.nxt provides a message class for sending and receiving messages with the Lego NXT device. First pair the device with your PC by following the instructions included with the device. Then, determine the COM port to which it is connected. The hello world example is to retrieve the battery voltage. You can download the source for that example. You may also browse the other examples.

For more information, read the docstrings of the modules in the packages.

Modules of interest are

  • jaraco.nxt.messages: implements the messages defined by the NXT Bluetooth protocol.
  • jaraco.nxt.controller: demonstrates how to link input from a joystick to messages controlling the motors. Uses jaraco.input.

Changes

1.3.3
  • Fixed issue in discovery when PyBluez is not installed.
  • Added a writeTimeout to the device discovery.
  • Now requires pyserial 2.4 or later.
1.3.2
  • Move to Mercurial repository and bitbucket hosting.
  • Added example of reading from a sensor port.
1.3.1
  • Bug fixes in messages.MessageWrite.
1.3
  • Added device discovery and support for Bluetooth Sockets using the PyBluez package.
1.2.2
  • Removed dependence on enum and jaraco.util
1.2
  • Added this documentation
  • Updated the project website to use PYPI directly.
  • Moved joystick functionality to its own project - jaraco.input
1.1
  • Updated dependency on jaraco.util, removing many secondary dependencies.
1.0
  • Initial release
  • Implements complete protocol
  • Includes support for XBox 360 controller on Windows

Subscribe to package updates

Last updated Aug 2nd, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.