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