|
From: | David Conger |
Subject: | Re: [Paparazzi-devel] Problem with FTDI ground station |
Date: | Mon, 18 Aug 2014 11:54:49 -0700 |
Hi,After few weeks of different trials, I do not succeed in making the serial link works. In CGS, the screen is always writing « waiting for telemetry ».Neither with the Xbee modems nor with direct link between the AP and the FTDI board.If someone could make me understand what I did wrong, thanks in advance...In direct link between AP (Lisa M 2.0) and FTDI board (PPZUAV)- The connections (Rx to Tx, Tx to Rx, ground to ground ; AP powered with 5V ; FTDI board connected by USB to the computer), it seems to me connections are OK according to wiki and FTDI board schematic :
- I do not know if there must be specific files to load ?For now, I use Bixler_lisa_m_2.xml ; basic.xml for navigation ; fixed wing_basic.xml ; ctl_basic.xml ; ins_neutral.xml ; cockpitMM.xml ; and I have tried different xml files for the telemetry (default_fixedwing_imu.xml , xbee868.xml ).For the session, I use address@hidden (and tried other rates).- In the console, it runs the following without error :RUN '/home/nicolas/paparazzi/sw/ground_segment/tmtc/link -d /dev/ttyUSB0 -transport xbee -s 57600'RUN '/home/nicolas/paparazzi/sw/ground_segment/tmtc/server 'RUN '/home/nicolas/paparazzi/sw/ground_segment/cockpit/gcs 'and GCS is opening, but everything blank, with « waiting for telemetry ».My GPS is connected, but indoor so probably no signal, but I imagine that all the IMU signals should be transmitted, no ?Thanks in advanceBest regardsNicolasLe 27 juil. 2014 à 17:37, Nicolas Quendez <address@hidden> a écrit :_______________________________________________Thanks Gautier,Indeed, I missed the Udev rules copy to the good place, I will be more attentive next time !So, for now, no more « failure » when I launch GCS. But still the black screen with « waiting for telemetry ».In XCTU (windows), from ground station modem, it detects the remote autopilot modem (when Lisa M powered), and I can see that the autopilot sends continuously some packets to the ground station modem. So informations probably go from the AP to the ground station modem well. But I suspect my Paparazzi configuration still not good because it seems it cannot read the informations and show them in GCS…I continue my exploration, any advices welcome !Thanks for the supportBest regardsNicolasLe 25 juil. 2014 à 18:14, Gautier Hattenberger <address@hidden> a écrit :Hi,_______________________________________________
Did you check this pages ? :
http://wiki.paparazziuav.org/wiki/Installation/Linux#Udev_rules
http://wiki.paparazziuav.org/wiki/Installation/Linux#No_access_rights_for_USB_devices
Gautier
Le 24/07/2014 14:52, Nicolas Quendez a écrit :
Hi everybody,
I just begin to manipulate Paparazzi hardware and software.
For now :- I succeed in working with flight plan simulation- I succeed in uploading software into my Lisa M AP- I succeed into programming my Xbee modules with XCTU (windows) with the PPZUAV FDTI utility board.
BUT :when I plug the FTDI board with xbee module (coordinator) by USB on my ubuntu computer, I have the following error when starting a session :Failure("Error opening modem serial device : fd < 0 (/dev/ttyUSB0) ») :
RUN '/home/nicolas/paparazzi/sw/ground_segment/tmtc/link -d /dev/ttyUSB0 -transport xbee -s 57600'Failure("Error opening modem serial device : fd < 0 (/dev/ttyUSB0)")Broadcasting on network 127.255.255.255, port 2010Read Socket : Connection reset by peerFAILED '/home/nicolas/paparazzi/sw/ground_segment/tmtc/link' with code 1
I have checked with dmesg that /dev/ttyUSB0 seems to be the good place for the board.I have added the current user to the modems group as explained in the FAQ (http://wiki.paparazziuav.org/wiki/FAQ).I made the xbee module set as coordinator, with baud rate set to 57000My Xbee is a 868 LP 80 K modem.
On the PPZUAV FTDI board the red led is ON.The green led is ON (but not flashing).
Have you any idea of my mistake, or configuration that I did not do ? Are there some drivers to install for the FTDI board, or a configuration to put into the xml files ?
Thanks in advanceBest regardsNicolas
Hardware :<Pièce jointe.jpeg>
XCTU configuration :
<Pièce jointe.gif>
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |