Subject:
|
Re: Sonar limited by signed int... change to unsigned?
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Thu, 26 Oct 2000 14:55:03 GMT
|
Viewed:
|
1244 times
|
| |
| |
Hi
I've the same problem!
I've wrote a first program to solve that, but i didn't work. Look at my message
from 16. October. (sonar and overflow)
If you don't need that accuray, then you can just use the overflow_counter, but
this is not at all satisfactory!
Hope that helps
Bye
Martin
In lugnet.robotics.handyboard, Jerry Normandin writes:
> Hi,
>
> The sonar code is limited to 15' since we are using a signed
> int.
> I don't want to change the timer resolution since the multitasker will
> run slower.
> The counter only supports an int right? So we can use a signed int and
> check the
> overflow flag? Has anyone wrote code like this yet?
>
> I'd like to get at lease 30' out of the sonar since I map a room and
> plot a course.
|
|
Message is in Reply To:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|