paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] vectornav VN 100


From: David Conger
Subject: Re: [Paparazzi-devel] vectornav VN 100
Date: Sat, 23 Oct 2010 13:05:19 -0700

Hello,

Thanks to the posts below I have a vn100 connected to the SPI on the Tiny2.11. 

My SVN is version 6208 and I'm going to use the "conf/airframes/delta_wing_minimal_example.xml" file as a template. Then add the vn100 and i2c info from the ENAC/fixed-wing/twinjet2.xml 

It seems the twinjet2.xml though is using IR for attitude. Is there a version or suggestions for using the vn100 for attitude for my testing? I am losing many days flying because IR contrast is not > 40 (fog and light rain). 

Additionally: The vn100 works fine on the software given by VectorNav but I am not able to see in their software a place to do as you say and "configure manually the VN100 for not sending periodical messages". Can you share the steps you used to do this? 

Thank you,
David 

On Jun 10, 2010, at 9:28 AM, Gautier Hattenberger wrote:

Hi,

Reading the values from the sensor works for me (not writing, I don't know why).
You can have a look at the airframe ENAC/fixed-wing/twinjet2.xml
The flags for SPI are :
ap.CFLAGS += -DUSE_SPI -DSPI_MASTER -DUSE_SPI_SLAVE0
ap.srcs += spi.c $(SRC_ARCH)/spi_hw.c
and do not forget the flag -DUSE_MODULES

The module is not complete yet. One bug I know is the conversion from quaternion to euler angles. The DRDY is not used, so you should configure manually the VN100 for not sending periodical messages.

And your wiring looks good !

Gautier

Le 09/06/2010 22:01, Gayan Gamage a écrit :

Hi,

i am trying to integrate a vectornav VN100 AHRS sensor to the paparazzi board (tiny2) through the SPI port. There is the code inside the modules/ins folder. I connected the wiring properly (I guess) and configured the module in the airframe file and added -DUSE_SPI, _DSPI_MASTER, DUSE_SPI_SLAVE0 too as cflags. But there is no connection with the sensor. Any help is highly appreciated

(connection)
vectornav VN 100pin -> tiny 2 SPI port pins
Gnd -> Gnd
Vcc->+3.3 V
SPI_CS (SPI SLAVE SELECT) ->SSEL
MOSI -> SPI_MOSI
MISO ->SPI_MISO
SPI clock -> SCK (SPI serial clock)
DR_INT (data ready interrupt.) - > DRDY (external interrupt)

VN 100 sensor layout is at http://www.vectornav.com/Downloads/Support/UM002.pdf



--
Gayan
_______________________________________________ Paparazzi-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

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