nanogui: touchscreen calibration


Previous by date: 9 Mar 2004 21:16:32 -0000 Re: Touchscreen calibration, Daniel Csabai
Next by date: 9 Mar 2004 21:16:32 -0000 fail to created font, Liu ql
Previous in thread: 9 Mar 2004 21:16:32 -0000 Re: Touchscreen calibration, Daniel Csabai
Next in thread:

Subject: Re: [nanogui] Touchscreen calibration
From: Mark Mussetter ####@####.####
Date: 9 Mar 2004 21:16:32 -0000
Message-Id: <5.1.0.14.0.20040309133230.00ac88c8@link-comm.com>

Hello Daniel,

I did some more searching in Microwindows and found a nice example called 
nxcal.c.  This program calculates a transform which is also used in 
GdMouseRead to filter jitter.  We used nxcal.c as a starting point and came 
up with a nice calibration and filter for our touchscreen.

Thanks,

Mark

At 01:03 PM 3/9/2004 +0100, you wrote:
>Hello Mark,
>
>
>Mark Mussetter írta:
>
>>Hello Everyone,
>>
>>We have a 240X320 touchscreen display basically working with FLTK1.1.4 
>>and Microwindows-0.90.  We calibrated the touchscreen by hand using 
>>equations that take into account the ADC ranges of the X-axis and 
>>Y-axis.  This gets us pretty close on our coordinate calculations, 
>>however, we were wondering if there is a standard way of doing 
>>touchscreen calibration with Microwindows so we don't have to repeat this 
>>procedure for every new screen we install.
>I am working also on calibration problem. I have not find any standard 
>routine. That is the case I am going to write one! I have a sample program 
>that I can send to you that maybe can partly help.
>
>>Is there a standard calibration routine included in Microwindows and do 
>>you feed it raw ADC values?
>>
>>Also, we are getting coordinate readings back that vary by about +/- 10 
>>pixels of the actual "pen down" location.  Are there any filtering 
>>routines out there that filter out that noise and maybe debounce the "pen 
>>down" readings?
>
>I found an old microwindows driver at this distribution at the 
>src/drivers/old/mou_tp.c.  In the  "first"PD_Read(...) function you can 
>find codes that filter the noises after the conversation process. I 
>implemented this one and I got more stable cursor.
>
>Regards,
>Daniel
>
>>
>>Thanks for any help you could give,
>>
>>Mark
>>
>>Our system:
>>   Motorola 5272
>>   RTEMS 4.6.0pre5
>>   FLTK1.1.4
>>   nxlib0.44
>>   Microwindows-0.90
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ####@####.####
>>For additional commands, e-mail: ####@####.####
>>
>>
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####


Previous by date: 9 Mar 2004 21:16:32 -0000 Re: Touchscreen calibration, Daniel Csabai
Next by date: 9 Mar 2004 21:16:32 -0000 fail to created font, Liu ql
Previous in thread: 9 Mar 2004 21:16:32 -0000 Re: Touchscreen calibration, Daniel Csabai
Next in thread:


Powered by ezmlm-browse 0.20.