Go to Post We do have a good time. Mr. Bill - Bill Beatty [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 19-02-2012, 14:34
Thomas Clark Thomas Clark is offline
Hacker
FRC #0237
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Watertown, CT
Posts: 10
Thomas Clark is infamous around these parts
Camera not connecting to SmartDashboard

When trying to use the camera in a latest build of SmartDashboard (with either a camera widget or a custom one derived from the camera one), a pink box shows up that says something like "Cannot Connect to Camera". However, using the same IP adress that's set for the properties of the dashboard widget, we can see the video in a web browser. The camera has an FRC account/password, and it also allows anonymous viewing. This problem has been happening on and off, and sometimes, but usually not, restarting SmartDashboard makes it start working after a minute or so. Right now, it's doing this all the time.

Has anyone had similar problems? Is there a fix?
  #2   Spotlight this post!  
Unread 19-02-2012, 19:06
thrstein's Avatar
thrstein thrstein is offline
Registered User
AKA: Thor Julsrud
FRC #4105 (ChiefBots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Moses Lake
Posts: 10
thrstein is an unknown quantity at this point
Re: Camera not connecting to SmartDashboard

We have the same problem, without the "happening on and off". It's all the time for us. It works with the web browser and the default dashboard, but all we get is "no connection" in the smartdashboard.
  #3   Spotlight this post!  
Unread 19-02-2012, 20:13
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera not connecting to SmartDashboard

If SmartDashboard camera display doesn't work, log into the camera and see if the anonymous user support is enabled. It is not used by the LV dashboard, but is used for SmartDashboard.

Greg McKaskle
  #4   Spotlight this post!  
Unread 19-02-2012, 21:37
Thomas Clark Thomas Clark is offline
Hacker
FRC #0237
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Watertown, CT
Posts: 10
Thomas Clark is infamous around these parts
Re: Camera not connecting to SmartDashboard

Quote:
Originally Posted by Greg McKaskle View Post
If SmartDashboard camera display doesn't work, log into the camera and see if the anonymous user support is enabled. It is not used by the LV dashboard, but is used for SmartDashboard.

Greg McKaskle
Anonymous viewing was enabled.

I'm not sure what changed, but now the vanilla camera widget is usually working fine, but my custom subclass is not, except for occasional blinking. Removing the contents of processImage (except for the return statement) makes it work the same as the base camera class.

I suppose there could be something in either my code or the OpenCV wrapper that is causing the extension to crash.
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 00:52.

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