I am trying to run a VERY SIMPLE piece of Java.
Its only goal is to set a motor’s speed to 0.5.
Yet I have difficulties with even this simple task:
package org.usfirst.frc.team4855.robot;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Talon;
public class Robot extends IterativeRobot {
Talon talonMotor;
public void robotInit() {
talonMotor = new Talon(0);
}
public void teleopInit(){
talonMotor.set(0.5);
}
Not only does this not work but I get a whole bunch of crap in the driver station:
I am having the same issue. I am trying to execute EXTREMELY basic code (operating a Victor). Yet, whenever I try to execute the code, nothing happens and my console gives no hints. Even the sample code does nothing to the robot right now. It successfully deploys yet does nothing.