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 / *24424 (-10)
  RE: NQC with C++ header file
 
Curiosity piqued, I took a look around Google and found (among others)..... (URL) haven't waded through the math manually yet, but this doesn't look too awful. Perhaps I am ignorantly naive. It sure would be neat to have sin and cos on demand. Jeff (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  RE: LEGO 2001
 
Jeffrey Hazen (11:58 AM 10.25.2000) wrote: >The scans are interesting, but I'm afraid there isn't much excitement >robotics-wise. > >An interesting note: The serial number on one of the RCX bricks in the >scans is 502273. The earliest serial number (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  RE: LEGO 2001
 
>Jeff wrote: > >That means (with some assumptions about completeness) Lego has banged out >over half a million of these yellow bricks.... Really? Even one tenth that number is still a sea of yellow bricks! So where is everybody? Why are there only (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  RE: LEGO 2001
 
The scans are interesting, but I'm afraid there isn't much excitement robotics-wise. An interesting note: The serial number on one of the RCX bricks in the scans is 502273. The earliest serial number I can find is in my RCX 1.0 Constructopedia: (...) (26 years ago, 25-Oct-00, to lugnet.robotics)
 
  Re: Electrical Data Link between 2 RCXs
 
(...) Have you tried using SENSOR_MODE_EDGE or PULSE? Maybe it can keep track of it better? Edge could be very useful as it can count both on's and off's whereas pulse counts only on's. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego (...) (26 years ago, 25-Oct-00, to lugnet.robotics.rcx.nqc)
 
  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)

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

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