y-aji
11-02-2013, 16:25
I think we have everything set up for the Talons. Can someone confirm that the following is correct?
I have tested the motor as good. The Talon sits blinking orange, never confirming it is receiving signal from PWM.
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.SimpleRobot;
import edu.wpi.first.wpilibj.Talon;
public class AwesomOSimple extends SimpleRobot {
Talon frisbeeIndexer;
public void robotInit() {
frisbeeIndexer = new Talon(9);
}
public void operatorControl() {
frisbeeIndexer.set(1.0);
}
}
Is there more needed than that? I feel like you have to enable it. I see there is an option to disable it (frisbeeIndexer.disable()). I've tried 0.9 and a simple 1, but nothing. Any thoughts?
I'm going to check that no one plugged something in backwards tonight, so that's still up in the air, I just wanted to cover the software.
I have tested the motor as good. The Talon sits blinking orange, never confirming it is receiving signal from PWM.
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.SimpleRobot;
import edu.wpi.first.wpilibj.Talon;
public class AwesomOSimple extends SimpleRobot {
Talon frisbeeIndexer;
public void robotInit() {
frisbeeIndexer = new Talon(9);
}
public void operatorControl() {
frisbeeIndexer.set(1.0);
}
}
Is there more needed than that? I feel like you have to enable it. I see there is an option to disable it (frisbeeIndexer.disable()). I've tried 0.9 and a simple 1, but nothing. Any thoughts?
I'm going to check that no one plugged something in backwards tonight, so that's still up in the air, I just wanted to cover the software.