Subject:
|
Re: About firmwares
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 20 Oct 2001 07:22:14 GMT
|
Viewed:
|
610 times
|
| |
| |
lego-robotics@crynwr.com (Steve Baker) writes:
> >
> > Hi, I'm a newbie on RCX, I just start to work on the RCX
> > and I heard about LegOS and LejOS, I´m worry about the
> > speed of the LejOS vs LegOS, Can someone tell me
> > something about it?
>
> Well, LejOS is Java-based and Java is an interpreted
> language - so that will presumably make it slower than a
> natively programmed machine-code/C system like LegOS.
>
> I've never used LejOS - but I can certainly confirm that
> LegOS is *HUGELY* faster than native RCX code.
Lejos is somewhere in the middle.
Whether that is fast enough depends on your project,
if it needs reaction times in the 100ms range no problem,
at 10-20ms it gets really tough (sensors are read every 3ms).
It also has has a clock with 1ms precision if you're after that.
Over NQC (or other LEGO firmware based) it also has
the advantage of Java being a full programming language.
Over LegOS the advantage is that it is easier to debug IMHO.
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message has 1 Reply: | | Re: About firmwares
|
| (...) That's what I'd expect. (...) Yes - I doubt that you really *need* all that performance on something like a Lego robot - particularly given the relatively limited amount of memory in the beast. (...) Just to clarify: NQC isn't "firmware" - it (...) (23 years ago, 20-Oct-01, to lugnet.robotics)
|
Message is in Reply To:
| | Re: About firmwares
|
| (...) Well, LejOS is Java-based and Java is an interpreted language - so that will presumably make it slower than a natively programmed machine-code/C system like LegOS. I've never used LejOS - but I can certainly confirm that LegOS is *HUGELY* (...) (23 years ago, 20-Oct-01, to lugnet.robotics)
|
7 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
|
|
|
Active threads in Robotics
|
|
|
|