 | | Re: Light sensor initialization time?
|
|
I suspect this is due to the fact that the first sample from the sensor is actually being obtained while the sensor's reservoir capacitor is still charging. Why don't you try a simple test, actually two tests; 1. Initialise as passive sensor Wait 1 (...) (25 years ago, 27-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Light sensor initialization time?
|
|
Hellow! Here a little fact: the first reading on the light sensor _just_ after you have activated it is too high. It seems like one has to wait a little after activating the sensor. The following program shows it rather nicely: ____START OF CODE____ (...) (25 years ago, 27-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Proximity sensor ( Was: Re: 8 power levels, and only 8?)
|
|
Hi Paul, (...) Hmmm... can you please post your code for that? I tried it this weekend (I found it here: (URL) but I couldn't quite get it to work. Did you activate the sensor? Regards, Martin (25 years ago, 24-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: 8 power levels, and only 8?
|
|
Here is an interesting paper on using NQC to control motor speed. A similar technique could be used in leJOS: (URL) paper has lots of interesing ideas in it besides motor speed control. My favourite being the proximity sensor which I have remodelled (...) (25 years ago, 24-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | USB support added to leJOS 1.0.3.beta1
|
|
I have added USB support to the Win32 version of leJOS. It is in version 1.0.3.beta1 at (URL) thanks to Juergen Stuber for locating the initial modifications to the legos code at (URL) Many thanks to Jin Sato too. You will need to reload the (...) (25 years ago, 24-Sep-01, to lugnet.robotics.rcx.java)
|