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 / 7309
7308  |  7310
Subject: 
Re: GP2D02 conversion
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 14 Jan 2000 00:25:49 GMT
Viewed: 
566 times
  
In lugnet.robotics.handyboard, Jean-Michel Mongeau writes:
Does anyone how I could create a lookup table or an algorithm to convert the
output of the Sharp GP2D02 (0 to 255 = byte) to values between 10 and 80 cm,
which is the reading capability of the IR?

You mean like value = 10 + ((70 * b) / 256) ?

--Ben



Message has 1 Reply:
  Re: GP2D02 conversion
 
(...) Actually, the GP2DO2's output is not at all linear. Plotting the output against the actual distance will show an exponential curve. Each one is slightly different so what I do is to make up a little table in Excel like: 0,0 70,10 116,15 142,20 (...) (25 years ago, 14-Jan-00, to lugnet.robotics.handyboard)

Message is in Reply To:
  GP2D02 conversion
 
Does anyone how I could create a lookup table or an algorithm to convert the output of the Sharp GP2D02 (0 to 255 = byte) to values between 10 and 80 cm, which is the reading capability of the IR? Thank you, J.M. Mongeau (25 years ago, 13-Jan-00, to lugnet.robotics.handyboard)

6 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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