| | 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??? (24 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? (24 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 (...) (24 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|
|
| | 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" (...) (24 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|
|
| | Polaroid 6500 ranging.. only getting 15ft range!
|
|
Hi, How do you get 35ft range out of the handyboard? I get a negetive number when hitting an object over 15ft away! Does anyone else have this problem? Can I adjust it somehow? Thanks! (24 years ago, 12-Sep-00, to lugnet.robotics.handyboard)
|