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.

IWR6843ISK-ODS: People Counting problems detecting

Part Number: IWR6843ISK-ODS

Hi,

I am currently working with a IWR6843-ODS ES2.

And i have a problem with the People Counting demo.

I managed to open the GUI on my Virtualbox with a Ubuntu_20.04 virtual machine.

I also managed to connect the COM ports to my VMs serial ports and see the connection in the GUI after i changed a few lines in the python gui_main.py file.

But every time i send the sensor configuration most of the time nothing happens.

Sometimes sending the sensor config works but the GUI display doesn't change a bit.

Empty GUI while sensor config is send.

Could you please help me out?

Best regards

Max

  • Hi Max,

    When you connect the device to the computer, do you see the com ports appear in device manager?

    Regards,

    Justin

  • Hi Justin

    I can see the device in my "Device Manager" when i plug it in:

    One strange thing that happened was when i activated the device in my VM:

    Than the device disappeared from my "Device Manager"":

    But i'm not sure if that helps, or if it happens because i activate the USB device and it has nothing to do with the COM port.

    Best regards

    Max 

  • Hi Max,

    Typically, Virtual Box supports USB input, but we haven't tried it at TI.

    From your previous post, I thought that there was another python package on your system that could be interfering with the visualizer, which is why I recommended using a virtual environment in python - this is not a virtual machine, but simply a fresh python environment. You can then install the dependencies to the environment and test the visualizer. See this page: https://docs.python.org/3/library/venv.html Did you get a chance to try this?

    Regards,

    Justin

  • HI Justin,

    I tried to use the GUI in a Python "virtual enviroment" (venv).

    The installation of the dependencies went well, but i had to change a bit of code in pytygraph that gave a "Module Time has no Clock Error".

    And i had to install pyopengl_accelerate because pyopengl gave a "NoneType object is not callable Error". 

    But i got the same python error that i couldn't solve that says "error=1282, invalid operation" and i think it also come from opengl.

    Regards, 

    Max

  • Hi Justin,

    PS: i found that even when the GUI stays empty, the code still runs.

    Every time i walk in front of the sensor the GPIO_2 led starts flashing, when i stand still the led just stays on and when i leave the led goes out.

    PPS: I also tried to lower the Baud rate in both the project code in the mss_main file line 2161 and in the GUI code in oob_parser.py line 644.

    Baud rate from (921600 * 2) to (921600), but the GUI is still empty so i'm not sure if the baud rate is the problem.

    Regards,

    Max

  • Hi Max,

    I do not have pyopengl_accelerate in my environment. Since you are getting errors with pyopengl, can you remove this?

    Regards,

    Justin

  • Hi Justin,

    I tried to run the GUI in Windows and in a python venv without the pyopengl_accelerate.

    But u got the same error with a extra "NonType object" error:

    Regards,

    Max

  • Hi Max,

    Apologies, I did not notice this earlier. You need to use the 64 bit version of python - I use 3.6 64 bit in development. In the linux environment, you are using 64 bit, 3.8.2, and the visualizer works. In windows, you are using 3.8.2 32 bit and the visualizer does not work.

    Regards,

    Justin

  • Hi Justin,

    I deleted my python 3.8.2 32 bit and installed python 3.6 64 bit.

    Then i reinstalled all the dependencies and tried to run the GUI.

    But i got the same error as before, without installing pyopengl_accelerate:

    Its the same "NonType" and 2 "Invalid Operation" errors.

    Regards,

    Max