|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: java.lang.NullPointerException
Line 27, as of commit d16c532, cannot possibly throw a NullPointerException:
Code:
if((xAxis< deadBand) && (xAxis > -deadBand)){ xAxis=0;}
Edit: Ben's right. You declare the speed controllers in RobotMap, but never call init() so they're always going to be null. Last edited by SamCarlberg : 17-01-2017 at 21:51. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|