Skip to main content

Logo Mindstorms NXT Routines

Project description

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 subversion repository with easy_install jaraco.nxt==dev.

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.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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaraco.nxt-1.2.2.zip (19.5 kB view details)

Uploaded Source

File details

Details for the file jaraco.nxt-1.2.2.zip.

File metadata

  • Download URL: jaraco.nxt-1.2.2.zip
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jaraco.nxt-1.2.2.zip
Algorithm Hash digest
SHA256 8eec9bc6d5df4500236b382642316833a345e7ab1ade4b0042c040fd2bef040b
MD5 45ab3b0d0169defd85b973c8a8becc79
BLAKE2b-256 485606cf62f9f36629a3e7f0802617ffd572b5c6a12fe32f2b51effa020d47e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page