Quote:
Originally Posted by dash121
I am having the same problem. The specific error that is given "ERROR Unhandled exception: java.lang.NullPointerException at [edu.wpi.first.wpilibj.PWM.startLiveWindowMode(PWM. java:484), org.usfirst.frc.team4085.robot.Robot.teleopPeriodi c(Robot.java:117), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:150), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)]"
Can you help me?
Code:
Window.setEnabled(isEnabled());
Left.startLiveWindowMode();
Right.startLiveWindowMode();
Accel.startLiveWindowMode();
PDP.startLiveWindowMode();
|
This is not how you put objects to the LiveWindow. See the examples on using LiveWindow here:
http://wpilib.screenstepslive.com/s/...ode-livewindow.