alambert14
14-02-2015, 13:51
When I try to read the value of a solenoid using the get() method, it is giving me this error:
Unknown error status at edu.wpi.first.wpilibj.hal.HALUtil.checkStatus(HALU til.java:51)
edu.wpi.first.wpilibj.SolenoidBase.getAll(Solenoid Base.java:69)
edu.wpi.first.wpilibj.Solenoid.get(Solenoid.java:1 01)
org.usfirst.frc.team2035.robot.subsystems.Forklift .extendForklift(Forklift.java:89)
org.usfirst.frc.team2035.robot.commands.TiltInOut. initialize(TiltInOut.java:20)
edu.wpi.first.wpilibj.command.Command.run(Command. java:214)
edu.wpi.first.wpilibj.command.Scheduler.run(Schedu ler.java:215)
org.usfirst.frc.team2035.robot.Robot.teleopPeriodi c(Robot.java:118)
edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:150)
edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)
We are writing our code in java.
Has anybody seen this before or know how to fix it? Any help would be appreciated, thank you.
Unknown error status at edu.wpi.first.wpilibj.hal.HALUtil.checkStatus(HALU til.java:51)
edu.wpi.first.wpilibj.SolenoidBase.getAll(Solenoid Base.java:69)
edu.wpi.first.wpilibj.Solenoid.get(Solenoid.java:1 01)
org.usfirst.frc.team2035.robot.subsystems.Forklift .extendForklift(Forklift.java:89)
org.usfirst.frc.team2035.robot.commands.TiltInOut. initialize(TiltInOut.java:20)
edu.wpi.first.wpilibj.command.Command.run(Command. java:214)
edu.wpi.first.wpilibj.command.Scheduler.run(Schedu ler.java:215)
org.usfirst.frc.team2035.robot.Robot.teleopPeriodi c(Robot.java:118)
edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:150)
edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)
We are writing our code in java.
Has anybody seen this before or know how to fix it? Any help would be appreciated, thank you.