Thread
:
NullPointerException at drivecode
View Single Post
#
2
12-02-2013, 05:44
MagiChau
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
Re: NullPointerException at drivecode
You never instantiated the joystick so there is no Joystick to get any values from.
Code:
Joystick leftStick = new Joystick(1);
MagiChau
View Public Profile
Find all posts by MagiChau
Find CD-Media Photos by MagiChau
Find CD-Media Papers by MagiChau