Sir,
I am using Ubuntu 16.04 OS in my topside computer. The topside computer has an IP address 192.168.2.1. I have installed python2 and mavproxy in this computer. It is connected using ethernet to a raspberry pi whose IP is 192.168.2.2. The raspberry pi has been connected to pixhawk and latest ardusub software has been installed in it. As given in pymavlink page in ardusub, I followed the same code to “Run pyMavlink on the surface computer”. I wrote the code in some text editor, saved it as ‘file.py’ and tried to execute this file in the python shell. I didn’t get any output. Actually when I run the file, actually the vehicle information should come below the line . I have also checked by writing each line of the code individually in the python shell. Still I didn’t get any information from the vehicle(pixhawk).The raspberry pi and pixhawk both were powered on. Am I following the correct steps? My doubt is whether, is this the exact way to send or receive mavlink messages using python? Please reply.
Thanking you,
Regards,
DEEPAK