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 / 17747
17746  |  17748
Subject: 
Not totally satisfied with the Lego Mindstorm concept: Mathematical variables and direct connection PC/mechanical device
Newsgroups: 
lugnet.robotics
Date: 
Wed, 24 Apr 2002 07:50:55 GMT
Original-From: 
Stig Anders Mastad <STIGAM@STUDENT.SV.UIO.NOsaynotospam>
Viewed: 
506 times
  
Hi group!

I got some questions. For those not interested in my pre-LegoMindstorm history,
go diretly to THE POINTS

HISTORY: I learned to program in Basic in 1985 on a Commandore Vic20 and was
fantacising about connecting mechanical items to my computer and make programs
to manage them. Two years later, a friend of me borrowed the computer. When I
got it back, it was broken. Unfortunately I did not continue with computer
programming.

Last year I had a kind of "boy-revival". I wanted to start "the dream" again.
From people I met, I learned that I needed to program the ports of the computer
to manage external devices. I started to learn JAVA, but I'm not sure if that's
a good language for my purpose; I got "old" computers from friends of mine to
experiment with; and started my little research.

THE POINTS
As a suprise I got a Lego Mindstorm set (LM-set) for Christmas. However, I'm not
totally satisfied with the LM-set:

1. There is no direct contact between the PC and the LM-set. I was hoping to
make use of the capasity of the whole computer (such as memory, speed,
complexity). I understand that having the RCX makes it easier to make mobile
creations and such work, but there's a lot of other things to make, f.ex. the
Satelite uplink by Jerry Kalpin http://www3.sympatico.ca/jdkalpin, Ice-hockey
game (made by myself - not pictured on net), and so on).

2. I can't program the RCX to make and manipulate mathematical variables (f.ex:
X=1, X=X+1). One of the first things I wanted to make, was a car driving around,
counting how far it has driven, identifying obstacles, memorising all these
information and having them in mind the next time it was out driving: to
observe, remember and act "intelligent".

QUESTIONS
ad 1. Can I program directly to the ports by using JAVA or should I learn
another language?
- please send links and information.

ad 2. I've seen some internet pages for programming the RCX in languages similar
to C (NQC) and Java (http://lejos.sourceforge.net/) . From what I understand,
they do not operate with mathematical variable.
- I'm I wrong or not? I'd like to make my LM-set creations more "intelligent" by
using mathematical variables. Any help willl do!


I'm not sure if these themes are discussed earlier on this mailinglist or any
other place. If it has, please send me copies or links.


Kind regards / Vennlig hilsen

Stig Anders Mastad
www.geocities.com/stiggissen/



Message has 4 Replies:
  RE: Not totally satisfied with the Lego Mindstorm concept: Mathematical variables and direct connection PC/mechanical device
 
You need to look up pbForth (or is it pBrick?) and NQC. Those are two languages for the rcx that have variables -- specifically math, as I'm not sure if there are strings for the RCX. But I digress, those have variables. My guess, and I am taking a (...) (22 years ago, 24-Apr-02, to lugnet.robotics)
  Re: Not totally satisfied with the Lego Mindstorm concept: Mathematical variables and direct connection PC/mechanical device
 
(...) You need to download the free program "NQC" (which stands for 'Not Quite C'). It's a compiler for a subset of the C programming language for the RCX - and with it you can certainly program the RCX to do things with variables. (...) In (...) (22 years ago, 24-Apr-02, to lugnet.robotics)
  Re: Not totally satisfied with the Lego Mindstorm concept: Mathematical variables and direct connection PC/mechanical device
 
(...) No problem with leJOS. (...) leJOS is almost full Java, the main limitations are limited memory, no garbage collection, and only a core part of the Java API is supported. (...) I don't completely understand what you mean by mathematical (...) (22 years ago, 24-Apr-02, to lugnet.robotics)
  Re: Not totally satisfied with the Lego Mindstorm concept: Mathematical variables and direct connection PC/mechanical device
 
Stig, a couple years ago I was in the same place you are. I got one for xmas when it first came out. I was rather disappointed in the limitations of the LM, so I gave it to a 13 year old budding engineer. In retrospect, I guess I just didn't have (...) (22 years ago, 24-Apr-02, to lugnet.robotics)

Message is in Reply To:
  Re: LEGO Mindstorms on the same list as R2D2, Hal, and Honda's ASIMO
 
"Aaron Sneary" <asneary@shakespearedc.org> wrote in message news:Gv0wuo.Lrw@lugnet.com... (...) with. (...) of (...) ::sigh:: It is really sad to me to see so much publicity going to these whimsical do-nothing robots that are developed simply for (...) (22 years ago, 24-Apr-02, to lugnet.robotics)

10 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