Go to Post It means Dave Lavery isn't on the Game Design Committee this year. If he were, you probably would have found a banana instead. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 24-01-2012, 18:53
Corran54 Corran54 is offline
Registered User
FRC #3310
 
Join Date: Mar 2011
Location: Rockwall Texas
Posts: 4
Corran54 is an unknown quantity at this point
Why wont our robot work?

Okay, so this may or may not be a coding problem, but whenever we download code to the robot, the driver station says we have communication and says the robot has code. but when we enable teleoperated mode, we dont get our jags to do anything. There's no change in te color of the light and when we attach CIM mottors they dont move. Both of the jags have steady blinking yellow lights, and I dont know what else to do. I've re imaged the cRIO, rebooted the cRIO, everything I and my team mate can think of. If there's anything I might be doing wrong please help me. We need to get this done.

Thanks,
Corran54
3310
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2012, 19:31
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Why wont our robot work?

Did you fix the DB37 cable?
http://www.usfirst.org/sites/default...structions.pdf
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2012, 21:57
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
not sure about jags, but victor light go solid when they can communicate with the DS and cRIO
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2012, 12:52
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: Why wont our robot work?

What is your Robot Signal Light doing? If it's not lit, you have a wiring problem between the Digital Sidecar and the cRIO (or your Digital I/O module is not in Slot 2). If it's on with a brief flicker off every couple of seconds, then the Digital Sidecar is working correctly and you should focus on the PWM connections and the code.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2012, 17:44
Corran54 Corran54 is offline
Registered User
FRC #3310
 
Join Date: Mar 2011
Location: Rockwall Texas
Posts: 4
Corran54 is an unknown quantity at this point
Re: Why wont our robot work?

DB37 cable was already working. It didn't need fixing.(mikets)

Jag lights go solid when they are having the mottors spin and blink when they are idle, but they just blink no matter what.(Kinganu)

The Robot signal light is "briefly flickering" as you put it, the code is a default arcade drive, and there's no problem with the PWM connections.(Alan)
Reply With Quote
  #6   Spotlight this post!  
Unread 25-01-2012, 19:47
njd231 njd231 is offline
Programmer/Electrician
FRC #4094 (Mars Bandit)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Georgia
Posts: 14
njd231 is an unknown quantity at this point
Re: Why wont our robot work?

I am also having a problem with this (I am using the default Arcade Code as well).
Reply With Quote
  #7   Spotlight this post!  
Unread 25-01-2012, 23:40
Kyler Hagler's Avatar
Kyler Hagler Kyler Hagler is offline
Jack of all trades
FRC #3310 (Black Hawk Robotics)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Rockwall-Heath High School
Posts: 99
Kyler Hagler has a spectacular aura aboutKyler Hagler has a spectacular aura aboutKyler Hagler has a spectacular aura about
Re: Why wont our robot work?

Yeah our Ribbon cable did need fixing but i was to sneaky for you to see me do it. Now that it's fixed were still having code issue's. When we build the code that the 2012 PDF says to we get an error saying something along the lines of "Build target not found". We are using different default code for now but i would like to use the one FIRST tells you to use.
__________________
Kyler Hagler - 3310 Alumni/Mentor
Black Hawk Robotics Team 3310

2012 Dallas West Regional Winner
2013 Dallas Regional Winner
2014 Colorado Regional Winner
2015 Hub City Regional Winner
2016 Arkansas Regional Winner
2016 Hub City Regional Winner

Http://Team3310.com
Reply With Quote
  #8   Spotlight this post!  
Unread 08-02-2012, 16:43
KD8CPK KD8CPK is offline
Registered User
FRC #3234
 
Join Date: Feb 2012
Location: Lowell, MI
Posts: 2
KD8CPK is an unknown quantity at this point
Re: Why wont our robot work?

When you made the project, did you go to File>New>Example>Downloadable Kernal...? If you didn't, the project might not know to link the WPILib or how it is supposed to compile the program. Try making one of the newer example projects, then deleting the code in the main .cpp file and replacing it with what you wrote. OR just try using one of the examples. Remember to change the file to upload to the robot to match the project you want uploaded in the Window>Preferences menu.
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 15:05.

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