To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *1259 (-20)
  Re: Ideas for 0.2.5 (was: Re: Possible bug with bss allocation)
 
This will be my last post for a few hours- I have real work to do :) (...) Generally, user programs have it pretty simple for this already (which is why I had thought of this some time ago, and then dismissed it.) I had never considered the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) (URL) > I doubt we need this very fast reading of sensors. This makes implementing (...) Yes, when we have user space timers... (...) This is correct, but there are many good reasons for keeping assembly low bandwidth, like pitfalls in (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Ideas for 0.2.5 (was: Re: Possible bug with bss allocation)
 
(...) Shure, no problem. (...) While we are at it, I have two other major changes in mind: - Implement timers. A timer would install a callback function with a private to the caller void * argument. This callback function is called at the timers (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) :) Bad is, of course, all relative... (...) Yes, though IMHO fast = good. It allows us to do things with legOS that might not be doable with other firmwares. (...) I'm not sure which comments you are referring to- do you have a URL for the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) It doesn't surprise me that someone has already worked this out. (...) It really, really doesn't surprise me that Michael was the one who worked it out. If no one thinks it is too big an overhead, I can put it in in an hour or so when I do a (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Oh! So readings are more stable, and it isn't just my imagination. That's good to know :) (...) Those values used to pretty cleanly define max and min- or at least, they must have, since I consistently got 15-105 values (or roughly what he (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) To achive scaling of light sensor reading from 0..100 the following theoretical formula should be used: light = 146 - scaled / 7, where scaled is the reading of AD_X >> 6. I found this at (URL) this page contains a lot of electrical (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) Paolo and others: Eddie and I have talked about this, and we both agree that this is a big change- so I think we are aiming for this for 0.2.5. Since it has already been seven months since 0.2.3, I think we'll aim for getting 0.2.4 out the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I looked through the dsensor stuff, and it looks quite bad to me... We execute a delay loop inside an interrupt handler. We issue the command to start the next read from that same handler. This will read the sensors very quickly, for the cost (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I'm the one that fixed active sensor reading... :-) Settle time is one of mine... Kekoa msg about this problem (a very old one in this ng if I remember) helped me to solve things. (...) I patched the reading routine in ds_handler to fix a vary (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
"Eddie C. Dost" <ecd@skynet.be> wrote in message news:200007222049.WA...set.net... (...) trivial, (...) In my opinion this is a great idea! :-) Please do the implementation! It also could be very usefull to have some docs / makefile options to make (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Having fixed the other screwup, I can report that snipping the code I discussed earlier allows everything to build just fine. It doesn't, however, solve the issue with the light sensors. I also tried swapping the two lines I mentioned earlier: (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: semi, sort of, not quite but almost 0.2.4
 
Slight problem with lcd.c that would have prevented a clean build has been fixed. Feel free to try again :) Luis (...) fish are jumping and the cotton is high... So hush, little baby, baby don't you cry." -Ella ---...--- (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) It has changed from 0.1.x- Markus (who seems to have just about disappeared off the face of the planet) re-wrote a lot of that. On the other hand, in the actual ds_handler function not much has changed: the only thing that is apparent is that (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  first small error
 
The tarball has at least one .orig file in it (a leftover from some patches I applied last night.) Ignore them- they shouldn't affect the build at all, and I'll get them out for later. Luis ---...--- "Summertime... and the living is easy... fish are (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  semi, sort of, not quite but almost 0.2.4
 
Hey, everybody- It's been a while (nearly seven months, actually) since there was a legOS release. Markus did quite a lot of work on it before he dumped it into CVS, and Paolo Massetti and I have put in a little bit of work on it over the past (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) I have a proposal to the legOS developers: The current tool chain to generate executables for legOS is a little off: We generate coff-h8300 from .c or .S sources, next ld generates symbolsrec relocated files from that. This step is done twice (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) Thanks for the fix, it works great. Dave Baum (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) The common section is aligned to 16 bytes by ld. This is unknown to the tools generating the final .lx files. The fix is to force the alignment of the .bss section to 2, with this ld will generate files that work with the current tools. I (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  Possible bug with bss allocation
 
I was having some random hangs with a legOS program. If I added a little code or subtracted a little, everything started working again. I've isolated it to a problem whereby writing a zero to the last byte of bss data will hang the RCX. This only (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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