MAVProxy cant load any modules

Hello,

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.

Thanks in advance

I am having the same problem. Trying to load module dgps but says cannot find the module. Looking for an answer… Thanks guys!

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.

Again, please paste some output.

How did you install MAVProxy?

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.

Auto-detected serial ports are:
/dev/ttyS31
/dev/ttyS30
/dev/ttyS29
/dev/ttyS28
/dev/ttyS27
/dev/ttyS26
/dev/ttyS25
/dev/ttyS24
/dev/ttyS23
/dev/ttyS22
/dev/ttyS21
/dev/ttyS20
/dev/ttyS19
/dev/ttyS18
/dev/ttyS17
/dev/ttyS16
/dev/ttyS15
/dev/ttyS14
/dev/ttyS13
/dev/ttyS12
/dev/ttyS11
/dev/ttyS10
/dev/ttyS9
/dev/ttyS8
/dev/ttyS7
/dev/ttyS6
/dev/ttyS5
/dev/ttyS4
/dev/ttyS3
/dev/ttyS2
/dev/ttyS1
/dev/ttyS0
Connect 0.0.0.0:14550 source_system=255
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from 0.0.0.0:14550
MAV> module load dgps
MAV>

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;

$ sudo -H pip install mavproxy

Installing components individually does not help.

Thanks for your help.

  MANUAL> module load dgps

Try:

module load DGPS

Woah thanks!

It seems really silly though that these module names are capital sensitive.

Thanks again for your help.