View Single Post
  #2   Spotlight this post!  
Unread 01-26-2016, 06:42 PM
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: How to access driverstation network tables from within robot code with grip

Quote:
Originally Posted by 1024Programming View Post
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.
So what are you asking that isn't there?
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);
}
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote