I am trying to run MAVProxy on Xubuntu 16.04.
My flightcontroller is a Pixhawk2 running PX4.
When not connected, I can run mavproxy.py, but when I input anything the command line acts like I pressed return. Is this expected behaviour?
The real issue I have however is that I cannot load any modules, I just get an error when I run mavproxy.py and command module load whatever: cannot find module. I have tried adding /usr/local/lib/python2.7/dist-packages/MAVProxy/modules/ to PYTHONPATH via .bashrc but no luck.
Anyone know anything I can try because I cant find any solution on the internet.
I am trying to run MAVProxy on Xubuntu 16.04.
My flightcontroller is a Pixhawk2 running PX4.
When not connected, I can run mavproxy.py, but when I input anything the
command line acts like I pressed return. Is this expected behaviour?
Can you paste the output of such a session, please?
The real issue I have however is that I cannot load any modules, I just get
an error when I run mavproxy.py and command module load whatever: cannot
find module. I have tried adding
/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/ to PYTHONPATH via
.bashrc but no luck.
Anyone know anything I can try because I cant find any solution on the
internet.
This is the output I get when I run MAVProxy without anything connected. The output of this doesnt really matter to me, it just strikes me that I get no feedback whatsoever.
This is what happens when the pixhawk is connect through USB. With telemetry the same happens although with more noise.
Auto-detected serial ports are:
/dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00
Connecting to /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00
Connect /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00 source_system=255
Log Directory:
Telemetry log: mav.tlog
MAV> Waiting for heartbeat from /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00
k
rGc:'7 h>B>:AQ7Ay:FD;'7hp$>d>a9Afence breach
9Al|“He%;Nhp>\9]=^-=online system 1
MANUAL> Mode MANUAL
8O_HASH_CHECK B3K_:3W >”>`:AqPWM_AUX_REV3Ab@aM)@S;T;.pc>s5>c8p=A3OkM?&<;"+dq
9zAaReceived 738 parameters
Saved 738 parameters to mav.parm
&dW >&>8Aset shownoise false
MANUAL> module load dgps
MANUAL> Failed to load module: No module named dgps. Use ‘set moddebug 3’ in the MAVProxy console to enable > traceback
set moddebug 3
MANUAL> module load dgps
MANUAL> Traceback (most recent call last):
File “/home/me/.local/lib/python2.7/site-packages/MAVProxy-1.6.1-py2.7.egg/EGG-INFO/scripts/mavproxy.py”, line 279, in load_module
File “/home/me/.local/lib/python2.7/site-packages/MAVProxy-1.6.1-py2.7.egg/EGG-INFO/scripts/mavproxy.py”, line 409, in import_package
ImportError: No module named mavproxy_dgps
Traceback (most recent call last):
File “/home/me/.local/lib/python2.7/site-packages/MAVProxy-1.6.1-py2.7.egg/EGG-INFO/scripts/mavproxy.py”, line 279, in load_module
File “/home/me/.local/lib/python2.7/site-packages/MAVProxy-1.6.1-py2.7.egg/EGG-INFO/scripts/mavproxy.py”, line 409, in import_package
ImportError: No module named dgps
Failed to load module: No module named dgps. Use ‘set moddebug 3’ in the MAVProxy console to enable traceback
Sorry I could not post this in my first post.
I installed mavproxy in three ways, by pip, by .tar.gz and by building it myself. All three give the same output.
This is what I did for pip;