[Top][All Lists]

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

Re: [Paparazzi-devel] Can't get GCS to populate

From: Daniel Morgan
Subject: Re: [Paparazzi-devel] Can't get GCS to populate
Date: Thu, 5 Mar 2009 10:46:16 -0700

You need to switch your uarts. They are backwards, the link should use uart1 and the gps should use uart0

On Thu, Mar 5, 2009 at 8:59 AM, Alston Pike <address@hidden> wrote:
I'm new to Paparazzi, as I bought a Tiny 2.11 board from PPZUAV back in November.  I've finally gotten all my connections together and the board installed in my plane, a Parkzone Spitfire that I've slightly modified.  But this is where my trouble begins...
So I now have two questions/problems:
First, I can't get the GCS to populate when using the xbee modems.  I've sifted through the mailing list and looked at all the suggestions to get it to work.  Nothing has worked so far.  The FTDI cable works, so I think it's in my configuration somewhere.  Here is what I have in my airframe configuration file (shortened a bit):

<!DOCTYPE airframe SYSTEM "airframe.dtd">

<airframe name="Blackbird">

<!-- commands section -->


<servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/>

<servo name="ELEVATOR" no="2" min="1000" neutral="1400" max="1800"/>

<servo name="AILERON" no="3" min="1000" neutral="1450" max="1800"/>



<section name="NAV">

<define name="NAV_PITCH" value="0."/>

<define name="NAV_GLIDE_PITCH_TRIM" value="0"/>


<section name="FAILSAFE" prefix="FAILSAFE_">

<define name="DELAY_WITHOUT_GPS" value="1" unit="s"/>

<define name="DEFAULT_THROTTLE" value="0." unit="%"/>

<define name="DEFAULT_ROLL" value="0.3" unit="rad"/>

<define name="DEFAULT_PITCH" value="0.5" unit="rad"/>

<define name="HOME_RADIUS" value="100" unit="m"/>


<section name="DATALINK" prefix="DATALINK_">

<define name="DEVICE_TYPE" value="PPRZ"/>

<define name="DEVICE_ADDRESS" value="...."/>


<section name="SIMU">

<define name="YAW_RESPONSE_FACTOR" value="0.5"/>



CONFIG = \"tiny_2_1_1.h\"

include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile



ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main_ap.c main.c

ap.srcs += commands.c

ap.CFLAGS += -DACTUATORS=\"servos_4017_hw.h\" -DSERVOS_4017

ap.srcs += $(SRC_ARCH)/servos_4017_hw.c actuators.c


ap.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c



ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c pprz_transport.c


ap.srcs += inter_mcu.c


ap.srcs += $(SRC_ARCH)/adc_hw.c




ap.srcs += gps_ubx.c gps.c latlong.c


ap.srcs += infrared.c estimator.c


ap.srcs += nav.c fw_h_ctl.c fw_v_ctl.c

# Config for SITL simulation

include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile


sim.srcs += nav_line.c nav_survey_rectangle.c



Basically, I've tried to modify funjet1.xml to work with my airframe (2 servos and an ESC).  I've tried using the plain MJ5 A/C but it isn't working either.  I'm at a loss.
Second, and this may be easier when the modems are working, but I'm using a HiTec Laser 6 with a 3-position switch on the AUX channel (where the flaps knob was connected before I desoldered it).  How do I get the pulse count for each switch position to do the setup for my radio? 
Any help is greatly appreciated.
Alston Pike
BSME 2009
The University of Alabama
(706) 594-2812

Paparazzi-devel mailing list

reply via email to

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