To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / *11316 (+20)
  Floating point emulation
 
I succeeded in using (emulated) floats in a legOS program. Here are some instructions in case some of you want/need to try 32 bit FP emulation. First of all I must point out that I have no merit at all in having got this result, a part from having (...) (28 years ago, 5-May-99, to lugnet.robotics.rcx.legos)
 
  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)
 
  GP2d02 Problems
 
Greetings all! I just got the Sharp GP2D02 ir distance sensor and I got it all hooked up the way that Barry Brouillette's tutorial explained, and I downloaded the new expansion board drivers, but when I went to load the Barry's IR drivers, it gave (...) (28 years ago, 5-May-99, to lugnet.robotics.handyboard)
 
  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: Purchase in Miami or Boston
 
Peter, I've recently bought a Handy Board kit from Patrick Hui in Hong Kong. Contrary to your experience, I was very pleased about the quality of the parts Patrick sent me! Also, his price was very competitive to Gleason's (which was the reason why (...) (28 years ago, 5-May-99, to lugnet.robotics.handyboard)
 
  Re: GP2d02 Problems
 
Have you openned the files in a simple editor (I use BBEdit)? If not, try openning them and check what is at the end of the program lines. Sometimes, pending on how it downloaded, it will have "squares" at the end of the lines representing (...) (28 years ago, 5-May-99, to lugnet.robotics.handyboard)
 
  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)
 
  RE: GP2d02 Problems
 
Ryan, Well, it worked for me... Which version of IC are you using? I'm using the Newton Labs IC version 3.1 but as far as I know the program should work with all of the versions. If you tell me what you're using I'll fire that version up and try it (...) (28 years ago, 5-May-99, to lugnet.robotics.handyboard)
 
  Re: GP2d02 Problems
 
as was mentioned, problems loading ICB files are usually due to bad linefeeds. there is a FAQ entry on this, which explains how to solve it: (URL)Greetings all! (...) (28 years ago, 6-May-99, to lugnet.robotics.handyboard)
 
  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: Purchase in Miami or Boston
 
(...) Yeah, the HB and sensors that Patrick Hui sent to me worked great, too. Not only that, but he promptly answered my questions via e-mail. I haven't dealt with Gleason yet, but I wouldn't hesitate to recommend Mr. Hui. -- Will , , __@_/ \_@__ |/ (...) (28 years ago, 6-May-99, to lugnet.robotics.handyboard)
 
  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)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR