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 / 897
896  |  898
Subject: 
pbLua Beta 13c Team Hassenplug NXT Software Comparison Results
Newsgroups: 
lugnet.robotics.nxt
Date: 
Thu, 30 Aug 2007 01:38:21 GMT
Viewed: 
20833 times
  
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.

In an earlier thread, Dick Swan and Steve Hassenplug discussed the merits of
these LCD display update speeds.  For information, Dick provided two speeds
for his RobotC code - one speed with the four required displays in each
loop, and another speed with those inner displays commented out.  I like
knowing both speeds because the simple applications I write such as sumo and
line following don't care about updating the LCD quickly but do care very
much about the speed of reading a sensor and making a calculation in a loop.

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

Walt White



Message has 2 Replies:
  RE: pbLua Beta 13c Team Hassenplug NXT Software Comparison Results
 
(...) These numbers are quite good. pbLUA is fast. Walt: thanks for doing the analysis. Now that NXT-G 1.1 is out, I wonder how fast it runs. Faster execution performance was one of the features in this release. Perhaps someone can do this (...) (17 years ago, 30-Aug-07, to lugnet.robotics.nxt)
  Re: pbLua Beta 13c Team Hassenplug NXT Software Comparison Results
 
(...) 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 (...) (17 years ago, 31-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
    
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