 | | Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?)
|
|
(...) Thats right Paul, but what are you saying? :o) Regards, Martin (...) (25 years ago, 29-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?)
|
|
(...) (25 years ago, 29-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Light sensor initialization time?
|
|
Hi, (...) Well, I considered that, but I wondered why the measurement is so high then? Regards, Martin E. Nielsen (...) ___CODE CUT AWAY___ (...) (25 years ago, 28-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Links and Resources
|
|
Does anyone know how I can get leJOS mentioned in the Links and Resources section of the lugnet.robotics.rcx.java homepage? Thanks, (25 years ago, 27-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | 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)
|
| |
 | | Re: 8 power levels, and only 8?
|
|
(...) Ok, here are some results of my investigation: - There is no general 8ms cycle - When you change motor settings they become effective on the next timer interrupt (occurs every ms), and the rotating pattern for a reduced powerlevel starts anew, (...) (25 years ago, 22-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: StringBuffer and double
|
|
(...) Even better: send them to us and we'll add them to StringBuffer. (...) (25 years ago, 21-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: StringBuffer and double
|
|
Hi myself, Gosh, you're stupid... :o) Ok, I didn't take a look into the StringBuffer.java before I answered: ____SNIP____ public StringBuffer append (double aDouble){ return append ("<no str+double>"); } ____SNIP____ Then, I won't delete my own (...) (25 years ago, 20-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | StringBuffer and double
|
|
Hi, I have just tried to do the following: ____SNIP____ double v = 1.23456 StringBuffer sb = new StringBuffer(); sb.append( v ); char[] cArray = sb.getChars(); ____SNIP____ on my RCX with lejos 1.0.2. The resulting string/char array has the length (...) (25 years ago, 20-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: 8 power levels, and only 8?
|
|
Hi, (...) Bummer! I was afraid I might get that answer... :o) (...) Sure, but maybe it would be worth it, since I imagine that many/some of us will make some silly, but basic routine that cycles between float/stop and some motor power, anyway... (...) (25 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: 8 power levels, and only 8?
|
|
(...) This is what the ROM routines support. (...) Yes, but then we'd need our own motor control routines in the lejos VM, and that would cost some precious memory. (...) Yes, the standard LEGO routines make it very hard to control speed. Basically (...) (25 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | 8 power levels, and only 8?
|
|
Hi there, Inspired by the answer by Juergen Stuber in the lejos/legos thread, I suddenly began to think about the fact that "we" only have eight power levels to choose among. Why is that? And can it be changed? When programming my bot for the W3D, I (...) (25 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Does lejOS has the same functions as legOS?
|
|
(...) No, for example LNP and speedometer are missing, motor control is standard with 8 power levels. In general it uses the standard ROM routines much more than legos. On the good side the rotation sensor problems it had until two months ago are (...) (25 years ago, 19-Sep-01, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | New Java Book
|
|
Amazon announced the publication of a new book: "Programming Lego Mindstorms With Java" by Brian Bagnall, Dario Laverde. Can anyone recommend it? Has anyone read a prepublication copy? Jerry (25 years ago, 18-Sep-01, to lugnet.robotics.rcx.java)
|
| |
 | | Does lejOS has the same functions as legOS?
|
|
I ma using legOS and NQC, I also viewed lejOS, but I am not sure if lejOS can provide all functions of legOS provides, then does lejOS run in the same speed as legOS? Zhengrong (25 years ago, 18-Sep-01, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
| |
 | | Re: Difference in motorspeed when activating lightsensor!
|
|
(...) The higher the power level the harder the stop. But the power level before stop() is not used, it always uses power level 7, and you can set it lower only afterwords. (I think that ought to change.) Jürgen (25 years ago, 9-Sep-01, to lugnet.robotics.rcx.java)
|