Go to Post I would be thankful to just participate in champs, I would be happy with just that. - Brandon_L [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 03-02-2014, 14:27
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Intermittent cRIO connection

We've been having some problems connecting to the cRIO. On the driver station it goes back and forth from red to green. I've confirmed that the computer can connect to the robot correctly, so I know it's a problem with connection to the cRIO.

Any ideas?
  #2   Spotlight this post!  
Unread 03-02-2014, 14:45
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Intermittent cRIO connection

Are you talking about the Communication light on the Driver station?

Is your code currently executing on the cRIO?

Are you Ethernet wired or wireless?

When you say that your computer can connect directly to the robot, is that wired?
Who is the "robot" in this context - the radio or the cRIO?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 03-02-2014, 14:52
steinra's Avatar
steinra steinra is offline
(KG7KEO)
AKA: Randy Steiner
FRC #5461 (V.E.R.N.)
Team Role: Coach
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Meridian, Idaho
Posts: 56
steinra is on a distinguished road
Re: Intermittent cRIO connection

Going back and forth on green to red for which item? Communications or robot code, or both?

Have you tried running a continuous ping in a command window to see if you are dropping pings the same time the green to red occurs?

(windows)
ping -n 1000 10.xx.yy.2

or
ping -t 10.xx.yy.2


Randy
__________________
Randy Steiner
2014-2015 FIRST Team 5461 - Coach
2011-2014 FIRST Team 4106 - Head Mentor
2007-2011 FIRST Team 1891 - Mentor
  #4   Spotlight this post!  
Unread 03-02-2014, 15:37
cgranata cgranata is offline
Team Captain
FRC #1396 (Pyrobots)
Team Role: Electrical
 
Join Date: Oct 2012
Rookie Year: 2010
Location: Staten Island, NY
Posts: 39
cgranata is an unknown quantity at this point
Re: Intermittent cRIO connection

Did you guys confirm it isn't anything electrical. A few years back we kept losing connection to the cRio and it turned out to be the wire connection to the cRio was very loose.
  #5   Spotlight this post!  
Unread 03-02-2014, 18:10
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Intermittent cRIO connection

We have confirmed the problem: the driver station is connecting to the simulated robot. We've told LabView to deploy to the robot (it's set to the cRio in the bottom left corner), but still nothing.
  #6   Spotlight this post!  
Unread 03-02-2014, 20:06
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: Intermittent cRIO connection

Quote:
Originally Posted by E Dawg View Post
We have confirmed the problem: the driver station is connecting to the simulated robot. We've told LabView to deploy to the robot (it's set to the cRio in the bottom left corner), but still nothing.
Can you go into a little more detail on this? Do you actually have a simulated robot running? How are you telling LabVIEW to deploy to the robot? What exactly do you mean when you say "deploy"? What is set to the cRio in the bottom left corner? The bottom left corner of what?
  #7   Spotlight this post!  
Unread 04-02-2014, 08:26
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,756
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: Intermittent cRIO connection

If the DS is connecting to a simulated robot, that means that a computer on your subnet is currently running the simulator. The simulator announces itself to the DS and the DS ignores the robot. The timing of the loop of the simulator announcements is pretty slow, and it will sometimes flicker a bit.

I suspect that your robot code really was downloaded according to the target label in the lower left.. It may even be running. But it is being ignored by the DS.

Greg McKaskle
  #8   Spotlight this post!  
Unread 04-02-2014, 14:02
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Intermittent cRIO connection

Thanks all. It turns out that the simulation was left on and LabView was trying to run the simulation with code deployed on the robot.
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 02:37.

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