I tried the same branch but without success on RPI2:
pi@raspi:~/workspace/librepilot/ground/pyuavtalk/examples $ python example.py /dev/ttyAMA0 o
Opening Port "/dev/ttyAMA0"
Creating UavTalk
Starting ObjectManager
INFO:root:Importing UAVObject definitions from /usr/local/lib/python2.7/dist-packages/openpilot/uavtalk/../uavobjects
Starting UavTalk
Request fast periodic updates for AttitudeState
Install Observer for AttitudeState updates
waiting forever here
eventually had to stop using ^C
^C
Stopping UavTalk
used the default 38400 baud rate.
Ported the python script (pyuavtalk) to my laptop (Windows 10) and result is the same.
python examples\example.py COM3 o
Note: COM3 is the serial port of oplink mini. [ Given sonium has "/dev/ttyAMA0" on RPI2, I suppose I should use the normal serial port COM3?]
By moving the Oplink mini (micro-usb connector) to my laptop, Librepilot GCS on windows 10 instantly establishes telemetry link. However I notice that Librepilot GCS uses port "USB oplinkmini" instead of "COM3" for communicating with oplink on the drone. If I change it to "COM3", I cannot get telemetry link. Does this mean there is another layer (driver?) in the Librepilot GCS which drives the COM3 port? Can anyone please explain the logic behind?
Thanks
Richard