Subject:
|
Re: NXTway DS powered by LEJOS OSEK
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 6 Aug 2007 23:38:39 GMT
|
Viewed:
|
4264 times
|
| |
| |
In lugnet.robotics, Steve Hassenplug wrote:
> At 08:16 PM 8/5/07, Takashi Chikamasa wrote:
> > It's my great pleasure to receive a reply from the father of Legway!
> > (Everything was started from your great work)
>
> Thanks. I'm just glad to see people are having fun with it.
>
> > Speed(loops/min): Avg. 334k (When LCD is updated every 16msec)
> > Memory (bytes): 18144byte (includes LEJOS OSEK firmware)
> > Time to write: 60min (30 minutes required to optimize LCD display)
> >
> > I will send sample program via e-mail soon.
> > Concerning the result of Test Program, I have to admit a trick was required
> > to speed up the performance. The bottle neck of the performance is LCD display
> > handling, If I refresh the LCD every time I called a LCD display function, LCD
> > display interrupt occupies the cpu, thus performance was terribly decreased.
> > LEJOS OSEK does not provide sophisticated API such as RobotC, so user needs to
> > optimize it (but, it may be a big fun of hacking).
> >
> > Through this work, I recognized that RobotC folks made a really great work
> > on RobotC VM (it is amazingly fast VM)
>
> This is actually a bit tricky. Dick Swan (RobotC) asked about
> optimizing the display update function like you've done (for the same
> reason you did it). Basically, it means this program doesn't perform
> all the functions, every time through the loop, so I'm not sure it
> gives an even comparison.
>
> I have comments from Dick, posted in the RobotC section, where he
> totally removed the display commands, and the loop count went from 93k to 440k.
>
> Could you try the no-so-optimized version (which does 15 useless
> display updates) and see how fast that is? I'll post both versions,
> because what you've done is a very good example.
>
> Also, is there a way more than one program can be downloaded? I see
> you've listed the program & firmware together under the file
> size. Unless I'm reading it wrong, that suggests you'll need to
> download the firmware every time you make a change to the
> program. Is that right?
>
>
>
> > P.S. The name of the project (LEJOS OSEK) may make readers misunderstand LEJOS
> > OSEK. I am not a member of leJOS project team. I just re-use their great
> > platform C code to make LEJOS OSEK. (I didn't want to hide where the
> > LEJOS OSEK
> > platform source code came from, so I use the name of LEJOS)
>
> I'm not sure I understand this. Could you explain it a bit more? Is
> there another LEJOS?
>
> Thanks for helping with this
> Steve
> Could you try the no-so-optimized version (which does 15 useless
> display updates) and see how fast that is? I'll post both versions,
> because what you've done is a very good example.
OK, I will make three versions (no-so-potimized version, 16msec update, and
display removed version). Next couple of days I will not have time to do, so
please wait for several days.
> Also, is there a way more than one program can be downloaded? I see
> you've listed the program & firmware together under the file
> size. Unless I'm reading it wrong, that suggests you'll need to
> download the firmware every time you make a change to the
> program. Is that right?
You are right. LEJOS OSEK does not support file system and firmware and
application are tightly linked, so it needs to download the firmware every time
the program was changed. (Fortunately, USB is fast, so it takes less that one
second)
> I'm not sure I understand this. Could you explain it a bit more? Is
> there another LEJOS?
LEJOS OSEK is not an official output from leJOS developers. They focus on Java
(TinyVM). If LEJOS(leJOS) was a registered trademark of leJOS guys, I must not
use this name, however it seems not. so I use this name to respect leJOS guys.
Takashi
|
|
Message has 1 Reply: | | Re: NXTway DS powered by LEJOS OSEK
|
| (...) The problem is that the J is LeJOS means Java. LeJOS is a Java OS for a LEGO brick, in this case (i.e., LeJOS NXJ) it is for the NXT. So it is very confusing to have your OS be called LeJOS OSEK. It would be really good if you would rename it (...) (17 years ago, 10-Aug-07, to lugnet.robotics)
|
Message is in Reply To:
| | Re: NXTway DS powered by LEJOS OSEK
|
| (...) Thanks. I'm just glad to see people are having fun with it. (...) This is actually a bit tricky. Dick Swan (RobotC) asked about optimizing the display update function like you've done (for the same reason you did it). Basically, it means this (...) (17 years ago, 6-Aug-07, 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
|
|
|
|