Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Can you view the webcam from the TCP connection? (http://www.chiefdelphi.com/forums/showthread.php?t=141289)

virtuald 13-01-2016 09:41

Re: Can you view the webcam from the TCP connection?
 
Quote:

Originally Posted by Fauge7 (Post 1522491)
I was thinking about this, as i have used it with octoprint and its pretty cool, my only question is how would we go about installing it with the rio?

to answer my own question, download the tar.gz from the Sourceforge and compile it

And for what others did, http://www.chiefdelphi.com/forums/sh...d.php?t=135737

I'm planning on making a package for it so it can be easily installed from our opkg repo, maybe tonight. We'll see.

jijiglobe 13-01-2016 10:49

Re: Can you view the webcam from the TCP connection?
 
Just a fair warning from a New York team. Some regionals have extreme bandwidth issues (New York being one of the most extreme examples). One year(I think 2014) a lot of teams did exactly what you described (using a camera to stream to the driver station) and it created huge amounts of field lag. The event staff had to force everyone to turn off their camera streaming. Probably not relevant to most regionals but if you're reading this thread, it's probably a good idea to talk to other teams at your regional to see if this issue has happened before. If so, it's best not to rely on the camera feed.

Sperkowsky 13-01-2016 11:10

Quote:

Originally Posted by jijiglobe (Post 1522703)
Just a fair warning from a New York team. Some regionals have extreme bandwidth issues (New York being one of the most extreme examples). One year(I think 2014) a lot of teams did exactly what you described (using a camera to stream to the driver station) and it created huge amounts of field lag. The event staff had to force everyone to turn off their camera streaming. Probably not relevant to most regionals but if you're reading this thread, it's probably a good idea to talk to other teams at your regional to see if this issue has happened before. If so, it's best not to rely on the camera feed.

I remember this it was rough to say the least.

The Javits center really needs to start being more accommodating they know it's a not for profit holding an extremely expensive event. Last year there were similarly sized halls empty at the time so it's not like it was going to get rented out by someone else.

virtuald 13-01-2016 11:55

Re: Can you view the webcam from the TCP connection?
 
Quote:

Originally Posted by jijiglobe (Post 1522703)
Just a fair warning from a New York team. Some regionals have extreme bandwidth issues (New York being one of the most extreme examples). One year(I think 2014) a lot of teams did exactly what you described (using a camera to stream to the driver station) and it created huge amounts of field lag. The event staff had to force everyone to turn off their camera streaming. Probably not relevant to most regionals but if you're reading this thread, it's probably a good idea to talk to other teams at your regional to see if this issue has happened before. If so, it's best not to rely on the camera feed.

The rules say that you can use 7Mbit/s. If you stream large images at high bitrates, then yes, it will cause field lag, and the FTAA will notice and tell you to fix your camera settings or turn it off. If you stream small images at low bitrates, you'll be fine. See the FMS whitepaper for details.

Last year, we had two 160x120 streams at 10fps, and had no issues reported.

virtuald 14-01-2016 01:53

Re: Can you view the webcam from the TCP connection?
 
I just uploaded an ipk of mjpg-streamer. If you just want to view the image without modifying it, it's pretty straightforward. I'll try to write up some more documentation on it at some point.

Installation: https://github.com/robotpy/roborio-packages

Notes: https://github.com/robotpy/roborio-p.../mjpg-streamer


All times are GMT -5. The time now is 22:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi