Go to Post Someone wake me up the day of Kickoff. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-02-2014, 12:38
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 306
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
Nothing works on the robot :/

So we have wired the robot and tried to download the code and basically... nothing.

Here's the synopsis:

Electrical:
-4 Cims each is connected to a Talon
-The talons are wired correctly, with M+/M- going to the motors, and V+/V- going to the PD board.
-The PWM cable has the black plugged in to the 'B' side of the Talon, and the "-" side of the Digital side car.

Hardware:
-The DS is plugged into a 30 Amp breaker
-The 3 lights are on the DS
-The ribbon cable is connected to the DIO module on the Crio
-3 of the Talons blink between orange and red very fast, so fast it may actually be solid. The other one just blinks orange ~1hz

Software: About a week ago we ran this setup on the table before attaching it to the Robot. The motors worked at that time.

In an attempt to get it to move this is the code we deployed:

=========

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboar d;

public class RobotTemplate extends IterativeRobot {


Talon Motor1 = new Talon(1); // Motors
Talon Motor2 = new Talon(2);
Talon Motor3 = new Talon(3);
Talon Motor4 = new Talon(4);



public void robotInit() {
}

public void autonomousPeriodic() {
}

public void teleopPeriodic() {

Motor1.set(1.0);
Motor2.set(1.0);
Motor3.set(1.0);
Motor4.set(1.0);
}

public void testPeriodic() {

}


public void disabledPeriodic(){
}


} // Closes Robot Template1

======

Any ideas?
We tried switching out DS, and ribbon cables.
 


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 02:11.

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