Remote debuging over WIFI

Discussion related to "under the hood" OpenMV topics.
Reuben
Posts: 10
Joined: Wed Jan 08, 2020 1:58 am

Remote debuging over WIFI

Postby Reuben » Tue May 05, 2020 5:30 pm

Hi,
I'm working on the car robot, is there a way to connect robot to the IDE over Wifi (using the Wifi Shield) ?
- Download and run new code remotely (download it for IDE)
- Receive the output from the serial port
- if possible view the video feed from the camera
Reuben
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: Remote debuging over WIFI

Postby kwagyeman » Tue May 05, 2020 6:44 pm

Hi, this originally was a planned to be implemented but WiFi speed was so bad at 230kb/s that we didn't do it. However, in the latest firmware release I figured out why that was the case and wifi speed is now 15Mb/s (previous firmware waited on a ACK per TCP packet which is about a 30 ms round-trip time per 1400 bytes). The IDE already has all the hooks in it to make this work, so, I just need to update the OpenMV Cam firmware to get this feature operational again.

So, it's coming soon. In the mean-time. The interface library we just released (blog post coming soon) can stream wifi video.

The interface library firmware update will be ready by the weekend and will be installed into OpenMV IDE.
Nyamekye,
Reuben
Posts: 10
Joined: Wed Jan 08, 2020 1:58 am

Re: Remote debuging over WIFI

Postby Reuben » Wed May 06, 2020 2:12 am

Great!!

Do you also plan to release remote serial & code download/execution ?

We will wait patiently

Reuben
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: Remote debuging over WIFI

Postby kwagyeman » Wed May 06, 2020 12:08 pm

Yes, wifi debugging is the whole USB connected experience but over wifi (minus drive access).

I have other priorities to work on before re-enabling this feature.
Nyamekye,
askpatrickw
Posts: 4
Joined: Wed Oct 23, 2019 12:30 pm

Re: Remote debuging over WIFI

Postby askpatrickw » Fri May 08, 2020 2:04 pm

Should you be able to connect and run a script from the IDE connecting over WiFi?
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: Remote debuging over WIFI

Postby kwagyeman » Fri May 08, 2020 2:18 pm

As mentioned previously we will get this feature working on a future release. All the infrastructure in the IDE was built last year but the performance was not good enough. It now is.
Nyamekye,
askpatrickw
Posts: 4
Joined: Wed Oct 23, 2019 12:30 pm

Re: Remote debuging over WIFI

Postby askpatrickw » Fri May 08, 2020 2:46 pm

OK, I just wasn't sure if "debugging" included all IDE over wifi functionality. I spent a few hours trying to figure out why this wasn't working for me since I didn't find anything in Github. I opened this issue so we can follow along for when it is completed.

https://github.com/openmv/openmv-ide/issues/77

Thanks!

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 17 guests