View Single Post
  #1   Spotlight this post!  
Unread 06-02-2014, 17:17
Peragore's Avatar
Peragore Peragore is offline
CEO of Black Magic
AKA: Philip Mulford
FRC #3373 (Team Robohawk)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: US
Posts: 50
Peragore is an unknown quantity at this point
Building Custom WPILib

Hey Guys, 3373 here.

We are going to be using a RPI to do our vision processing this year, and have the networking all set up on the test end. However, when we go to copy this code over to allow us to use it on the cRIO, we run into regex problems (using String.replace("/0", "") tells us that we cannot convert string to char). Looking into this, I concluded that regex is not included into WPILib java. In order to fix this, I tried to build it into a custom WPILib. However, much to my dismay, I found that whenever I would go to rebuild as per the instructions, the package I added was not in the new build of the code.

Any help here?
__________________


Code:
 
while (life){
  frcObsession = true;
  obs.ProgramAndObsess();
}
if (!life) life = true;
Reply With Quote