 | | Re: Something else is needed, I think...
|
|
(...) Maybe the JVM is, in spirit, close to what we want; but can you honestly say that porting the JVM to the RCX will be easier than writing something from scratch, perhaps using some of the better features of the JVM as inspiration? I personally (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) Total .text section is 5832 bytes, .rodata is 4 bytes, and .bss is 8 bytes. This is for all for all of the FP emulation routines, only those actually used will be linked in. This is only the helper routines, not anything from the math library. (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) Sorry to step in here. But there is no difference (as I see it) between having a system library function that runs the motors and having a byte code that runs the motors. It's all a matter of encoding. If I say: set_motor_speed(MOTOR1, 20); (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) This is good to know, I now know that any byte code interpreter that uses floating point will have to devote on the order of (at least) 6K to floating point if it wants to support floating point. Considering that any interpreter that uses the (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) I guess it depends on what you want in your firmware. I have been working on my own object-oriented kernel, and I have written an object-oriented kernel for an embedded I/O controller before, and it is a big job. That is just the OS, not (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) That was my point, that it was not a benefit for having an interpreted "machine language" over using native machine language. The only benefits are portability and error checking, and the error checking is problematic when you get to that low (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) So this is a nice start at least. Regarding things you like, I'm going to ignore 1) and 6) because they are not features of byte code, they are features of Java; you either use the JVM and you get them, or you do not use the JVM and you do not (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | FW: Something else is needed, I think...
|
|
-----Original Message----- From: Ralph Hempel [mailto:rhempel@bmts.com] Sent: Monday, May 03, 1999 7:07 PM To: Mark Tarrabain Subject: RE: Something else is needed, I think... (...) The FORTH bytecode producer is an UMBILICAL forth, and then you (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) The problem is he doesn't understand how forth works (no offense intended). Basically, all you save is the actual parser -- there is no "compiler". A typical forth implementation (and I have no idea if this relates to pbForth at all) (...) (28 years ago, 3-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) For reference, the JVM specification is available online at this URL: (URL) are several features that promote compactness: 1) it is a stack-based bytecode. Operands are pushed onto the stack, a bytecode is executed, and results are pushed onto (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: LEGO light sensor schematic
|
|
Dennis Clark wrote in message ... (...) Your right. It just can't be the way it is drawn. I think it must be a photo transistor. Usually photo diodes are not as sensitive as photo transistors either. I'll touch up the circuit and see if it looks (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
Mark Tarrabain: Dave Baum: John A. Tamplin: Kekoa Proudfoot: Ralph Hempel: Luis Villa: et al: In the late '60s I had a '57 VW Bug ... absolutely loved it! But, it didn't go fast enough. So I replaced the engine with a 1500 cc. model. It went faster, (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RE: FW: Something else is needed, I think...
|
|
(...) I hope I'm not the "he" in this sentence - otherwise it's a pure accident that pbFORTH works :-) You have got the basic idea here, John. It gets interesting when you can factor repeated code snippets into words and then use them in a bigger (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RE: Something else is needed, I think...
|
|
Nick wrote: (using embedded HTML!!!!) (...) Right you are, Nick. I'm the guy that kept discouraging do-it-yourself "general" solutions just before the RCX came out. Then I wrote pbFORTH ..... I've never even cracked the wrapper on my LEGO Mindstorms (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
Stephen's view: -> We want something higher level than FORTH or C so that it will be usable by *everyone*. We also want something higher level than NQC so it will be *usable* by everyone. In short, for semantic level we'd like something that puts (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) I say Java is the way to go, actually I am planning to do a JVM for the RCX. The JVM is not necessarily complex, It is possible to do a subset, SUN already does that with the JavaCard specification (that is Java running on smartcards). This (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) classes (...) Yes but in regard to 1) we do not have to implement a compiler, they arer already there, all we need is the VM. (...) There is a stack and a PC. (...) No way, OS/hardware specific stuff should be in the RCX specific (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
I've been reading all this discussion of an new OS for the RCX (or whatever it will be) with great interest. I know I'm out of this discussion/development from the start due not having much low level knowledge on what you are all talking about, but (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
I say let us go ahead and make this JVM for the RCX. I am in, Any other volunteers? As I have previously announced (in the LegOS) group that I was going to do this one person has already agreed to volunteer. As a side note take a look at: (URL) (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | New creation: Lego Clock
|
|
Hi folks, I've just put up a page describing my latest creation, an analog clock. It's quite compact, has coaxial minute and hour hands, and uses a fiber-optic rotation sensor to stay in sync with the RCX's internal clock. Photos, NQC source and (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | IR towers
|
|
Where can you buy more IR towers? -- Richard Clemens Associate Professor Computer Science Department West Virginia Wesleyan College Buckhannon, West Virginia 26201 clemens@wvwc.edu 304.473.8421 -- Did you check the web site first?: (URL) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: IR towers
|
|
Rich Clemens wrote: <snip> (...) Rich: Dacta has them: Tower & cable #N979713 for US$25. 800.362.4308 - - - Nick - - - -- Did you check the web site first?: (URL) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RE: Lego Network Protocol questions
|
|
(...) Try Op-Amp in LA. their web site is (URL) they have a very good selection of technical books. (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) One comment. You can get a 60:1 ratio using lego gears using a drive train like this: 8:40 driving 8:24 driving 8:16 driving 8:16. (that is 5x3x2x2 = 60) Using legOS you could build a full featured alarm clock that used the buttons on top as (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
i'd love to take a look at this (and the alarm clock sounds like a fun project idea:) but when trying to resolve Ben's page, I get a problem resolving staticip.cx. Do you have an actual IP we can reach your page at, ben? Or should I just keep (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) This one works for me: (URL) you are the man. I'm going to try to build the FetchBot some time this week. Jonathan -- Did you check the web site first?: (URL) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
Java is a very good language, but *NOT* a very good choice of language for robot control. Java's greatest strength is its portability, but portable programs in hardware like the RCX, are not likely to accomplish much. (Have you ever tried to write a (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) The DNS for staticip.cx is served by my little machine, and the DSL was down for a while last night. I gotta set up that secondary DNS... In the meantime, 216.100.248.143 is fine, like Jonathan said. On Tue, 4 May 1999, alex wetmore wrote: (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) JavaCard is highly specialized to a SmartCard application. As far as I know, the only way to communicate with a JavaCard interpreter is through the ISO APDU mechanism. You also don't have computation running in the background, since applets (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
Mr.Williamson, I have been long admiring your Lego creations and every time I see something new on your web-site, I create a PDF document of it. If you'd like, I can supply these PDF conversions to you to make available for download to interested (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) Cool! Now I can pretty-print my pages and snail mail them to my folks in Australia. :) If you like, mail me off the list to arrange to send the files, and I'll add them to the site. Thanks for this kind offer, - Ben. ---...--- Ben Williamson (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) I take it that the fiber-optic "distributor"'s LED-switching can be sensed by the RCX? Now that is an astounding multi-use of a specialized element. -gbr (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Do you mean, when a timer reaches a certain value, run a specified task? Can't you do this already, or is something broken with the current firmware in this regard? (It seem that some combination of wait and start_task should do the trick, (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Remember that a floating point number is still stored as "integers" in RAM and simply represents m*2^e where m is the mantissa and e is the exponent. FP is useful when you need to represent a wide range of values, since you can have 24 bits of (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | LEGO Robotics in Popular Mechanics
|
|
The June '99 issue of Popular Mechanics has a four page article on LEGO robotics. Pictures of Anthony Fudd's creations and a pointer to Dave Baum's page. - - - Nick - - - -- Did you check the web site first?: (URL) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) Don't forget writing the bytecode interpreter. With JVM, we just have to port that. Writing a bytecode interpreter that is fast, general purpose, supports multithreading & synchronization etc. is no small task. (...) Java would not be used for (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RCX and Java
|
|
Aren't robots real time systems? Isn't the RCX meant to be a component in such real time systems? Java (as implemented by current virtual machines) is NOT suitable as a platform for building real time systems. The implementation of garbage (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) ??? I think you are making a new interpreter sound harder than it really is. The standard firmware might not be incredibly fast, but it certainly supports multithreading, and synchronization wouldn't be hard to add. The only challenging thing (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) I doubt anyone is considering using the RCX with any OS/language in a hard real-time system. The original firmware nor any of the replacements make the proper guarantees required for such a system (ie, a deadline-based scheduler), and I have (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) I think the basic issue here is we have different ideas in what we want in this interpreted language. You seem to want something closer to the current bytecode, while I want something closer to Java/C++. Certainly if you lower the requirements (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
Mark Tarrabain skrev i meddelandet <372E220C.D2F9AD52@l....bc.ca>... (...) But the whole point with FORTH is that it is self-contained, and the 'compiling' part is an integrated part of the language (normally quite small), and _used_ in programs, (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) What about instead of creating a full featured firmware that will never be good enough for *everything* we want to do, we create a dynamic firmware downloader that we could specify what we would want to download? I could say for instants that (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Precisely. The JVM class loader already provides that functionality. Say for example, you want the various math functions, you have java.math loaded. If you want a fancy package that interprets the raw sensor data for you, load (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) Yep, pretty cool. I can't take credit for figuring that out, does anyone recall who did? I'm sure this side-effect didn't happen by accident, there's no real reason to switch the LED when it's blocked if all you want is pretty flashing light (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) I believe that a new bytecode instruction set should provide native support for non-integer numbers of some type. Whether this is implemented as ieee single precision numbers or as 32-bit fixed-point numbers is an issue that may be up for some (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) MIT had their annual Lego robot race a month or so back, and they were ALL running Java. Not on RCXs though; they were using some kind of StrongARM running Linux as the programmable brick. You can make Java GC more deterministic by disabling (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Is it just me, or is this starting to sound alot like LegOS? :) -Paul (pspeed@progeeks.com) -- Did you check the web site first?: (URL) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) Ben, I still don't know really what you are talking about, this is the first that I have heard of using that FO thingee as an angle sensor/counter. How does it work in NQC? thanks, DLC (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RE: New creation: Lego Clock
|
|
(...) Has anybody looked inside on of those fiber-optic light "distributors"? Maybe it's a set of LEDs in a circle, with a contact wiper mounted on the axle that turns them on one by one as the axle rotates? Tilman -- Did you check the web site (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
From: Dennis Clark <dlc@verinet.com> (...) How (...) Treat the FO device as a light sensor. As you turn it you can see it switch between two values (a high value and a low value). Count those values and you have a rotation sensor. Its probably (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) Both, at least last year. Sun has recently gone to open source for the JVM but previously their license fees were very expensive. Technically, there are better choices wrt real-time/embedded issues. Fred ---...--- Fred Rose Ph: 612.951.7106 (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | RE: New creation: Lego Clock
|
|
(...) No, there's only one LED and it moves. I haven't opened one up, but if you turn it slowly and look down the holes you can watch the LED get brighter and then dimmer as it goes past. Weird design if you just want a light chaser, but cool if you (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: LEGO light sensor schematic
|
|
Well if anybody still cares, I think the LEGO light sensor circuit is 100% correct now. The sensor is a phototransistor. Looking at the circuit implies a interesting side effect. If you shine a very bright light (ie laser pointer) into the (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
Is there any way to order the fiber-optic thing by itself? I can't find it anywhere in the pitsco-dacta catalog. -Luis (...) ###...### God was my co-pilot, but we crashed in the mountains and I had to eat him. -bumper sticker ###...### -- Did you (...) (28 years ago, 4-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) sin() can be simulated to enough accuracy using a small table of floating point constants, and some math. Fairly fast, and very small. (...) multiple concurrent tasks can also be simulated within your own program. (...) These are all not (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | RE: New creation: Lego Clock
|
|
(...) I have never seen a service pack with it. But I believe S@H has the fiber optic multi-set (8456) on sale this spring. It includes 397 additional parts. Or you can by an Mindstorms Extreme Creatures set for $49.95... Tilman -- Did you check the (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Why not implement an interpreter that is linked with LegOS? -- Did you check the web site first?: (URL) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Part of my point, which I did not state clearly, was that any reasonable sin() required floating-point, and that this made sin() not worth it. But I back down from this now, for two reasons. First, you do not need floating point to implement (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Hmmm... porting Commodore Basic to the RCX... nahhh. ;-) -SMQ Shawn Menninga smq@dwarfrune.com --=--=--=--=--=--=--...-=--=--=-- "Well I've wrestled with reality for thirty-five years now, doctor, and I'm happy to state I've finally won out (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | RE: Lego Network Protocol questions
|
|
(...) [snip] (...) [snip] (...) Op-Amp is a good store and was a boon in the pre-web days. Many of my co-workers and myself have books on our shelves purchased from there (they are easy to identify because they sticker their name inside) but now I (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | IR program for HP48
|
|
For all of you who were wondering, no, I haven't forgotten about it, I just haven't had much free time in the past month or so. Maybe w/in the next week it I'm lucky... Sorry for the delay. -SMQ Shawn Menninga smq@dwarfrune.com (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
Has anyone thought of porting OS9 to the RCX. OS9 is a multi-processing, multi-tasking, pre-empted OS that can be put into ROM. It is also a 8 bit OS. Uses Pascal, Basic, Assembly, & C for writing code. Level 1 OS9 fits perfectly into 32K of memory (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) You are provoking me:-) At Enea we are thinking of porting OSE Basic to the RCX. OSE is a multi- processing, multi-tasking, pre-empted OS that can be put into ROM. OSE Basic is a version suitable for 8 or 16 bit microcontrollers with limited (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
I gather then, you know what OS9 is. I have been using OS9 Level I & II, OS9-68K and OS9-X86 for over 10 years. Sound like OSE is very much like OS9. OS9 was developed by Microware for embedded comtrolers like the H8. JAD (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) But what does it benefit us? *This* is creeping featurism at its worst: FORTRAN has it, so we should too.... In my entire professional life I've never had an application for floating point. And then we all switch sides for some of the features (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | basic stamps
|
|
I've heard about a lot of neat ways people have been circumventing the limitations of mindstorms. I've been wondering why I haven't heard anything about people replacing the RCX unit with a basic stamp. (URL) Stamps are small, self-contained (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Whatever interpreter is decided on, an OS will be required. Depending on the requirements of that interpreter, particularly in terms of memory allocation (and garbage collection) and threading support, LegOS may be a fine base for it. On the (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: LEGO light sensor schematic
|
|
(...) Mike, Could it be that transistor 15 (I think), the one that is configured as a diode whose emitter is tied to the emitter on the output of the OpAmp potentially be some kind of non-linear negative feedback loop? Maybe to prevent oscillation (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: basic stamps
|
|
(...) [snip] Oh its not forgotten! I am waiting for some spare cycles to see if I can send serial data out from either the IR on the RCX or a motor output on the RCX to one of my Stamp II Miniboards. I just haven't had the time! DLC (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Floating point is easier to use than fixed point for many. Not that I need floating point, I can figure out the math and use fixed point. Moreover, I can use GCC and Librcx/LegOS and program at the lowest-level too! My point is that some (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) I agree with Kekoa. Floating point is simply an easier paradigm for many of us to do things that take much more effort and math knowledge to be done with fixed point. I succeeded in writing a legOS program that performs a lot of trig math with (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
At 05:50 05-05-1999 Wednesday , you wrote: [...] (...) Here's my idea: IMHO we don't need full floating point, we need fixed point with 3 (4?) decimal places tops! I also think we don't need to use the IEEE standard because there is no advantage in (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego Network Protocol questions
|
|
In lugnet.robotics.rcx.legos, Ralph Hempel writes: [ ... ] (...) This is actually the book from which the thoughts I posted about arose. It is, indeed, a great book ;-) (28 years ago, 5-May-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) already (...) smartcards). (...) That is right, but this is mainly enforced by the class library, which offcourse will have to be way different for the RCX. What I was getting at was that we do not need to implement the whole java bytecode (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) FYI I have been involved in two (big) projects using java for controlling industrial production one is used to control high speed sorting systems the other for controlling packing of newspapers comming directly from the rotation press. And yes (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) But suppose for instance that we were talking about a language like Java that has static typing. Why not put support for fixed point into the compiler. It would then have ZERO impact on the runtime, not even new library routines, and still let (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: LEGO light sensor schematic
|
|
(...) Transistor 15 only has about .4V across it, so it is not operating in a very linear region. My best guess is that it helps make up for the drop in the follower 14 and provides some nonlinear gain. It tends to lower the gain for larger signals (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) So far every discussion I've seen about fixed point math that's gone to any detail to explain the implementation has had it a little off. Usually, trying to impose the decimal system onto your fixed point routines makes them both harder to (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: RCX and Java
|
|
(...) When making a GSM call setup the latency for the call going into a base station/base station controller and out into the next in the chain is 20ms. If you fail you break the GSM specification. How are you going to guarantee that with Java? (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego Network Protocol questions
|
|
(...) Just to state my interests: I'm mainly interested in the protocol, eg what level of service it would provide etc. In particular, I'm interested in layering a higher level gauranteed delivery protocol atop whatever simple one is provided. (...) (...) (28 years ago, 5-May-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
|
| |
 | | Re: Something else is needed, I think...
|
|
(...) You could certainly throw some sort of "unsupported" exception when you see a d* bytecode, but the biggest issues aren't implementing 64-bit ints and floats but rather garbage collection and threading. JC doesn't require either, but some (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) For Java specificallly, it can't be in the compiler since it would no longer be Java. However, you could easily have a FixedPoint class which implements Number and use that. Since Java doesn't support operator methods you have clunky syntax (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
On your page I also saw your scanner / plotter. Very cool, I've been thinking about building one of those for a while. How did you get the precision control by using touch sensors instead of rotation sensors? (...) -- Did you check the web site (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: New creation: Lego Clock
|
|
(...) The touch sensors are just limit switches at the endpoints of motion. There's not much precision, it just uses time delays and assumes that the motors spin at a fairly constant rate. Seems to work well enough for some things, but that wouldn't (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Call for Mindstorms FAQ Q+A (Was: more Mindstorms FAQ)
|
|
(...) The LUGNET FAQ project is up and running again. We are seriously deficient in Mindstorms material, so if you have anything to contribute, please do so! :-, The LUGNET FAQ is of a modular design, meaning that you can grab just the Mindstorms (...) (28 years ago, 5-May-99, to lugnet.robotics, lugnet.general, lugnet.faq)
|
| |
 | | Re: RCX and Java
|
|
(...) I don't think anyone is suggesting that Java is appropriate for a hard-realtime system. Personally, I would expect nothing less than an RTOS with a deadline-based scheduler and a low-level language. However, I think the RCX does not have any (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) The one advantage to working with radix 10, on the RCX at least, is that the display routines use this radix, so even if you prefer working with some power of two radix, you might find yourself stuck converting in the end. Not that this is (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) This is a possibility I had not thought of, also worth thinking about more. It certainly complicates the compiler writer's job, but aside from that it sounds like a reasonable of doing things. -Kekoa (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) I see what you like about having a FixedPoint type and being able to say a = b.Multiply(c) This gives you the flexibility to add modules as you need them by dumping all the work onto the compiler, which is not a bad place if you are not the (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) That's true. My very first fixed point implementation was in radix 10. At the time I didn't even know what I was doing was called fix point. Later, in graphics work, it just seemed obvious to use radix 2 since there are several tricks that (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) If it is an object oriented language, it isn't the compiler writer it is a library writer. (...) Assuming the language has the flexibility, you could certainly do the FP emulation in the library as well. However, you lose the ability to take (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: Lego Network Protocol questions
|
|
(...) I believe transmission and reception are independent, i.e. the emitter circuit is decoupled from the receiver circuit. The hardware on the H8 is full duplex. Once you finish sending a byte, I think you get two interrupts: one saying a byte has (...) (28 years ago, 5-May-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) I must admit I didn't think at radix 2 for fixed point math. It is obviously the best choice to implement. I used radix 10 fixed point math because it came more natural to me. (...) Sorry I was not clear (it happens when you write in an idiom (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) I meant that the compiler writer now needs to support objects, which is a bit of extra work over what I have imagined the compiler writer putting into this. I did not state this clearly by any means. I agree, it also adds work for the library (...) (28 years ago, 5-May-99, to lugnet.robotics)
|
| |
 | | Some comments (long) (was: Something else is needed, I think...)
|
|
I think that what may actually be the best thing for the RCX in terms of a new bytecode interpreter is one which is virtually a plug-in replacement for the old one. I've been doing some extensive mulling over the RCX internals documentation so (...) (28 years ago, 6-May-99, to lugnet.robotics)
|
| |
 | | Newbie Question
|
|
With all the talk about improving the 'add-on' software/firmware, has anyone attempted to add-on or upgrade the supplied software with the kit? If it's so limited, yet is a good design for newbies, can't it be improved so people that know how to use (...) (28 years ago, 6-May-99, to lugnet.robotics)
|
| |
 | | Re: Newbie Question
|
|
(...) The problem with making small changes to the existing interpreter is you will wind up reimplementing all of it. You can certainly choose to keep the existing bytecodes so existing user code will run under it, but many of the limitations are (...) (28 years ago, 6-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) 28.4 is a pretty good general-purpose fixed-point representation. It gives a domain of -134,217,728 to 134,217,727.9375, and you can square numbers up to 11,585 without overflow. 28.4 is also well-suited to vector graphics on relatively (...) (28 years ago, 6-May-99, to lugnet.robotics)
|
| |
 | | interest in JVM porting effort
|
|
I realize there is still ongoing discussion about the "next generation" OS for the RCX, but it appears there are two immovable camps. One camp wants to do the minimum work possible and come up with an incremental upgrade to the existing firmware. (...) (28 years ago, 6-May-99, to lugnet.robotics)
|
| |
 | | Re: FW: Something else is needed, I think...
|
|
(...) Thanks Todd for your suggestions. 16.16 would probably meet my requirements for the particular task I am working at present moment. Anyway I suppose I can write general-purpose code to be used with different radix points. (...) I made all (...) (28 years ago, 6-May-99, to lugnet.robotics)
|