|
Re: [FTC]: Android Studio NullPointerException on TeleOp Init
Looking at what you posted, you have big chunk of code between start() and loop() that isn't actually in a function (it should all be in loop()). As such, I am curious how your code is compiling as of now. But if you get it into loop(), it should be mostly fine.
A second, smaller issue, is that you never assign a value to buttonPushDelta, but I think Java defaults it to zero.
__________________
2015-present: FTC 10723 mentor
2012-present: 857 mentor
2008-2011: 857 student
2015: Industrial Design, Excellence in Engineering, District Finalist, Archimedes Division (#6 alliance captain)
2014: Judges Award, District Engineering Inspiration, District Finalist, Galileo Division
|