|
Re: GRIP and NetworkTables settings for use with a co-processor
Yep, those are definitely arrays (albeit 1-element ones).
So you should use getNumberArray() instead, check the size of the result, and get the 0th element.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC
2010 FRC World Champions ( 294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
|