Arducopter SITL Map No Longer Displays

I just fired up SITL using:

python3 ~/ardupilot/Tools/autotest/ -v ArduCopter -f quad -L KSFO --console --map --udp --mavproxy-args="--out"

as I always do and the map is no longer displaying. It always has done so in the past. I noticed this message in the output of the terminal:

map module does not support keyword arguments

Is this the cause of the problem? How do I get the map displaying again?

I did a brand new git clone of the ardupilot repository to make sure there was nothing wrong with my source code.

Thank you.

Update your mavproxy version, just in case…

1 Like

Still getting the problem of no map. Here is the update:

arduous@local:~/ardupilot$ pip3 install mavproxy pymavlink --user --upgrade
Requirement already satisfied: mavproxy in /home/arduous/.local/lib/python3.9/site-packages (1.8.45)
Collecting mavproxy
  Downloading MAVProxy-1.8.67-py3-none-any.whl (7.2 MB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7.2 MB 534 kB/s 
Requirement already satisfied: pymavlink in /home/arduous/.local/lib/python3.9/site-packages (2.4.17)
Collecting pymavlink
  Downloading pymavlink-2.4.40-py3-none-any.whl (11.5 MB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 11.5 MB 4.0 MB/s 
Requirement already satisfied: pyserial>=3.0 in /home/arduous/.local/lib/python3.9/site-packages (from mavproxy) (3.5)
Requirement already satisfied: numpy in /home/arduous/.local/lib/python3.9/site-packages (from mavproxy) (1.21.0)
Requirement already satisfied: future in /home/arduous/.local/lib/python3.9/site-packages (from pymavlink) (0.18.2)
Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from pymavlink) (4.6.3)
Installing collected packages: pymavlink, mavproxy
  Attempting uninstall: pymavlink
    Found existing installation: pymavlink 2.4.17
    Uninstalling pymavlink-2.4.17:
      Successfully uninstalled pymavlink-2.4.17
  Attempting uninstall: mavproxy
    Found existing installation: MAVProxy 1.8.45
    Uninstalling MAVProxy-1.8.45:
      Successfully uninstalled MAVProxy-1.8.45
Successfully installed mavproxy-1.8.67 pymavlink-2.4.40

And here is a console snippet:

Connect :5760 source_system=255
Loaded module console
'numpy._DTypeMeta' object is not subscriptable
map module does not support keyword arguments
Log Directory: 
Telemetry log: mav.tlog
Waiting for heartbeat from :5760

I tried searching the source for β€œdoes not support” but there are a lot of places it occurs. :-/

For anyone wondering, the solution was:

pip3 install --upgrade numpy
pip3 install --upgrade pymavlink
pip3 install --upgrade MAVProxy