Go to Post A wet noodle of a chassis won't matter how much drop you have. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2011, 16:43
cparker8 cparker8 is offline
Registered User
FRC #0662
 
Join Date: Jan 2010
Location: Colorado Springs, CO
Posts: 3
cparker8 is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2011, 16:48
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
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
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2011, 17:58
cparker8 cparker8 is offline
Registered User
FRC #0662
 
Join Date: Jan 2010
Location: Colorado Springs, CO
Posts: 3
cparker8 is an unknown quantity at this point
Re: Picture to Driver Station

Thank You
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2011, 23:27
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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