[Top][All Lists]

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

AW: [Paparazzi-devel] Xbee

From: address@hidden
Subject: AW: [Paparazzi-devel] Xbee
Date: Tue, 16 Mar 2010 15:02:02 +0000 (GMT)

Hi Jesus,

Check the following;
GCS needs to know in which transport protocol to 'talk'..
In the GCS Session datalink field, I use this line to communicate via Xbee:
/usr/share/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0 -transport 
xbee -s 57600

(Notice the -transport and the -s flags.)

While the line for Serial flight looks like this:
/usr/share/paparazzi/sw/ground_segment/tmtc/link  -d /dev/ttyUSB0

Also make sure you have defined the following in the airframe.xml file (From 
the Wiki

(Altough it could work without the first defined in 'misc', I'm not sure)

File: conf/airframes/funjet1.xml

 <section name="MISC">
    <define name="XBEE_INIT" value="\"ATPL2\rATRN1\rATTT80\r\""/>
<!--    <define name="NO_XBEE_API_INIT" value="TRUE"/> -->

Also use this
File: conf/airframes/funjet1.xml

 <section name="DATALINK" prefix="DATALINK_">
    <define name="DEVICE_TYPE" value="XBEE"/>
    <define name="DEVICE_ADDRESS" value="...."/>

Hope this solves your issue.



----Ursprüngliche Nachricht----
Von: address@hidden
Datum: 15.03.2010 23:35
An: <address@hidden>
Betreff: [Paparazzi-devel] Xbee

  All my compiling problems are solved :) But, now I have a problem with the
modems. I´ve configurated the modem, with 9600bauds, one as the at
coordinator and the other as the at end device. And in the ariframe code I´m
using this:
ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c xbee.c

I´m using xbee pro series2 of 2,4ghz. And when I start the CGS i use flight
usb-serial 9600 what do you think what would be happening?
Paparazzi-devel mailing list

reply via email to

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