gitlitz
03-02-2013, 13:51
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
C:\Program Files\SmartDashboard\extensions\lib
but we get an error while trying to execute our code.
Our error appears at the first line:
AxisCamera camera=AxisCamera.getInstance("10.45.90.11");
Our source code is:
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:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at edu.wpi.first.wpilibj.camera.AxisCamera.getInstanc e(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
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
C:\Program Files\SmartDashboard\extensions\lib
but we get an error while trying to execute our code.
Our error appears at the first line:
AxisCamera camera=AxisCamera.getInstance("10.45.90.11");
Our source code is:
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:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at edu.wpi.first.wpilibj.camera.AxisCamera.getInstanc e(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