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 / 676
675  |  677
Subject: 
Re: Wishlist for next pbLua Beta
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sun, 22 Apr 2007 00:24:42 GMT
Viewed: 
18447 times
  
I'm getting stuck implementing some features for the next pbLua
release, and I'd like some opinions on what is really necessary...

1. Filesystem (storing chunks and data at NXT)

I'm looking at this now. Files to be stored in FLASH.

This is getting uglier and more complicated than I like. By the
time I add a simple FAT12 file system, and link in the standard
Lua IO library, the code size is getting big and I'm not sure
there's much real benefit.

I could do a very simple file system that lets you load a block
of FLASH memory to read a directory, and then after that reading
files is a bit easier.

The downside is that you may have to "prepare" a set of files
on your host machine then download them in bulk to save changes.

It's not the best solution, but I need to compromise between
complexity, code size, and getting SOMETHING that looks like
a file system into the FLASH.

2. Console via BT (I hate autonomous robots with cable)

Not too hard to do as long as you don't want to stream data
to other robots at the same time...

I think I need a menu item to select either the Bluetooth or
the USB as the default console. Or maybe even easier would be
one firmware with Bluetooth console and one with USB as the
default.

3. Audio e.g nxt.PlayTone(freq)

I'll look at adding at least tones soon.

Is everyone going to be happy with just tones?

4. Display extensions (nxt.DisplayText(x,y,string)

Done for Beta4 (not yet released) (0,0) is top left corner of screen
and text. Put text at bottom line is nxt.DisplayText(string,0,56)

At least that's doable and done.

5. return value of print(_version) should be "pbLua 5.1 internal
version), this
makes it easier to develop and test code at the PC and later run at NXT

Done in Beta4

This too...

6. More samples of currently implemented functions (I've prepared
some and can
add it to distribution)

I'll publish any sample I get. I got your revised line follower, thanks!

EIA-485 Highspeed support :D

This may also be in the next Beta. I'm testing out the 485 right now...

Is nobody using pbLua or is everybody happy with Beta-3 ???

Not that many people are using it yet. Once I get the file storage on
the brick working it will probably be much better.


Ralph



Message has 3 Replies:
  Re: Wishlist for next pbLua Beta
 
(...) What is the size of code ? I think we need a very small filesystem only. If we can store 32kB it is enough, we didn't want to store MP3 ! (...) What about pressing a button at boot to switch console ? e.g if pressed <enter> ==> BlueTooth else (...) (17 years ago, 23-Apr-07, to lugnet.robotics.nxt)
  Re: Wishlist for next pbLua Beta
 
(...) Preparing a filesystemblock with files inside should be not a big problem... Testing can be done by downloading (sending ascii) like today and when finished, prepare the filesystem and download the separate image. When operating system and (...) (17 years ago, 23-Apr-07, to lugnet.robotics.nxt)
  Re: Wishlist for next pbLua Beta
 
(...) My thought would be to aim for a filesystem designed for flash use, like yaffs ( (URL) ). That particular filesystem is licensed under GPL and might be uncomfortably large too, I'm not sure, but it's structured more appropriately than FAT. I (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)

Message is in Reply To:
  Re: Wishlist for next pbLua Beta
 
(...) I'm looking at this now. Files to be stored in FLASH. (...) Not too hard to do as long as you don't want to stream data to other robots at the same time... (...) I'll look at adding at least tones soon. (...) Done for Beta4 (not yet released) (...) (17 years ago, 17-Apr-07, to lugnet.robotics.nxt)

8 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
    

Custom Search

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