paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Re: Interfacing to the EagleTree airspeed sensor


From: Christophe De Wagter
Subject: [Paparazzi-devel] Re: Interfacing to the EagleTree airspeed sensor
Date: Tue, 8 Sep 2009 21:02:42 +0200

Hi Vassilis,

I have added our airspeed code to the svn. Add -DUSE_AIRSPEED to the CFLAGS and use airspeed.xml to tune the airspeed controller. 

If you measure the airspeed with an ADC you can use arispeed.c and airspeed.h and define the ADC_CHANNEL_AIRSPEED. If you have your own digital airspeed routines, then just call EstimatorSetAirspeed(your_speed_in_m/s);

Unfortunately there is no simulation model yet... But using a hair-dryer as suggested earlier can be usefull to test things on the ground.

Christophe

PS: make sure the set integrator values low enough
 
---------- Forwarded message ----------
From: Vassilis V. <address@hidden>
To: address@hidden
Date: Mon, 7 Sep 2009 21:27:42 -0400
Subject: [Paparazzi-devel] Re: Interfacing to the EagleTree airspeed sensor
I got both the airspeed and altimeter sensors from EagleTree working. The source code and some data can be found at:

http://vrhome.net/vassilis

At this point I am simply passing the airspeed and altitude through the telemetry down to the ground station. The next step is to work on fw_v_ctl.c to allow the airspeed to be used for  controlling the throttle (i.e. maintain constant airspeed). This will take me a bit longer, I will let you know when I have something working.

Vassilis


On Sep 6, 2009, at 9:59 AM, Vassilis V. wrote:

All,

I had a successful flight with the EagleTree airspeed module ( http://www.eagletreesystems.com/Support/manuals/airspeed-v3.pdf ) connected to my TWOG. I did not have to do any hardware modifications, the sensor has an I2C interface that I connected directly to the TWOG I2C port. I was able to figure out the slave address and decode the raw output of the sensor. The results are quite good, the module is low cost ($43) and comes with a very good pitot tube that includes static and dynamic ports. For now I am simply sending the airspeed through the telemetry, the next step would be to modify the autopilot code to regulate the throttle in order to keep the airspeed constant (and a minimum ground speed). I will do the same with the altimeter sensor.

See http://vrhome.net/vassilis for more information, I will publish the code as soon as I have the altimeter tested (probably in a week or so). Is there any interest on getting this released code released into CVS?

Vassilis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]