Mavproxy version in Windows

I’m trying to update Mavproxy in Windows 10. The latest version on the firmware website is 1.8.69, however Github shows 1.8.70. Is there a way to get the latest loader for windows?

https://firmware.ardupilot.org/Tools/MAVProxy/

I’ve updated it to include 1.8.70 - thanks for the report.

2 Likes

Thanks! Just did the update.

@stephendade I’ve noticed the MavExplorer graphs on my windows install does not display X,Y data when I mouse over the graphs. The Mac and Linux installs do this. Is there a way to get X,Y graph data on the windows version?

1 Like

Appears to be a bug … I’ll look into it.

2 Likes

Fixed in this PR: Modules: grapher layout and file export fixed for Windows by stephendade · Pull Request #1432 · ArduPilot/MAVProxy · GitHub

Download from here and see if it works for you: https://github.com/ArduPilot/MAVProxy/actions/runs/10197077615/artifacts/1764341218

There’s an error when I try to run a graph. The graph isn’t displayed at all.

Traceback (most recent call last):
  File "multiprocessing\process.py", line 314, in _bootstrap
  File "multiprocessing\process.py", line 108, in run
  File "MAVProxy\modules\lib\grapher.py", line 665, in show
  File "MAVProxy\modules\lib\grapher.py", line 273, in plotit
  File "matplotlib\pyplot.py", line 1027, in figure
  File "matplotlib\pyplot.py", line 549, in new_figure_manager
  File "matplotlib\pyplot.py", line 526, in _warn_if_gui_out_of_main_thread
  File "matplotlib\pyplot.py", line 358, in _get_backend_mod
  File "matplotlib\pyplot.py", line 415, in switch_backend
  File "matplotlib\backends\registry.py", line 323, in load_backend_module
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "matplotlib\backends\backend_tkagg.py", line 1, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "matplotlib\backends\_backend_tk.py", line 9, in <module>
ModuleNotFoundError: No module named 'tkinter'

Ok, I’ve now fixed that issue. Try this: Modules: grapher layout and file export fixed for Windows · ArduPilot/MAVProxy@c3db4e5 · GitHub

1 Like

That seems to work! Thank you!

1 Like

New problem. Just tried to run Magfit with no luck.

Traceback (most recent call last):
  File "MAVProxy\modules\lib\magfit.py", line 742, in OnButton
  File "MAVProxy\modules\lib\magfit.py", line 747, in run
  File "MAVProxy\modules\lib\magfit.py", line 392, in magfit
  File "MAVProxy\modules\lib\magfit.py", line 156, in fit_WWW
  File "scipy\__init__.py", line 147, in __getattr__
  File "importlib\__init__.py", line 126, in import_module
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\optimize\__init__.py", line 414, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\optimize\_optimize.py", line 35, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\linalg\__init__.py", line 205, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\linalg\_basic.py", line 13, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\linalg\_decomp.py", line 24, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\_lib\_util.py", line 18, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\_lib\_array_api.py", line 21, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "scipy\_lib\array_api_compat\numpy\__init__.py", line 18, in <module>
ModuleNotFoundError: No module named 'scipy._lib.array_api_compat.numpy.fft'

Edit: I’ve also noticed that when I look at Trad-heli logs the parameters don’t have any of the value text. Not sure I’m explaining that correctly. So heres an example from a quad:

WP_YAW_BEHAVIOR  1.000000 # Face next waypoint
WVANE_ENABLE     0.000000 # Disabled
ZIGZ_AUTO_ENABLE 0.000000 # Disabled

And here’s a helicopter:

WP_YAW_BEHAVIOR  3.000000
WVANE_ENABLE     0.000000
ZIGZ_AUTO_ENABLE 0.000000

Thanks.

@stephendade I just updated Mavproxy to 1.87.1 In windows 10.

  • Graphs don’t have the X,Y data any more.
  • Magfit still deosn’t work.

If I’m overlooking something here’s the Mavhelp info

MAVProxy Version 1.8.71
OS: Windows10
Python 3.10.11
WXPython 4.2.1

Thanks.

  • Graphs don’t have the X,Y data any more.

That PR didn’t end up getting merged in … I’ll follow it up

1 Like