|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: Need NetworkTables to update??(Grip)
yes i have code similar to i, but it still won't work ._.
visionThread = new VisionThread(camera, new GripPipeline(), pipeline -> { if (!pipeline.filterContoursOutput().isEmpty()) { System.out.println(pipeline.filterContoursOutput() .get(0)); //SmartDashboard.putNumber("opencv",pipeline.filterC ontoursOutput().get(0)); table = NetworkTable.getTable("GRIP/marly"); double[] def = new double[0]; double[] areas = table.getNumberArray("width", def); System.out.println(areas[0]); } }); visionThread.start(); |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|