I just fired up SITL using:
python3 ~/ardupilot/Tools/autotest/sim_vehicle.py -v ArduCopter -f quad -L KSFO --console --map --udp --mavproxy-args="--out 10.0.0.1:14550"
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