Go to Post Even in the eighties, driver practice won competitions. - Brian Maher [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 09-02-2013, 21:10
treeturtle1 treeturtle1 is offline
Registered User
FRC #1780
 
Join Date: Feb 2013
Location: Henderson
Posts: 6
treeturtle1 is an unknown quantity at this point
Robot Not Enabling

Greetings Friends,

We just installed the new cRIO II, and imaged and deployed our code, but when enabling the robot on the Driver Station, the DS says that the robot is enabled, but the Jaguars are still blinking instead of turning solid. The code is C++ on WindRiver and compiles, but I am wondering if this is a cRIO or other aspect of the control system that isn't allowing the Jaguars to be responsive.

If anyone has any thoughts, please let me know! Thank you dearly.

1780
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2013, 21:15
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,748
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: Robot Not Enabling

Does the DS show that the robot has code and is enabled? Is it in teleop? Can you put in some printfs or LCD messages or stay connected to the code in the debugger to determine what your code is doing?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2013, 21:55
treeturtle1 treeturtle1 is offline
Registered User
FRC #1780
 
Join Date: Feb 2013
Location: Henderson
Posts: 6
treeturtle1 is an unknown quantity at this point
Re: Robot Not Enabling

Yes, the DS has communication with robot and code, and successfully enables, but nothing results of it. I got frusterated and tried reimaging the cRIO but the imaging failed and corrupted the image so I am trying to successfully reimage it currently, but from what I remember there didn't seem to be any errors other than a sporatic radio error in teleop. We tried both wireless through the router and then a direct tether to the cRIO but it was the same result.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2013, 22:08
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Quote:
Originally Posted by treeturtle1 View Post
Yes, the DS has communication with robot and code, and successfully enables, but nothing results of it. I got frusterated and tried reimaging the cRIO but the imaging failed and corrupted the image so I am trying to successfully reimage it currently, but from what I remember there didn't seem to be any errors other than a sporatic radio error in teleop. We tried both wireless through the router and then a direct tether to the cRIO but it was the same result.
Make sure that all three lights are on on the digital sidecar
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2013, 12:24
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,748
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: Robot Not Enabling

For some reason, reimaging the cRIO always seems easier than debugging and fixing the issue, but it is rarely the cause of the issue unless SW is out of date. And because of the IP addresses, it actually isn't that easy or foolproof to reimage.

Focus on reimaging the cRIO back to where you had it. You will need to put the computer and cRIO on the same subnet and ensure that other network options such as wireless are disabled and ensure that the wired ethernet doesn't have more than one IP address set.

Then we can resume debugging the original issue.
Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 26-06-2014, 17:58
iKiel2012 iKiel2012 is offline
Registered User
FRC #1073 (The Force Team)
Team Role: Electrical
 
Join Date: Apr 2014
Rookie Year: 2013
Location: New Hampshire
Posts: 5
iKiel2012 is an unknown quantity at this point
Re: Robot Not Enabling

I think this happened to me at comp once. Someone must have pressed the space bar which is the emergency stop, and nothing was happening. We rebooted our cRIO and it worked. It may or may not be something as small as that.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-07-2014, 23:50
Jpatterson1710's Avatar
Jpatterson1710 Jpatterson1710 is offline
Registered User
AKA: Josh Patterson
FRC #1710 (Ravonics Revolution)
Team Role: Alumni
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Olathe, KS
Posts: 98
Jpatterson1710 has a spectacular aura aboutJpatterson1710 has a spectacular aura aboutJpatterson1710 has a spectacular aura about
Re: Robot Not Enabling

Are the modules in the correct slots on the cRIO?
__________________
2012-2014 Mechanical Team FRC 1710
2014-2015 Chief Operations Officer FRC 1710
2016-Present FTAA
Reply With Quote
  #8   Spotlight this post!  
Unread 03-07-2014, 01:11
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
If you try to enable and the DS enables but quickly disables you could also check your periodic tasks or any other loops you have. Running the loops too quickly can cause that.
__________________
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:39.

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