 | | Compiling NQC
|
|
I am delving into the world of Linux (I have abandoned BSD and Windows but keeping my Mac) and I am having trouble compiling NQC in Caldera's OpenLinux 2.2 for i386. A basic output of the errors I am seeing: gcc -c -O6 -pipe -m486 -Iplatform (...) (28 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: A robot who knows his position
|
|
(...) This is great! I thought it was possible, but my knowledge of C isn't simply enough to figure out HOW TO. (...) Yes, when you have floats you can use/adapt standard math libraries. I'll try this. (...) This would be of great help (not only to (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: A robot who knows his position (fwd)
|
|
(...) up (...) possible. (...) That's true and clear. I'm not actually interested in such a precision, but as you know very well the problem with odometry is that errors accumulates very fast so I used four decimal digits in any computation to keep (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: A robot who knows his position (fwd)
|
|
(...) [ talk of Dead Reckoning ] (...) That's a useful idea; I'll take note of that. (...) I've been doing some robot building aimed at dead reckoning and have found that even the home or flat environment is enough to f*&k things up; the bumpy (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Og Needs More Inputs (fwd)
|
|
(...) connected (...) Let's assume it is the LEGO rotation sensor. Which is not an 8-bit sensor. It is an incremental encoder that sends values back as 4 analog values. If a touch sensor is put in parallel with a rotation sensor the analog values (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: A robot who knows his position (fwd)
|
|
(...) Looking forward to seeing them :) (...) Dead-reckoning should be used BETWEEN two consecutive (artificial) landmark sensing. When you get any external reference point you can zero your accumulated errors. (...) moving (...) Seems interesting. (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Compiling NQC
|
|
Rich Thompson <richone@midsouth.rr.com> wrote in message news:FAvu5G.4Hw@lugnet.com... (...) This sounds like gcc isn't installed properly. cc1plus is the first stage of the compiler. Can you compile anything properly? alex (28 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
| |
 | | RE: Compiling NQC
|
|
I will pull gcc down tonight and try a fresh install...the gcc installation that came with openlinux is what I installed, and I am seeing make problems elsewhere now. Rich Thompson rich_thompson@cmcsmart.com (URL) -----Original Message----- (...) (28 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: A robot who knows his position (fwd)
|
|
(...) I have been thinking about a different approach. I have not actually built anything to use it yet, but I believe it should work reasonably well. The basic idea is similar to the old optical mouse pads -- draw horizontal and vertical lines on (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Inverting the robot position problem...
|
|
(...) This brings out a VERY interesting application. Most bots have trouble navigating a real maze because of obvious slippage problems and generally poor resolution of sensors. What about inverting the problem and printing (using your favorite (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Inverting the robot position problem...
|
|
(...) You are right about the limitations of image based maze followers, but with you don't even need to get that complicated- any bot that can follow a wall using touch sensors can do a maze reasonably well. Picture a blind man walking along a (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Og Needs More Inputs (fwd)
|
|
(...) To add to this, the effect of placing a touch sensor in parallel with a rotation sensor is as follows: When touch sensor is not pressed, rotation sensor works fine When touch sensor is pressed repeatedly, rotation sensor drifts When touch (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Inverting the robot position problem...
|
|
(...) That was what I had intended to use -- 1/8" tape spaced at 1" centers on a white background. I was thinking black and red should be sufficiently distinguishable from each other, but that will probably take experimentation. John A. Tamplin (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Inverting the robot position problem...
|
|
(...) When one color tape overlaps the other color it may be possible for the sensor to miss the bottom color when it passes over the intersection. Maybe you could use a square piece of tape of a third color at the intersection? Like you said, this (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | Re: Og Needs More Inputs (fwd)
|
|
(...) Actually, I retract what I said about the light sensor and the touch sensor, but not on the grounds you stated, or at least on clearer grounds than you seemed to explain. (That you can configure the touch sensor or bias the photodetector seems (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | RE: A robot who knows his position (fwd)
|
|
(...) Just for reference: The optical mouse pads made by Mouse Systems, and shipped with Sun workstations for a long time, used two detectors in the mouse. One used a red LED, and the other one looked the same, but was dark. I suspect it was an IR (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | RE: A robot who knows his position (fwd)
|
|
(...) Wow- sounds really interesting. Keep us all up to date... Luis ###...### "They call the faithful to their knees to hear the softly spoken magic spell:" "There's no place like home... There's no place like home... There's no place like home." (...) (28 years ago, 28-Apr-99, to lugnet.robotics)
|
| |
 | | NQC 1.3 has been released
|
|
I just posted NQC 1.3 to the main web site: (URL) an excerpt from the readme... version 1.3 ---...--- Calls to inline function may now be made before their definition. abs() and sign() operators added. SetWatch() added to rcx.nqh. Toggle() added to (...) (28 years ago, 28-Apr-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
| |
 | | Re: Compiling NQC
|
|
Well what do you know...I install gcc 2.8.0 and still no luck. But a clue lurks in the docs....and since I had none (clues that is) I read on. To compile c++ you must install libstdc 2.8.0. I find it and compile into gcc. Just for luck I grab the (...) (28 years ago, 29-Apr-99, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: Compiling NQC
|
|
(...) fyi - NQC 1.3 builds and runs fine on LinuxPPC. It also builds under about half a dozen flavors of Unix without any #ifdefs, so MacOSX Server shouldn't be a problem. About the only thing you'll have to "port" is filling in the name of your C++ (...) (28 years ago, 29-Apr-99, to lugnet.robotics)
|