We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
NXTComm Library (Read 1937 times)
NXTComm Library
Jul 23rd, 2007, 10:49am
 
Hi,

I would like to announce a new library for Processing: the NXTComm http://jorgecardoso.org/processing/NXTComm/.

This library allows to control de Lego Mindstorms NXT robotic legos remotely (via Bluetooth).

It has only basic functionality like reading the standard sensors and actuating the motors (without much control), but it might be interesting if you work with Processing and robotics.

The library uses the RXTX java library for serial communication (the NXT must have been previously paired with the computer).

I have only tested it under Windows...

Enjoy,
Jorge Cardoso
Re: NXTComm Library
Reply #1 - Aug 27th, 2007, 12:04pm
 
For those who are interested in seeing how this library can be implemented I used it to do a Lego Mindstorms NXT sensor value viewer. In addition, I documented the instructions on how to get the NXT working with OS X. Thanks Jorge for the library.

http://www.diegobaca.co.uk/NXT/nxt.html

-diego
Re: NXTComm Library
Reply #2 - Oct 17th, 2009, 3:22am
 
hi


first.. thanks for the libary and sorry for my bad english.

my question:
i try to control a motor. lets say he needs to rotate for 260 degrees.
my problem is, the nxt.motorForwardLimit just ends without a handbrake.

so i dont realy reach 260 degrees.

i can say to the motor that  he needs to get back for the difference till he reachs 260. but than hes moving for and back for 4 times...

if somebody knows a easy way it would be great.

greetings
Page Index Toggle Pages: 1