|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: NetworkTables Null Pointer Exception
There's a second overloaded getNumber() method that takes two parameters, the name and a default value. If it can't find the named value, then the default value is supplied instead of the error being thrown. Take a look at this example:
http://wpilib.screenstepslive.com/s/...client-pc-side |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|