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 / 19136
19135  |  19137
Subject: 
Re: Development enviroment...
Newsgroups: 
lugnet.robotics
Date: 
Wed, 2 Oct 2002 03:10:09 GMT
Original-From: 
Steve Baker <SJBAKER1@AIRMAIL.NETantispam>
Reply-To: 
[sjbaker1@]AntiSpam[airmail.net]
Viewed: 
889 times
  
Luis Angel Vicente Sanchez wrote:
Hi! I'm beginning my degree-ending project and it involves a LEGO
Mindstorms. I've been searching the Internet for different "development
enviroments" and I've found a few ones. The most interesting ones I've
found are NQC, leJOS and leGOS. The first uses the official firmware and
AFAIK it's a bit limited but I would like to know the gurus choices.

Well, NQC makes use of ALL the facilities of the device that you can reach
with the standard firmware - so within those parameters, it's pretty complete.

If you want to go so far as to toss out the Lego firmware then LegOS is a good
choice - it's a lot harder to get set up on your PC because you need the GNU
C/C++ compiler built as a cross-compiler and all sorts of other bits and pieces.

However, all that effort is rewarded because your programs can be larger, use
the full natively compiled C/C++ language and they'll run probably 100 times
faster in most cases.  However, some things (like floating point math) will
still be pretty slow - the RCX only has a rather pathetic microcontroller
with no hardware floating point support.

So, if your tolerance for setup grief is high, use LegOS, if you just want to
load one program and be up and running then NQC is a good choice.

I've used both - and I still use NQC for 99% of my robotic stuff because it's
just so much easier to use.

One other major advantage of NQC is that a LOT more people use it so the vast
percentage of example programs out there are in NQC, and if you want to share
your work with other people, almost nobody will be able to use it if it's not
in NQC.

Dunno much about leJOS - unless you are a Java fanatic, I don't really see
the point - it's the worst of both worlds - a slow, interpreted language
without the benefits of NQC's ease of use or broad range of users.

CONCLUSION:
~~~~~~~~~~~

If your project doesn't need a lot of speed from the software (and hardly
any robotics projects do) then I would strongly recommend NQC.  If your
code either won't fit or needs a heck of a lot of compute power - then go
to LegOS.

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1@airmail.net>   WorkMail: <sjbaker@link.com>
URLs : http://www.sjbaker.org
        http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
        http://prettypoly.sf.net http://freeglut.sf.net
        http://toobular.sf.net   http://lodestone.sf.net



Message has 1 Reply:
  Re: Development enviroment...
 
(...) I think you are much too negative there, leJOS is just a different tradeoff in the middle between NQC/LEGO firmware and brickOS (formerly legOS): - It's faster than NQC/firmware but slower than brickOS (I've not measured it, but a factor of 10 (...) (22 years ago, 2-Oct-02, to lugnet.robotics)

Message is in Reply To:
  Development enviroment...
 
Hi! I'm beginning my degree-ending project and it involves a LEGO Mindstorms. I've been searching the Internet for different "development enviroments" and I've found a few ones. The most interesting ones I've found are NQC, leJOS and leGOS. The (...) (22 years ago, 1-Oct-02, to lugnet.robotics)

6 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