Go to Post Valentine's day, who has time for Valentine's day?????? I have code to write!! - paulcd2000 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 01-15-2015, 03:43 PM
Affinity #5115 Affinity #5115 is offline
Registered User
FRC #5115
 
Join Date: Jan 2014
Location: Silver Spring
Posts: 1
Affinity #5115 is an unknown quantity at this point
"No robot code" Error

We are experiencing an issue when we deploy our code to the robot; the robot code indicator stays red. We have already attempted re-flashing the roboRIO. We also tried deploying the PacGoat example to it, and Driver Station returns an allocation exception. No errors show up when we run our code. We also ran the Tank Drive example, and it worked. Could this be a memory issue with the roboRIO? (We had no problems until adding several new commands) Any ideas are welcome! We are using Java and Eclipse to program the robot.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-15-2015, 04:10 PM
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,069
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: "No robot code" Error

Did you try hitting the reset button on the roboRIO?
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #3   Spotlight this post!  
Unread 01-15-2015, 05:23 PM
orangelight's Avatar
orangelight orangelight is offline
Registered User
AKA: Alex
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Northville
Posts: 165
orangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to behold
Re: "No robot code" Error

We had this happen a couple times. We just redeployed a couple times and the code worked. Now that deploying is much faster its not that much of a hassle.
__________________


Reply With Quote
  #4   Spotlight this post!  
Unread 01-21-2015, 11:57 AM
Oromus's Avatar
Oromus Oromus is offline
Lead Programmer, Community Liason
AKA: Ryan
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Florida
Posts: 80
Oromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to beholdOromus is a splendid one to behold
Re: "No robot code" Error

Could you post the full Exception that you're getting along with any of your code/classes that are related to the issue?
Reply With Quote
  #5   Spotlight this post!  
Unread 01-21-2015, 11:45 PM
MRT45's Avatar
MRT45 MRT45 is offline
Registered User
FRC #0253 (Mills Robotics Team)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: CA
Posts: 14
MRT45 is an unknown quantity at this point
Re: "No robot code" Error

Quote:
Originally Posted by orangelight View Post
We had this happen a couple times. We just redeployed a couple times and the code worked. Now that deploying is much faster its not that much of a hassle.
So basically you kept on deploying the code until it "suddenly" started to work? I am experiencing the same problem here too...


First Year Programmer MRT
Reply With Quote
  #6   Spotlight this post!  
Unread 01-21-2015, 11:48 PM
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: "No robot code" Error

Just one thing I'd recommend, as we too recently had the robot claim to not have robot code whenever we deployed code; do NOT initialize anything outside of RobotInit (in terms of motors and the like). We were not getting exception we were supposed to get until we move initialization code there so that it could actually be sent to our driverstation.
__________________
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 08:57 AM.

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