Go to Post If your goal is to win matches... Pick the most capable candidate. If your goal is to change lives... Sometimes you pick those that need the most change. - IKE [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2016, 13:18
Pike3543's Avatar
Pike3543 Pike3543 is offline
Coder
AKA: Connor
FRC #3543 (C4 Robotics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Arnprior, ON
Posts: 9
Pike3543 is an unknown quantity at this point
Camera Causing rio to reset

When we connect to the rio wirelessly we are able to control the robot but it only works for a few seconds before it re sets itself. So the connection light on the drive station flashes on then off and then connects automatically afterwards. It stays disconnected for 1 or 2 seconds. I have determend that the problem has something to do with the camera. Because when I upload the simple vision code it works fine but when i put it into our main robot code it doesn't work. Also the camera's blue light turns on but in the main code or when I upload a code without any camera code in it, the blue light turns off. I tried taking the camera out of both the code and the rio but that did not fix the problem ethier. I may be mistaken and it aint the camera, so if anyone has any suggestions please let me know. (We code in c++)

Last edited by Pike3543 : 20-01-2016 at 13:22.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2016, 13:23
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: Camera Causing rio to reset

The blue light turns on when the camera is active. When it's not in use, the light should be off.

As to the reset issue, i'd watch the power LED during operation to see what the RIO itself is doing. If it's actually resetting, I'd check the wiring (power & ethernet) before blaiming the camera.
__________________
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
  #3   Spotlight this post!  
Unread 20-01-2016, 13:40
Pike3543's Avatar
Pike3543 Pike3543 is offline
Coder
AKA: Connor
FRC #3543 (C4 Robotics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Arnprior, ON
Posts: 9
Pike3543 is an unknown quantity at this point
Re: Camera Causing rio to reset

The Rio aint losing power just the rsl light goes from fleshing to solid to flashing, so it goes from enabled to disabled to enabled. As for the wiring i double checked that everything was in and working properly. And the Ethernet is in properly
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2016, 14:18
Pike3543's Avatar
Pike3543 Pike3543 is offline
Coder
AKA: Connor
FRC #3543 (C4 Robotics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Arnprior, ON
Posts: 9
Pike3543 is an unknown quantity at this point
Re: Camera Causing rio to reset

Quote:
Originally Posted by adciv View Post
The blue light turns on when the camera is active. When it's not in use, the light should be off.

As to the reset issue, i'd watch the power LED during operation to see what the RIO itself is doing. If it's actually resetting, I'd check the wiring (power & ethernet) before blaiming the camera.

If it helps here is the error message from the drive station console


Warning 44004 FRC: The Driver Station has lost communication with the robot. Driver Station
Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-GOOD, cRIO(.2)-GOOD, FMS-bad FRC: Driver Station ping status has changed. Driver Station
Warning 44004 FRC: The Driver Station has lost communication with the robot. Driver Station
Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad FRC: Driver Station ping status has changed. Driver Station
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2016, 14:53
c0d3rman's Avatar
c0d3rman c0d3rman is offline
Programming Captain
AKA: Yoni Lerner
FRC #4904 (Bot Provoking)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: US
Posts: 8
c0d3rman is an unknown quantity at this point
Re: Camera Causing rio to reset

Quote:
Originally Posted by Pike3543 View Post
The Rio aint losing power just the rsl light goes from fleshing to solid to flashing, so it goes from enabled to disabled to enabled. As for the wiring i double checked that everything was in and working properly. And the Ethernet is in properly
Take a look at the red text here: http://wpilib.screenstepslive.com/s/...1-new-for-2016
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 03:44.

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