Go to Post Competing at multiple regionals or Championship events has no bearing on the life lessons you will learn or the unbelievable memories you will have--for that is what FIRST is truly all about. - Alivia [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-03-2012, 10:33
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
SmartDashboard not streaming from M206

Hi CD,

We have been struggling with the camera stream to SmartDashboard.

General info about our setup:
  • In all situations the camera is an Axis M206, reset and configured through the FRC Camera setup application.
  • In all situations where I believed the camera should have been working, I could ping the camera, access the settings at 10.16.75.11 in a browser, and anonymous viewing was enabled.
  • In all situations we are using a cRIO-FRCII with the camera running through our DAP-1522 bridge.
  • In all situations we are attempting to stream through a Camera widget on the SmartDashboard pointing at 10.16.75.11

We had it working at Pittsburgh but ditched it because it was lagging the DS (assuming now that it was due to FPS being 30). I'll run through everything I can remember we've done to it.
  • We streamed at the default resolution at the default compression and FPS for one or two matches.
  • The next match the camera lagged the entire driver station. We also had a mixup at this point where we hooked up the driver station in the wrong station and had to switch, but we don't think this affected anything.
  • We experimented in the pit with resolution and compression. Even at lowest resolution and 100% compression we were lagging the DS (dropped packets, high latency). Didn't think to alter the FPS. After this we ditched the camera streaming for the rest of the competition.

We ended up crashing onto our camera in the quarterfinals. We nabbed another M206 from a friendly team in Milwaukee because our old camera doesn't seem to reset itself correctly. Anyway, the new one was reset and set up the same exact way as the old one. However, now I cannot get a stream with default settings or lower.

TL;DR:
  • Camera imaged correctly and accessible through ping and browser
  • Anonymous viewing turned on for SmartDashboard
  • Using cRIO-FRCII and camera connected through bridge
  • Camera not streaming to SmartDashboard Camera widget configured to read from 10.16.75.11

EDIT: Upon turning everything on this morning, it miraculously decided to work again... sigh. I did try restarting everything on Thursday but I guess it working again is a good thing.

EDIT 2: After changing the FPS settings and power cycling, the stream is not going to the SmartDashboard again although we can go to it in a browser and ping it. It also worked one time yesterday before failing. Back to square 1! We're checking to see if it works at least once more with a full shutdown and reset of everything again.

EDIT 3: We've determined that the cause of not working is changing the FPS setting of the M206. If the setting is anything except "Unlimited" or 30 (from the range of 10 to 30) the stream refuses to go through to the SmartDashboard. Does anyone have any ideas on how to lower the FPS while still being able to stream to SmartDashboard?

Last edited by BigJ : 17-03-2012 at 11:46. Reason: Works now...
Reply With Quote
 


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 20:54.

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