Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Picture to Driver Station (http://www.chiefdelphi.com/forums/showthread.php?t=89380)

cparker8 17-01-2011 16:43

Picture to Driver Station
 
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

Re: Picture to Driver Station
 
just import the vision stuff and make an axiscamera object

Code:

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

Re: Picture to Driver Station
 
Thank You

Robototes2412 17-01-2011 23:27

Re: Picture to Driver Station
 
You're welcome, its good the take code like that out of the closet and put it to good use


All times are GMT -5. The time now is 22:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi