This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Python Visualizer 3D plot is empty

Part Number: IWR6843AOPEVM

When I run the source code of the python visualizer from the mmwave_industrial_toolbox_4_12_1, I get the right side of the visualizer ok, showing the Connect to Com Ports, Statistics, Configurtion, etc. parts ok.

However, the 3D plot on the right side is invisible, showing my desktop picture behind it. Moreover, I receive the following error message when I try to run gui_main.py:

Error while drawing item <pyqtgraph.opengl.items.GLMeshItem.GLMeshItem object at 0x7f5ada1ced40>.

Any idea what might be causing this? I have previously ran it in Windows successfully but I am now encountering this problem on Ubuntu.

Thank you,

Nicolas

  • Hi Nicolas,

    I see this problem when I run the wrong version of python or libraries are wrong. I am running python 3.7.3 with all the dependencies in requirements.txt installed and it seems to work. What python version are you running?

    Best,

    Nate

  • Hi Nathan, 

    I am using Python 3.10.6. Correct me if I am not wrong but there is no requirements.txt file in the visualizer source code right? I can see instead 2 .bat folders called setUpEnvironment.bat and setUpEnvironmentTI.bat, which I think I have installed using source setUpEnvironment.bat.

    Also, I am doing this on Linux, the problem did not show up when I ran it on Windows. \

    Also, thank you Nathan for all the other replies on all my other question! Greatly appreciate it

  • Hi Nicolas,

    I run windows, and you are correct, it's the setUpEnvironment.bat script you need. Perhaps there is a Windows/Linux dependency here? Are you running the same python version and package versions on both machines? My bet is this is a package version difference from one machine to another.

    Best,

    Nate