paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Link for XBee API in Session is incorrect


From: David Conger
Subject: [Paparazzi-devel] Link for XBee API in Session is incorrect
Date: Mon, 11 Aug 2014 18:08:02 -0700

Hello,

Just a quick update. While testing XBee API communications in
Paparazzi Center and GCS I used the Session: "Flight
address@hidden" which in Vanilla Paparazzi uses a Data Link
command line of:
"/home/dconger/paparazzi-campaign2013/sw/ground_segment/tmtc/link  -d
/dev/paparazzi/xbee -transport xbee -s 57600"

This was incorrect as the link setup was: /dev/paparazzi/serial not
/dev/paparazzi/xbee for the device.

Here is my Ubuntu 12.04 LTS information:
address@hidden:/dev/paparazzi# ls -lh
total 0
lrwxrwxrwx 1 root root 10 Aug 11 15:59 serial -> ../ttyUSB0

Please note that I fixed it by updating the session command line then
saving the session. I just want to send this email to the developer
list to save others some debugging time or emails to the dev list.

Symptoms:
When launching GCS (Execute), for an airframe that uses XBee with API
enabled, the Data Link will fail to start giving this error:
"Failure("Error opening modem serial device : fd < 0 (/dev/paparazzi/xbee)")
Broadcasting on network 127.255.255.255, port 2010

DONE (exec /home/dconger/paparazzi-campaign2013/sw/ground_segment/tmtc/link
 -d /dev/paparazzi/xbee -transport xbee -s 57600 2>&1)

*** client connect ***: Connection refused "

Fix:
In the Paparazzi Center find the line for Data Link and update the
part for the device and change "xbee" to "serial". Then from the menu
for Paparazzi Center/Session select "save" to save this change. Now
future launches of Paparazzi Center will use "/dev/paparazzi/serial"
for the device and work.

Cheers,

--
address@hidden
http://www.ppzuav.com



reply via email to

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