Go to Post 1) Field reset will want to do mean things to you. They have to remove the tubes. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-02-2016, 00:58
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 274
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
2nd Camera and Rasperry Pi

I see some people using the raspberry pi to process video. I am hoping someone can help me figure out if this is what I need.

I simply want a 2nd camera feed. I installed MJPG on the Roborio and it works great, provided I don't use the camera I want to. With Lifecams I can run the one on the dashboard along side the MJPG stream with no issues. However, when I switch to the 180 camera the other camera won't work. I am thinking it is a driver issue or something along those lines.

Question is, can I just run Mjpg on an raspberry pi and mount the camera on that. If I do that how do I get access to it, not wirelessly obviously.
  #2   Spotlight this post!  
Unread 07-03-2016, 08:20
BrianAtlanta's Avatar
BrianAtlanta BrianAtlanta is offline
Registered User
FRC #1261
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Atlanta, GA
Posts: 70
BrianAtlanta has a spectacular aura aboutBrianAtlanta has a spectacular aura about
Re: 2nd Camera and Rasperry Pi

Do you still need help with this? We have 2 usb cameras working on the Pi.

Brian
  #3   Spotlight this post!  
Unread 07-03-2016, 08:43
RacerX's Avatar
RacerX RacerX is offline
Registered User
FRC #0948 (NRG948)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2013
Location: Bellevue
Posts: 27
RacerX is on a distinguished road
Re: 2nd Camera and Rasperry Pi

Quote:
Originally Posted by BrianAtlanta View Post
Do you still need help with this? We have 2 usb cameras working on the Pi.

Brian
Are you able to view images from both cameras at the same time?
  #4   Spotlight this post!  
Unread 07-03-2016, 09:49
BrianAtlanta's Avatar
BrianAtlanta BrianAtlanta is offline
Registered User
FRC #1261
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Atlanta, GA
Posts: 70
BrianAtlanta has a spectacular aura aboutBrianAtlanta has a spectacular aura about
Re: 2nd Camera and Rasperry Pi

I believe so. I haven't seen it personally, since I'm helping in other programming areas, but that's our requirement for the programming task. We have 2 cameras, one will stream to the driver station for the drivers. A shooter camera will be processed for targeting, and it too will stream to driver station. The shooter stream is so the drivers know where the vision tracking it currently targeting.

We did have one problem to resolve. We are using 2 of the same camera, and one is being processed for targeting. The problem is the device id's, how does the vision software know which is the shooter. We have a script that determines which is driver camera and which is shooter camera, and then spins up vision tracking with the correct id.

Be aware that the although you have a 7mbps on the network, latency <6mbps is about 8-10ms. Once you go over 6mbps, the latency quickly spikes to 70-80ms. Driver station needs about 100mbps. I'm having our developers target 5mbps as a max bandwidth for 2 cameras.

If there is a specific problem you need help with, I can ask our programmers to chime in with help.

Brian
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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