paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] PFD related problem


From: Steve D
Subject: Re: [Paparazzi-devel] PFD related problem
Date: Mon, 21 Jul 2014 17:29:40 -0400

Hello All, 
I have a similar issue, I also have an MPU-6050 board with lisa M 2.0. I am using V5.0 stable build. 
First I tried the setup with Bixler.
I added 
<subsystem name="imu" type="aspirin2_i2c">
       <define name="MPU60X0_ADDR" value="MPU60X0_ADDR_ALT"/>
    </subsystem>
there was a minor error imu_aspirin2.c file #include was pointing to an non existing  file, there was a typo.

#include "../../peripherals/mpu60X0.h" X is in upper case. I just copied and renamed the file and it started working.

I also modified imu_aspirin2_i2c.makefile (I could change the value any other way).

changed to I2C value to 1 to match my board setup.

IMU_ASPIRIN2_CFLAGS += -DUSE_I2C
ifeq ($(ARCH), stm32)
IMU_ASPIRIN2_CFLAGS += -DUSE_I2C1
IMU_ASPIRIN2_CFLAGS += -DPPZUAVIMU_I2C_DEV=i2c1

after these modification I stated getting data from the IMU. I did not make any further testing. I wanted to setup a Quad.

Next I tired Quad_lisaM_2 the only line I changed in air frame was     <subsystem name="imu"           type="aspirin2_i2c"/>

it failed to compile

CREATING object dir /home/steve/paparazzi/var/Quad_LisaM_2/ap
make[1]: *** No rule to make target `/home/steve/paparazzi/var/Quad_LisaM_2/ap/ap.elf', needed by `elf'.  Stop.
make[1]: Leaving directory `/home/steve/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2
make: Leaving directory `/home/steve/paparazzi'

FAILED 'make -C /home/steve/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 PRINT_CONFIG=1 ap

I also attempted to run it with imu_drotek_10dof_v2 I was unable to get any reading from the board.

Thanks a lot for your help, unfortunately I am not a developer or an EE it is beyond my technical ability to fix this.
Steve 
attached are the  compile logs files and var/Quad_LisaM_2


On Mon, Jul 21, 2014 at 7:18 AM, fsysky <address@hidden> wrote:
Hi friends,

I send a same post without subscribe, so I send a new one and delete the old
one.

My single PCB board have MPU-6050 mounted.  I'm using int_cmpl_quat ahrs
algorithm.
But sometimes when I put the quad horizon, the PFD screen is hard to recover
to its original position.

I use lisam 2.0, Aspirin 2.2 imu board, default software.
And I have ported PPZ to a new autopilot board, have the same problem.

Do you have any advice to solve this problem?

Thanks!



--
View this message in context: http://lists.paparazziuav.org/PFD-related-problem-tp15843.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

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

Attachment: compile
Description: Binary data

Attachment: Quad_LisaM_2.tar.gz
Description: GNU Zip compressed data


reply via email to

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