To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *2264 (-10)
  "Local Positioning System" for lego-vehicles with mice
 
Hello NG, i try to develop something like a local position system with a optical RF mouse (or other mouse-devices). If someone want to join or help for this little project please mail me. A very first result you can see at (URL) (23 years ago, 1-Feb-02, to lugnet.robotics.rcx.legos)
 
  Integer-based arctangent2 function for anyone interested
 
After scouring the internet for several days and even utilizing Jack Crenshaw's wonderful book "Math Toolkit for Real-time Programming", I was unable to find a good, general iatan2(y,x) function. Note that this is the atan function that takes as (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  Errors compiling egcs
 
Hi, I've just downloaded and attempted to install the binutils, egcs, and LegOs on my computer as per the instructions at (URL) only difference between these instructions and what I have done is the path to where the software is to be installed. (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: which Linux distro?
 
(...) Good Idea ! I had no problem using legOS when using a RedHat 7.1, Mandrake8 or a Conectiva 6.0, As far as I remember, there is a Debian package available for legOS. So... no matter which distribution you'll use, it will be far better than (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  which Linux distro?
 
Hi, I am thinking of moving over to Linux, partly for legOS reasons (Lnp easier to set up for a start), but partly for other reasons (free software, morality etc, ie the usual waffle.) I am considering Redhat 7.2, Suse 7.3 personal or Suse 7.3 (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Incorrect result
 
(...) Yes, this is what happens when one is used to just making everything long and not considering overflows. Even worse was that I was doing the math on the computer's calculator, but not looking at the intermediate result, just typing in the (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Incorrect result
 
(...) 256 * 128 = 32768, one higher as the biggest positive integer value. The cast to long would help, but your cast is too late. I have not tested, but I think rc += ( (long)b->magnitude * (long)TA_costable[...] ) >> 7; will help. Try output in (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  RE: Incorrect result
 
<snipped code> (...) Robert, this is a classic problem with ranges of singed numbers in C rx = (long)(a->magnitude * TA_costable[a->direction]) >> 7; I don't have an RCX in frot of me, but I think you need to cast a->magnitude to long before the (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Incorrect result
 
This problem, unlike the other, is definitely not a result of my eyes/brain being tired or something. I thoroughly displayed every value before and after evaluation and the result is ***WRONG***. Here is the code and the values: typedef struct { int (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  RE: true tcp/ip on the RCX
 
Hi :) Just out of curiosity, check this thread from Jan/2000: (URL) mc. (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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