To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 25158
25157  |  25159
Subject: 
Re: Mindstorms NXT programming languages
Newsgroups: 
lugnet.robotics
Date: 
Fri, 13 Jan 2006 07:44:23 GMT
Viewed: 
1755 times
  
In lugnet.robotics, dan miller <danbmil99@yahoo.com> wrote:
Has anyone (other than myself) used Python?  It's a great language, and has
excellent attributes for programming robots (simple, easy to learn,
extremely powerful).  Not clear what compromises would have to be made to
port it to NXT.

Here's an example of some of the stuff people are doing with Python:

http://www.pyrorobotics.org/

(note their grant proposal: "Beyond Lego"!)

Their system is specifically set up to allow communication between a robot
running its own system, and a host computer running Python for high-level
intelligence and planning.

If by port you mean run Python on the NXT, then the answer is probably no.
Python would be far too large to fit on the NXT.

If you mean could a Pyro “device interface” be created for the NXT (or RCX too)
that certainly seems possible.  There appears to already be a device interface
created with Bluetooth for the Hemisson Robot.  Perhaps that code could be
leveraged to write an interface for NXT.  I would suggest creating a library
that simply exposed the NXT to Python and then use that library to interface
with Pyro, then you end up being able to use straight Python or the Pyro
framework.

On the RCX I use BrickOS and NQC, but for PC interfacing with Mindstorms I use
Perl, which shares many similarities with Python.  I’ve done a bunch of things
using the RCX module located here on CPAN:
http://search.cpan.org/~jquillan/LEGO-RCX-1.01/RCX.pm  If nobody else does, I’ll
probably write a Perl module for the NXT that communicates over Bluetooth.

Does anyone else here use Perl with their robots?



Message is in Reply To:
  Re: Mindstorms NXT programming languages
 
Has anyone (other than myself) used Python? It's a great language, and has excellent attributes for programming robots (simple, easy to learn, extremely powerful). Not clear what compromises would have to be made to port it to NXT. Here's an example (...) (18 years ago, 13-Jan-06, to lugnet.robotics)

52 Messages in This Thread:



















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR