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