 | | 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)
|