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 / *1269 (-20)
  Re: light sensor problem?
 
(...) That's good. Now I wonder about some other questions: - Will it get the same value as the original firmware? - Will be influenced by offset (eg. from battery voltage)? In other words, do you think that the settle time is enough? I've tested (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
Well, I do not know if I have to have code to display the values. I do not get anything on screen when I run this code. If I put a loop, and with every loop, the sensor value is being displayed, then I get the values mentioned before. I run the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
(...) Andy- Have you set up the rotation sensors correctly? You need to do a few things before you get reasonable values for the rotation sensor. 1) use ds_active(&SENSOR_1) to turn on the sensor. 2) use ds_rotation_on(&SENSOR_1) to turn on the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Rotation Sensor Values
 
I was reading about rotation sensors for legOS for a new robot, and thought I'd try it out. So, I made a simple program that would show rotation sensor values on the display. What I got was not what I expected. I have never used the rotation sensors (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  dsound
 
Hi Luis, (...) I wonder if it would be interesting to include a small utility I wrote assisted by a friend of mine (Paolo Masetti) to convert MIDI files into LegOs C code: since then all of our robots are equipped with a subroutine generated by this (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Grey Archs Needed, 1x1
 
Jason- I don't know the references offhand, but there are a number of lugnet lists dedicated specifically to trading and/or buying of Lego parts. I'm not flaming you for being OT or anything- just that you are much, much more likely to have success (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Grey Archs Needed, 1x1
 
Hi Guys, I really need a couple of 1x1 light grey archs. Find the pic at: (URL) or Trade. Thanks. Jason (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Right. I made the connection between Kekoa saying "I need to test" and you saying "I will test" right /after/ sending the message, of course :) (...) True. (...) I figured this would be the case. gcc is a wonderful tool, but it does tend to (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) This is why I want to measure things in our lab at work ;) (...) And keeps lower prio tasks from running, which they could do if we slept... (...) Oh well, there are some optimizations missing. I just looked at the code generated by (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) proof that this occurs (even though his logic does seem pretty dead on.) (...) Well, we do... time_t current_time = sys_time; while (sys_time < current_time + the amount of time I want to wait) { do nothing; } It's not pretty, but it is (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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