Lego NXT
NXT hardware/software introduction
I've uploaded the slides and the source code used to control the robot from the NXT hardware/software lecture. You need to have a working installation of LeJOS in order to build the code. The code can be built using the "standard" Java ant utility, e.g. run "ant upload" to build, link, and upload the code using Bluetooth to your NXT. You may use this code as an example when developing code for your own robots.
Useful Links
Some sampling rates of sensors and actuators
Some pointers to information and other resources.
- The Unofficial Guide to LEGO® MINDSTORMSTM Robots
- LEGOs Site for the NXT developer/hacker communities
Useful Blogs for breaking information:
Programming environments:
- LeJOS - Java programming environment, supports most features of the NXT
- nxtOSEK - Realtime system programmed in C/C++.
- ROBOTC - C-like development environment with support for the NXT and other robot platforms. (commercial, licenses available)
- Bricx Command Center & Not eXactly C - Another C-like environment, open source.
- The Labview programming environment, look at student edition
- Eclipse - IDE supporting Java, C, C++, ... There is a bug in Eclipse that affects recent Linux distributions, see this article for a workaround.
Inspirational usuage of Lego NXT: