Go to Post Hey, SHIFT HAPPENS.... - David Kelly [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 30-01-2015, 20:20
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
RoboRIO suddenly doesn't work?

Hi! We just hit a major bump in the road. Our roboRIO that was programmed in Python(RobotPy), suddenly does not drive. Our Jaguars hold a solid yellow light which means that it should work. When we try to use any of our joysticks, the lights don't change color. Using the same code before, the robot worked and there was no problems. Any help or ideas will be greatly appreciated!!! Code if it matters: http://pastebin.com/i7cW3eXD.
  #2   Spotlight this post!  
Unread 30-01-2015, 21:55
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: RoboRIO suddenly doesn't work?

Presumably you've rebooted, etc. Does it switch into teleoperated/autonomous/etc mode? Does it show no code? More details?
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #3   Spotlight this post!  
Unread 30-01-2015, 22:02
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: RoboRIO suddenly doesn't work?

Quote:
Originally Posted by virtuald View Post
Presumably you've rebooted, etc. Does it switch into teleoperated/autonomous/etc mode? Does it show no code? More details?
Yes we rebooted, so it switches to teleop mode and it does detect my code. I enable the robot, but the speed controllers don't change color when I press buttons and joysticks. Thanks!
  #4   Spotlight this post!  
Unread 30-01-2015, 22:56
x86_4819's Avatar
x86_4819 x86_4819 is offline
computer-whisperer
AKA: Christian Balcom
FRC #4819 (Flat Mountain Mechanics)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2013
Location: Shepherd MI
Posts: 92
x86_4819 is on a distinguished road
Re: RoboRIO suddenly doesn't work?

Make sure that your joysticks are configured correctly in the driver station. I have found that the stick order can get easily shuffled around when plugging and unplugging joysticks.
__________________




My Github Repositories
  #5   Spotlight this post!  
Unread 03-02-2015, 01:27
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: RoboRIO suddenly doesn't work?

also make sure to check the output on the riolog, code can crash causing it to not run and not operate.
  #6   Spotlight this post!  
Unread 03-02-2015, 18:06
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: RoboRIO suddenly doesn't work?

Just for those who are wondering, we got our roboRIO to work! All we did was hit the reset button on the roboRIO a couple times and redeployed. Thanks for all the help!!
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 21:19.

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