View Single Post
  #1   Spotlight this post!  
Unread 03-02-2013, 13:51
gitlitz gitlitz is offline
Registered User
FRC #4590
 
Join Date: Jan 2013
Location: israel
Posts: 11
gitlitz is an unknown quantity at this point
vision processing on laptop

hi all,
we are trying to run the vision process on our laptop on a laptop and send the results to the crio.
We found a vision lib at
Code:
C:\Program Files\SmartDashboard\extensions\lib
but we get an error while trying to execute our code.
Our error appears at the first line:
Code:
AxisCamera camera=AxisCamera.getInstance("10.45.90.11");
Our source code is:
Code:
import edu.wpi.first.wpilibj.camera.AxisCamera;
public class Main {

	public static void main(String[] args){
		AxisCamera camera=AxisCamera.getInstance("10.45.90.11");
	}
}
When executing the code we get the following error:
Code:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: 

	at edu.wpi.first.wpilibj.camera.AxisCamera.getInstance(AxisCamera.java:241)
	at Main.main(Main.java:13)
If you have a better idea on how to do the vision processing on the laptop you are more than welcome to post it here