 | | Re: Lego Bulk-- a solution
|
|
(...) Good idea in principle but I see some difficulties with this: a) I bet there are tons of parts that everybody wants more of. If not needed for the current project, they´ll sure come in handy at some point... ;) The surplus parts will in a (...) (26 years ago, 12-Sep-00, to lugnet.robotics)
|
| |
 | | Re: Can't get Linux NQC to compile/Run
|
|
(...) You need to compile it as a C++ source file. There are ways to force C++ compilation of .c files, but its probably easier to just save it as test.cpp, then try: g++ test.cpp Assuming that the compiler knows where to find the C++ standard (...) (26 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: Can't get Linux NQC to compile/Run
|
|
(...) I'm afraid I don't have a clue how to compile that one. I tried make test.c but, of course, that doesn't work. I also tried [tfm@linux tfm]$ gcc ./test.c ./test.c:1: vector.h: No such file or directory but not much luck there either. Dean -- (...) (26 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
|
| |
 | | Re: Can't get Linux NQC to compile/Run
|
|
(...) I tried that first. After letting the RPM installer install NQC i386 I get this message when I try to run it. [tfm@linux tfm]$ nqc nqc: error in loading shared libraries: nqc: undefined symbol: _t24__default_alloc_....free_list It's a standard (...) (26 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
|
| |
 | | Peekword returns an int... can I typecast in Interactive C?
|
|
Hello, my problem is that peekword returns an int. I need a long. Is there a way around this in Interactive C??? (26 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|
| |
 | | Interactive C question can you cast an int to a long?
|
|
Hi, I have an interactive C question, I'd like to return this: return peekword(0x1014) - start_time; as a long.. since this is why there's a distance limit in the sonar.c code. Can I return this as a long? (26 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|
| |
 | | possibly the way the driver is written limiting sonar range?
|
|
Hi, I was playing with my handyboard's sonar.. The distance limitation is in the code, since we are using integers we are limited to -32,778 to 32,768.. and that's why I am at @15 ft limit. After we change the sonar code to longs the problem is (...) (26 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|
| |
 | | Re: Can't get Linux NQC to compile/Run
|
|
(...) Dean -- have you tried my prebuilt RPMs? They should run on Mandrake with no problem. I know that doesn't solve the actual build issue (Dave's suggestion sounds good) but it should get you a working NQC. (26 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
|
| |
 | | Here's the code I wrote so far, any ideas why my Polaroid 6500 has only 15ft range?
|
|
Hi everyone, Here's some code that I have so far. I have no clue why I only get 15' range out of my Polaroid 6500. I did not get the usual fastener that clasps the tranducer into place, could that do it? My tansducer is mounted on "sensor array" (...) (26 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|
| |
 | | Re: Can't get Linux NQC to compile/Run
|
|
(...) Sounds like part of the g++ library is missing....or perhaps an incompatability between the installed library and the g++ header files. I'm not quite sure how to unmangle that name, but my first guess would be the default allocator used in (...) (26 years ago, 12-Sep-00, to lugnet.robotics.rcx.nqc)
|