dropped packet interpolation in GUI v5 ?

javadjavad Tokyo
edited August 2020 in OpenBCI_GUI

Hi
As I can remember in version 4, there was a function to interpolate dropped packets and also a variable to count them. But the problem is that there is no such function in version 5, so was wondering how did you implement the interpolation in the last version?

Regards,
Javad

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Mentioning Richard @retiutut.

  • retiututretiutut Louisiana, USA

    So we have the new packet loss widget, which was just merged! Here is a preview:
    https://github.com/OpenBCI/OpenBCI_GUI/pull/827#issuecomment-675259138

    I've pinged other software team devs, and maybe they can weigh in on the status of interpolation in GUI v5. It may have been removed during the massive data refactor. Might be easy to re-add this feature? Let's see...

  • javadjavad Tokyo
    edited August 2020

    @retiutut said:
    So we have the new packet loss widget, which was just merged! Here is a preview:
    https://github.com/OpenBCI/OpenBCI_GUI/pull/827#issuecomment-675259138

    I've pinged other software team devs, and maybe they can weigh in on the status of interpolation in GUI v5. It may have been removed during the massive data refactor. Might be easy to re-add this feature? Let's see...

    Dear Richard,
    Thanks for your reply.

    I've checked the packet loss widget, it works perfectly. So, the only problem remains is the interpolation. Do you have a plan to re-add this feature soon?

  • edited August 2020

    Hi @javad
    We have no current plans to re-add the interpolation.

    In 4.0 we added interpolation to mask a software issue that was causing regular packet loss in the wifi shield. In 5.0 we fixed this software issue. Now there should be less packet loss to being with.

    Out of principle, we prefer to show the data as it is. Interpolating is modifying the data in ways that are not necessarily correct. The GUI is a visualiser first and formost, so it makes sense for it to show the data as it truly is.

    Instead, we are giving you better tools to detect and quantify packet loss.

    Are you experiencing a lot of packet loss? It would be interesting to hear which device you are using, how much packet loss you are experiencing, and the circumstances that might be causing it.

  • javadjavad Tokyo
    edited August 2020

    Dear @daniellasry,
    Thanks for your prompt reply.

    I am currently struggling with packet loss which happens almost regularly (1 packet loss per 1 or 2 minutes). I am using a cython board with the Bluetooth dongle and they are close to each other (about 50 cm).

  • wjcroftwjcroft Mount Shasta, CA

    Javad, hi.

    re: packet loss, a couple things to try:

    (1) if you have strong wifi sources in the area, and the wifi channel happens to hit the RFduino channel, this can cause interference which blocks the Cyton dongle from receiving. The OpenBCI GUI control panel can change the radio channel.

    (2) sometimes the positioning of the dongle on the laptop port or conductivity of the table it is sitting on (if metal components), can diminish the signal quality. One solution suggested by Richard and myself is to use a usb extension cord to get the dongle closer to the mainboard. Richard likes to loosely hang his dongle over the edge of one of his monitors, so it is somewhat up in the air. Instead of so close to the table or floor.

    (3) you might also experiment with other rooms to see if interference is less there.

    Regards, William

Sign In or Register to comment.