Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Why wont our robot work? (http://www.chiefdelphi.com/forums/showthread.php?t=101062)

Corran54 24-01-2012 18:53

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

mikets 24-01-2012 19:31

Re: Why wont our robot work?
 
Did you fix the DB37 cable?
http://www.usfirst.org/sites/default...structions.pdf

kinganu123 24-01-2012 21:57

not sure about jags, but victor light go solid when they can communicate with the DS and cRIO

Alan Anderson 25-01-2012 12:52

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.

Corran54 25-01-2012 17:44

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)

njd231 25-01-2012 19:47

Re: Why wont our robot work?
 
I am also having a problem with this (I am using the default Arcade Code as well).

Kyler Hagler 25-01-2012 23:40

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.

KD8CPK 08-02-2012 16:43

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.


All times are GMT -5. The time now is 13:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi