|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
How to access driverstation network tables from within robot code with grip
We are able to view values from grip publishing now in networktable's outline viewer. How do we reference these values in the code to do vision processing?
EDIT: We have seen the sample code on screensteps live and grips github wiki. unless it has been changed very recently, we have already seen it. |
|
#2
|
||||
|
||||
|
Re: How to access driverstation network tables from within robot code with grip
Quote:
https://github.com/WPIRoboticsProjec...va-FRC-program[/ Code:
for (double area : NetworkTable.getTable("grip").getNumberArray("targets/area", new double[0])) {
System.out.println("Got contour with area=" + area);
}
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|