Yes, I did check that and it was just as you described. I did, however, changed from TILTED to ALIGNED and try to recalibrate. This time I did get a value that was much better and was able to get a response from both sensors of the vertical unit. This time the value was 478. It seems the sensors are fine. Thanks for the info.
Eddie.
From:
address@hiddenSubject: Re: [Paparazzi-devel] IR Sensor Neutral is 735 !!??
Date: Wed, 11 Aug 2010 20:40:39 -0700
To:
address@hidden
What ADC is setup in your airframe file for IR_TOP?
On a TWOG the 3-pin connector is ADC_0.
Just want to be sure it's not something simple as that value.
This code should work:
with this in the makefile section:
ap.CFLAGS += -DADC -DUSE_ADC_0 -DUSE_ADC_1 -DUSE_ADC_2
ap.srcs += $(SRC_ARCH)/adc_hw.c
Be sure not to enable ADC you are not using.
-David
On Aug 11, 2010, at 5:11 PM, Edixon Giraldo wrote:
Hi, I have been trying to calibrate the IR sensors on my UAV, but, I am getting this really off value for my vertical sensor. I get 511, 512 on the horizontals, but, for the vertical I get 735. Do I need to change this sensor or is this normal?
Thanks.
Eddie.
_______________________________________________
Paparazzi-devel mailing list
address@hiddenhttp://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________Paparazzi-devel mailing address@hidden://