Log in

View Full Version : Picture to Driver Station


cparker8
17-01-2011, 16:43
We are looking through the Java documentation and haven't found out how to display a picture on the Driver Station. Has anyone found it?

Robototes2412
17-01-2011, 16:48
just import the vision stuff and make an axiscamera object

import edu.wpi.first.wpilibj.camera.*;

/**
*
* @author sam
*/
public class Camera {
private AxisCamera cam = AxisCamera.getInstance();

private double[] rad = new double[7];

public Camera() {
System.out.println("Camera is enabled");
}

}

that's what i used

cparker8
17-01-2011, 17:58
Thank You

Robototes2412
17-01-2011, 23:27
You're welcome, its good the take code like that out of the closet and put it to good use