 | | 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)
| |