To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8152
8151  |  8153
Subject: 
Re: Sonar limited by signed int... change to unsigned?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 26 Oct 2000 14:55:03 GMT
Viewed: 
909 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:
  Sonar limited by signed int... change to unsigned?
 
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? (...) (24 years ago, 26-Oct-00, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR