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 / 8151
8150  |  8152
Subject: 
Sonar limited by signed int... change to unsigned?
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 26 Oct 2000 00:32:12 GMT
Viewed: 
750 times
  
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 has 1 Reply:
  Re: Sonar limited by signed int... change to unsigned?
 
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 (...) (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