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.

IWR1642BOOST: lost sync/found sync and not counting clouds of points

Part Number: IWR1642BOOST

I run the people counting demo for some days in order to experiment the accuracy. I commented the lines that create and save the fHist matrix because it would just be an overload the memory.

But after working almost fine in the first couple of days (except for a ghost detected almost constantly where a TV screen is, any idea why?) it has now started to print "Lost sync at frame xxx Reason: S contains NaN ... Found sync at fram xxx" many times per second and I don't know why. I wondered if it was a computational problem but the CPU and RAM of the machine are only 50% busy.

The real problem is that now the cloud point plot shows a number of points moving, but no inference on groups of points are made and the people count keeps counting 0 people when there is more than one.

Any suggestion?

Thank you!

  • Hi Chiara,

    Thank you for your patience. The People Counting GUI has not been built to run over long periods of time - it is purely for demonstration purposes.

    To debug the issue, can you capture the raw binary data coming out of the device? We need to determine if the device is actually sending incorrect data, or if the GUI is parsing the data incorrectly.

    Once you have captured the raw data, please see this user's guide to parse the data and determine if the demo is returning NaNs.

    Regards,
    Justin

  • Hi Justin,

    Thank you for your reply.

    I admit I am not an expert so I am trying for the first time to read from the UART with python serial library, but no success until now. Do you have any suggestion on how I should capture the raw binary data coming from the device?

    Regards,

    Chiara

  • Hi Chiara,

    You can use a utility like Tera Term to capture the data and save it to a file. Then you can attempt to run your parser on the saved data to debug it.

    Regards,
    Justin
  • Hi Justin,

    Meanwhile, I tried unplugging and plugging back the device from power and USB, and that solved the issue.

    For now I will close the thread, I will also try saving and parsing data to prevent this kind of problems from happening again.

    Regards,
    Chiara