Subject:
|
Re: NXTway DS powered by LEJOS OSEK
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 6 Aug 2007 14:55:58 GMT
|
Viewed:
|
4532 times
|
| |
| |
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
|
|
Message has 2 Replies: | | Re: NXTway DS powered by LEJOS OSEK
|
| (...) 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. (...) You are right. LEJOS OSEK does not support file system (...) (17 years ago, 6-Aug-07, to lugnet.robotics)
| | | Re: NXTway DS powered by LEJOS OSEK
|
| (...) I could measure the performance for the three cases and it was also very interesting for me. #no-so-optimized(update LCD every time) Loop count: 2695 (very slow) Size: 18240byte(includes LEJOS OSEK firmware) #optimized(LCD is updated every (...) (17 years ago, 10-Aug-07, to lugnet.robotics)
|
Message is in Reply To:
| | Re: NXTway DS powered by LEJOS OSEK
|
| Hi Steve, It's my great pleasure to receive a reply from the father of Legway! (Everything was started from your great work) (...) Please use the following answers. Features: LEJOS OSEK Language type: ANSI C/C++ Firmware: Custom IDE(included?): (...) (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
|
|
|
|