View Single Post
  #1   Spotlight this post!  
Unread 11-02-2014, 18:22
CarrotBlasphemy's Avatar
CarrotBlasphemy CarrotBlasphemy is offline
Registered User
FRC #4226
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Albany, MN
Posts: 9
CarrotBlasphemy is an unknown quantity at this point
Vision code in separate class?

I downloaded the sample vision code project and copied the main file into my preexisting project. Whenever I attempt to create a new `VisionCode vision=new VisionCode();` and try to run it, it says "network tables has already been initialized" and the program halts. Is there a way to cleanly keep the vision code in a separate file and call it from my main one? This is my first year as programmer and our team's first year trying vision code

Thanks!
Reply With Quote