View Single Post
  #2   Spotlight this post!  
Unread 30-03-2016, 07:40
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: NT Freezing When Camera Is Unplugged

Quote:
Originally Posted by dubiousSwain View Post
At competitions, when our camera is unplugged (and sometimes when its plugged in), we get an error on the driverstation that says something along the lines of "Camera not found at the specified ip address". We've noticed a direct correlation between this and a ~6-10 second slowdown of the dashboard refreshing, which we believe can be attributed to network tables. Has anyone else had this problem or can anyone help us fix it? It makes our dashboard basically useless which causes significant problems for our drivers. Thank you.
We experienced the same behavior when the SD card popped out of our Raspberry Pi and failed to boot. Network Table variables and the whole Dashboard GUI become extremely slow to respond.

I have not been able to determine the root cause of this behavior, as the camera read is in it's own loop, and when it's not connected, it does not peg out the CPU utilization or anything weird like I would expect.

I know Joe Ross experienced this issue as well, as I asked him about the issue when I believed it was the mjpg-streamer read that he provided that was causing the issue. I have determined that his team's code was not at fault, but I don't know what is.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 30-03-2016 at 07:44.
Reply With Quote