To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 904
903  |  905
Subject: 
Re: pbLua Beta 13c Team Hassenplug NXT Software Comparison Results
Newsgroups: 
lugnet.robotics.nxt
Date: 
Fri, 31 Aug 2007 13:38:14 GMT
Viewed: 
21686 times
  
Walt White wrote:
The Team Hassenplug web site has an NXT Software Comparison at
http://www.teamhassenplug.org/NXT/NXTSoftware.html to help people compare
features of different programming languages.

The pbLua Beta 13c distribution includes steveTest.txt which was written by
Ralph Hempel so pbLua could be included in the comparison.

It appears that steveTest.txt was written for an earlier version of pbLua.
It only loops for 6 seconds instead of 60, and it also didn't include three
of the four required display steps inside the main program loop.

Walt,

Thanks a LOT for updating the example. Do you mind if I pull the code
from your site, reformat if necessary and include it in the test code
section of my distribution?

You will, of course, retain primary credit in the source file.

This kind of community participation is what really helped bring the
original pbForth to a decent state, and I'm hoping that as some momentum
comes up behind pbLua that the trend continues.

I fiddled around with steveTest.txt and got it to work with Beta 13c.  The
results I got are:

Speed (loops per minute)
        32,578 with all four LCD updates in the main loop.
        57,888 with the four LCD updates commented out.
Memory
        1750 bytes
Time to write
        Yes
Program
        Code1
http://firstcoolbreeze.home.comcast.net/steveTest/steveTest13c.txt
        Code2
http://firstcoolbreeze.home.comcast.net/steveTest/steveTest13cNP.txt

Those results are pretty decent :-) I'll see if I can tweak the code
to run a bit faster...

Formatting displays is expensive because it calls into sprintf(), and
I'd like to optimize the display update so that the refresh code is
called ONLY when something has been written to the display map...

Ralph



Message has 1 Reply:
  Re: pbLua Beta 13c Team Hassenplug NXT Software Comparison Results
 
"Ralph Hempel" <rhempel@bmts.com> wrote in message news:46D819C6.700000...mts.com... (...) Ralph, Feel free to pull and reformat the code. You should be the primary credit. I just fiddled around, and I expect that a bit of tweaking by you will (...) (17 years ago, 31-Aug-07, to lugnet.robotics.nxt)

Message is in Reply To:
  pbLua Beta 13c Team Hassenplug NXT Software Comparison Results
 
The Team Hassenplug web site has an NXT Software Comparison at (URL) to help people compare features of different programming languages. The pbLua Beta 13c distribution includes steveTest.txt which was written by Ralph Hempel so pbLua could be (...) (17 years ago, 30-Aug-07, to lugnet.robotics.nxt)

9 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 NXT programmable brick

 
Verified and Trusted Team of Hackers
13 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR