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 / 25179
25178  |  25180
Subject: 
Re: Mindstorms NXT programming languages
Newsgroups: 
lugnet.robotics
Date: 
Fri, 13 Jan 2006 17:58:45 GMT
Viewed: 
2313 times
  
In lugnet.robotics, steve <sjbaker1@airmail.net> wrote:
Dick Swan wrote:

For reference, a simple line following robot is 5 LOC and 50
code bytes. [I know this is 10 bytes per LOC but there's
some startup overhead in this]. A very complicated line
following robot - using a PID algorithm - takes about 70
lines of code and uses 500 code bytes. Anybody got any
applications that they plan that are 1000 times more
complicated that this?

Yes!  Easily.

Steve,

  What you need to do is to make a dongle for your laptop PC with 8G DRAM, a 1
terabyte hard disk, that gives you an infinite number of LEGO NXT compatible
motor ports and sensor ports.

  You will probably have to drill a few technic pin holes in the case, and maybe
glue a few plates on here or there, but from there you can build a robot that
has the capabilities you desire.

  When you get this done and it sells for $250, I promise I'll buy one ;^)


I want to load images from a camera and process them in
realtime.  To do that, I'd like to take a pre-existing
image processing library and compile it for the NXT.

That could EASILY consume all 256Kb of flash - and the
image itself would need vastly more RAM than the NXT
has.  That's not in any way an unreasonable thing to
expect to be able to do in an era of $8, 64Mb thumb drives
and teeny-tiny cameras that fit into a cellphone and cost
$20.  It's something that robots need to be able to do.

You can buy a 16MB CompactFlash card for your camera for $6,
a 32MB card for $7 and a Kodak 64MB card for $8.  Memorex
make a 128MB card for $11.  And we're going to spend $250
and be stuck with ONE QUARTER OF A MEG.  Can you really
tell me that you wouldn't have preferred to spend $261 and
had a thousand times more memory than you're going to get?

Really, take a look at some real applications - not toys
like line followers.  Real applications take MEGABYTES of
code and tens of megabytes of data.

Suppose I want my robot to play music as it drives along.
A single MP3 file for 5 minutes of music is gonna eat
100% of the NXT's memory - even when saved with low
quality options.

With enough flash memory, we could dump a compiler
and simple operating system onto the NXT and using
a bluetooth keyboard and the NXT's LCD display, we
could type small programs right into the NXT and
compile and run them without a PC.  Think how that
would be useful in competitions for fixing last
minute bugs.

I can EASILY imagine things I've been wanting to do
with my RCX (and couldn't - only because of lack of
memory) that I *still* can't do with the NXT - even
though the technology is trivially easy - and the
price would not have been more than a few extra
dollars to make that possible.

Yes, there are things you can usefully do in less
memory - even less than the RCX for example.  Yes,
some people will find that the NXT is a huge
improvement.

I'm just frustrated that for the want of a few
bucks worth of Flash memory, the NXT is still
not capable of the sorts of things that real
robots need to do.

I recommend this mantra to you for the rest of 2006.

"NXT is a toy for 10 year old kids.  NXT is a toy for 10 year old kids.  NXT is
a toy for 10 year old kids".

Go ahead, say it with me..... "NXT is a toy for 10 year old kids."

Kev



Message has 1 Reply:
  Re: Mindstorms NXT programming languages
 
What would I like to implement that won't fit in 256K... check out this list of modules from Pyro: # PyroModuleDirectControl # PyroModuleSequencingControl # PyroModuleBehaviorBasedControl # PyroModuleReinforcementLearning # PyroModuleNeuralNetworks (...) (19 years ago, 13-Jan-06, to lugnet.robotics)

Message is in Reply To:
  Re: Mindstorms NXT programming languages
 
(...) Yes! Easily. I want to load images from a camera and process them in realtime. To do that, I'd like to take a pre-existing image processing library and compile it for the NXT. That could EASILY consume all 256Kb of flash - and the image itself (...) (19 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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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