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 / *24419 (-20)
  Floating Point Arithmetic (Re: NQC with C++ header file)
 
Speaking of FP, leJOS supports floating point arithmetic, and it now has a java.lang.Math class with pow, sqrt, sin, cos, tan and atan. Brian Bagnall is working on atan2, asin, acos, etc. It's getting more and more complete. We're currently (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  RE: NQC with C++ header file
 
(...) Well, not exactly. I guess I should elaborate. These rations are commonly used for scaling results. Of course if you do the division in integer you get 3, but what if you had an intermediate result that was 32 bits long. That's how Forth (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  Electrical Data Link between 2 RCXs
 
The following describes an "electrical data link" (one direction) between 2 RCXs (see also my subject "Connecting 2 RCXs"). The task is that one RCX sends a number (e.g. a status) to another RCX via a cable. The IR link cannot be used because they (...) (26 years ago, 25-Oct-00, to lugnet.robotics.rcx.nqc)
 
  RE: NQC with C++ header file
 
Absolutely! You'd be amazed at what can be done with 16 bit integer arithmetic if you operate at some suitable scale factor, depending upon the requirements - x10, x100, x16, x256. It depends on the ease with which you can shift and/or divide. As (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  RE: NQC with C++ header file
 
(...) Bah! We don't need no stinkin floating point. Here are a few approximations to real and transcendental numbers that you can make by dividing signed integers - the error is gennerally less that 1 in 1,000,000 pi 355 /113 sqrt(2) 19601 / 13860 e (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  Re: MacNQC 2.2a3 compatibility with NQC2.2r2
 
(...) Do you mean Event()? I think it is defined in MacNQC 2.2a3, but there's a nasty bug in it that was only recently fixed at NQC 2.2r2. Its possible to define your own version of Event() (named something different of course) if you need to use (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  Re: NQC with C++ header file
 
(...) What specifically do you have in mind? The limitation is going to be from the firmware bytecodes...no floating point, no transcendentals, no math larger than 16 bits. Switching over to legOS would give you floating point, but still no (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  Re: NQC versus Lego RCX Code Speed
 
In article (...) Sorry for the delay...I haven't been keeping up with lugnet.robotics as much as I should. NQC generates the same sort of bytecodes that RCX Code does, so they are both at the same "level" (specifically bytecodes executed by an (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  Re: Does anyone send me a picture of Remote Control?
 
(URL) Zang" <mikezang@iname.com> wrote in message news:39F54B7A.862188...ame.com... (...) (26 years ago, 25-Oct-00, to lugnet.robotics.rcx)
 
  Re: NQC 2.2 r2 released
 
(...) to get the linux packages updated as soon as I can, and the man page too. (26 years ago, 25-Oct-00, to lugnet.robotics.rcx.nqc)
 
  R: Rechargable batteries
 
I've use rechargable batteries (NiMh - Nickel Hydrade - , 1,2V) with the cybermaster with no problems at all. 9V (not rechargable) in the tower. The only difference is the motors are a little slower... The NiMh I used were rated for 1400ma so even (...) (26 years ago, 23-Oct-00, to lugnet.robotics)
 
  Sv: Lego Mindstorms at EXPO2000
 
It looks like the robots are cooking? Did they offer a taste? Great pictures! I did not know of a Lego stand at EXPO, it looks great. EXPO is open until October 31st. I considered going - now I have to. On a side note, TRU in Denmark has CyberMaster (...) (26 years ago, 22-Oct-00, to lugnet.robotics)
 
  Re: RIS 2.0 - when, where, what??
 
(...) Spring 2001. They have to sell of the 1.5's... From what I remember reading the 2.0 will have. USB IR Tower The power adapter port is back It will look the same as the 1.0 but will have the back raised bit (Near the power adapter port) lowered (...) (26 years ago, 25-Oct-00, to lugnet.robotics.rcx)
 
  Re: Connecting 2 RCXs
 
Isn't there anywhere in this world I can escape b******* Whnitney Houston? I thought this was a pretty safe bet.... Duq "Bernd Frassek" <bernd.frassek@aache...timaco.de> wrote in message news:G2xFGs.L3x@lugnet.com... (...) (26 years ago, 24-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: single motor pneumatic pump and switch
 
I think the key is that the differential has a lot less resisitance than the white slip gear. Your idea would work, but if I understand you, the slip gear would be slipping the whole time the pump is pumping, meaning the motor has to overcome the (...) (26 years ago, 24-Oct-00, to lugnet.robotics)
 
  RIS 2.0 - when, where, what??
 
Hi Does anyone know when the RIS 2.0 will be released or what it will contain or any other info and snippets of anything. I'd even settle for hearsay I'm getting that desperate for info. Will it be out for Christmas is the big Q? Thanks Mike (26 years ago, 24-Oct-00, to lugnet.robotics.rcx)
 
  Re: single motor pneumatic pump and switch
 
Does this mechanism actually need the differential? If you used a 24 tooth crown (the horrible bendy one) on the motor and this turned the white slip gear for the switch and also a standard 24 tooth for the pump, the diff isn't needed, or is it just (...) (26 years ago, 24-Oct-00, to lugnet.robotics)
 
  Re: Connecting 2 RCXs
 
(...) Glad I could be of help in passing information. Brick on! Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (26 years ago, 24-Oct-00, to lugnet.robotics.rcx.nqc)
 
  Re: SubSumption and Dave Baum
 
Sorry about that, Jonathan. I didn't think that there was any legOS code in Dave's book, but I didn't want to argue with someone who had read it more recently or more thoroughly than I had (which, honestly, wasn't very much, since I don't do NQC.) (...) (26 years ago, 24-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: Does anyone send me a picture of Remote Control?
 
Just yank it out from the Lego mindstorms site. Right click on the picture and save it... Ram (...) (26 years ago, 24-Oct-00, to lugnet.robotics.rcx)

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

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