Go to Post Team newb: To expect any average group of high schoolers to build and develop a robot in less than six weeks is...madness! Me: Madness? THIS IS FIRST! - MishraArtificer [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 18-02-2011, 22:06
xmendude217 xmendude217 is offline
Registered User
FRC #3851
 
Join Date: Jan 2011
Location: Canoga Park, California 91303
Posts: 7
xmendude217 is an unknown quantity at this point
Code Not Responding At All!

Our java code was operating as of the last couple weeks, however something went wrong and now none of our motors are moving, yet the updated code seems to go to the cRIO. For example, I put outputs on the driverstation screen and those get outputed, yet no motor function, our camera just jerks back and forth. I commented everything save for the motor functionality. Hardware wise nothing is wrong (checked, double-checked). Reset the cRIO with firmware 27, and I am definatley getting code onto the robot. Has anyone else had this problem and fixed it?
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2011, 00:49
KayyPii's Avatar
KayyPii KayyPii is offline
Registered User
FRC #1404 (SHOCKs)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: Toronto
Posts: 45
KayyPii will become famous soon enough
Re: Code Not Responding At All!

Check your joysticks are working. We had a similar issue a few days ago where nothing moved on our robot, but after we unplugged the joystick and plugged them back in, everything worked.
__________________
=>"That hole you drilled is a little off."
=>"Don't panic, just make it bigger and put a washer on it!"

=>Eye ball once, and cut as many times as it takes

Reply With Quote
  #3   Spotlight this post!  
Unread 19-02-2011, 10:20
JosephC's Avatar
JosephC JosephC is offline
FF: Breakfast Company
AKA: Joseph Cupchack
no team (FiM Volunteer Extraordinaire)
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Waterford, Michigan
Posts: 1,752
JosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond repute
Re: Code Not Responding At All!

We also had the same problem a couple days ago. All we did was try driving on a different laptop and that worked fine. If you don't have another laptop you might want to consider checking out the usb ports for any issues (like the little black part falling out).

Then there's that possibilty that you changed something in the code and then forgot you did, maybe making your motors turn in the wrong directions or not at all.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2011, 12:00
Sunshine's Avatar
Sunshine Sunshine is offline
Mr. S
FRC #2062 (C.O.R.E)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Wisconsin
Posts: 482
Sunshine is a splendid one to beholdSunshine is a splendid one to beholdSunshine is a splendid one to beholdSunshine is a splendid one to beholdSunshine is a splendid one to beholdSunshine is a splendid one to beholdSunshine is a splendid one to beholdSunshine is a splendid one to behold
Re: Code Not Responding At All!

Reset the cRIO with firmware 27??????

Unless I am wrong, you are using the firmware with known problems. There is an update using version 28.

We had major problems with ver. 27
__________________
C.O.R.E. Community Of Robotic Engineers
2015 Wisconsin Regional Champs, Safety Award
2015 Midwest Regional Champs, Safety Award, Industrial Controls Award
2014 Midwest Regional Judges Award
2013 Lake Superior Champs
2012 World Championship Safety Award, World Finalist for the Autodesk Award
2011 Wisconsin Regional - Website Award 10,000 Lakes - Innovation in Control, Safety Award
2010 World Championship - Archimedes Semi-Finalists -World Finalist for the Autodesk Award
2010 10,000 Lakes Regional Champs, Entrepreneurship Award; Wisconsin Regional- Entrepreneurship Award, Safety Award
2009 WI Regional- Quality Award, Safety Award 10,000 Lakes - Safety Award, Motorola Quality Award, Animation Award
2008 World Championship Safety Award
2008 Wisconsin Regional Champs, Safety Award
2008 St. Louis Regional Entrepreneurship Award, Safety Award, Website Award
2007 Wisconsin Regional All-Star Rookie Award
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2011, 00:09
bodoggy bodoggy is offline
Registered User
FRC #1635
 
Join Date: Jan 2011
Location: NYC
Posts: 12
bodoggy is an unknown quantity at this point
Re: Code Not Responding At All!

That's odd. We were running just fine with ver27 and wanted to make some code changes, so after installing the latest updates in NetBeans, we received a message that we needed to re-image cRio to v28. After we performed the re-imaging, we uploaded our new code and now nothing works properly. All the relays outputs only turn on the spikes in one direction. And the victor controlling the arm is not getting any signal whatsoever. This all happened at a scrimmage event we were lucky to attend in Bridgewater, NJ. Some top Java minds there where unable to help. So we left the scrimmage after 6 hours without getting our robot off the blocks! Wish we could go back to v27! What gives?
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2011, 00:36
ArchVince's Avatar
ArchVince ArchVince is offline
Registered User
FRC #1290 (Si Se Puede)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Chandler High School
Posts: 26
ArchVince will become famous soon enough
Re: Code Not Responding At All!

Quote:
Originally Posted by bodoggy View Post
That's odd. We were running just fine with ver27 and wanted to make some code changes, so after installing the latest updates in NetBeans, we received a message that we needed to re-image cRio to v28. After we performed the re-imaging, we uploaded our new code and now nothing works properly. All the relays outputs only turn on the spikes in one direction. And the victor controlling the arm is not getting any signal whatsoever. This all happened at a scrimmage event we were lucky to attend in Bridgewater, NJ. Some top Java minds there where unable to help. So we left the scrimmage after 6 hours without getting our robot off the blocks! Wish we could go back to v27! What gives?
Yeah, there's been a lot of threads about v28 not working properly. We're just sticking with v25 until just before the competition in hopes that the latest version will be fixed.
__________________
PETA wants your help finding Schrödinger.
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 12:40.

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