Go to Post FRC is about giving students the best experience possible. - MikeE [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-03-2016, 01:10
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,230
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Stumped on camera feed not available at driver station but only in matches

Now that you mention it, .11 is the right number.

Is the Subnet mask of the camera and driver station set to 255.0.0.0?

I just saw that you could open a web page to the camera, but not a Smart Dashboard image. We had that same problem 2 years ago, and just used the web page image. I'll have to ask our programmers how they fixed the problem this year. I think it had to do with getting the Smart Dashboard parameters right. Did you give Smart Dashboard the fixed IP address, and not let it look for the mDns address?

Last edited by rich2202 : 28-03-2016 at 01:14.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-03-2016, 01:40
AaronS AaronS is offline
Registered User
FRC #0166
 
Join Date: Jan 2013
Location: Merrimack, NH
Posts: 6
AaronS is an unknown quantity at this point
Re: Stumped on camera feed not available at driver station but only in matches

the driver station has a fixed ip also. we can connect to the camera web page but the live image doesnt show on the screen. just an empty box. some matches it does work however.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-03-2016, 06:54
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Stumped on camera feed not available at driver station but only in matches

How is the camera addressed in the dashboard code? Is it assigned the fixed IP address or is it assigned by the network name?

In the 2015 season, we found we had to restart the dashboard before we went to the field or our USB camera would not show. The source of this issue was the dashboard grabbing using the IP address it picked up in the pits (172.22.11.2 or other) and not using DHCP to grab the new IP address on the field (10.X.X.X). You may be having a similar issue.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-03-2016, 08:09
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Stumped on camera feed not available at driver station but only in matches

Quote:
Originally Posted by adciv View Post
In the 2015 season, we found we had to restart the dashboard before we went to the field or our USB camera would not show. The source of this issue was the dashboard grabbing using the IP address it picked up in the pits (172.22.11.2 or other) and not using DHCP to grab the new IP address on the field (10.X.X.X). You may be having a similar issue.
I'll second this.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-03-2016, 10:05
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,752
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: Stumped on camera feed not available at driver station but only in matches

My suspicion is that the code is trying to establish a connection, but the other side isn't ready, so it gives up or doesn't successfully continue trying to establish in the background.

The LV dashboard has a dedicated loop that twice a second checks the connection. If it isn't valid or has an error, it closes anything it has and reopens the session. If the web browser works with the camera, and the SD client doesn't, the issue is with the client.

You may also want to try the default dashboard in its IP mode. Bayou had a team that started with the default DB, established the connection, then closed and opened the SD. That was their self-discovered process for getting it to work on the field.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 07-04-2016, 01:35
PeeDiddy PeeDiddy is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Driver
 
Join Date: Apr 2016
Rookie Year: 2014
Location: Newbury Park, CA
Posts: 8
PeeDiddy is an unknown quantity at this point
Re: Stumped on camera feed not available at driver station but only in matches

I'm not much of a coder, so i don't know half of what the suggested fixes are, but during my team's regionals, the cameras would work when tethered at the pit, but would mysteriously not show up with FMS connected. For whatever reason "RIOsetting" (resetting the rio) just after setting up on the field fixed our problems.

TLDR: RIOset the bot prior to retreating to driver station
Reply With Quote
  #7   Spotlight this post!  
Unread 27-04-2016, 23:30
AaronS AaronS is offline
Registered User
FRC #0166
 
Join Date: Jan 2013
Location: Merrimack, NH
Posts: 6
AaronS is an unknown quantity at this point
Re: Stumped on camera feed not available at driver station but only in matches

We isolated the issue to the specific lap top we were using for driver station and vison processing. There was an issue with the network chip/driver that we could recreate high occurance of dropped packets but in the end couldnt determine the specific issue. Changing to a duplicate laptop resolved the problem.
Reply With Quote
  #8   Spotlight this post!  
Unread 28-03-2016, 07:13
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,230
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Stumped on camera feed not available at driver station but only in matches

Quote:
Originally Posted by AaronS View Post
the driver station has a fixed ip also. we can connect to the camera web page but the live image doesnt show on the screen. just an empty box. some matches it does work however.
So you can access the web page of the camera, but that web page does not show the feed? Hmmm....

I'm guessing it is a setting on the camera. Or, an antivirus or other similar program interfering.

Also, there are specific UDP(?) sockets that the camera is supposed to be using. Make sure it is one of those. If it worked through FMS without any other teams on the field, this may not be the problem, but you might want to check anyway. FMS should block wrong usage regardless, but maybe not.

Last edited by rich2202 : 28-03-2016 at 07:15.
Reply With Quote
  #9   Spotlight this post!  
Unread 28-03-2016, 08:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Stumped on camera feed not available at driver station but only in matches

I have a vague memory from a couple of years ago about Axis cameras and the Java Smart Dashboard. Might you need to enable anonymous access in the camera's web configuration?
Reply With Quote
Reply


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 04:13.

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