Go to Post This is high school robotics for fun and education. Let's try and keep it that way. - Rod [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 01-13-2010, 06:55 PM
Thomas4019 Thomas4019 is offline
Registered User
FRC #3006
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Salt Lake City
Posts: 7
Thomas4019 is an unknown quantity at this point
Java Camera Video on ClassMate

Has anyone gotten the Classmate to show the video stream while using Java as our programming language? If so any ideas on how get it working? I heard that merely calling AxisCamera.getInstance() will start the stream but this didn't work for us.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-13-2010, 09:36 PM
ericarseneau ericarseneau is offline
Registered User
no team
 
Join Date: Jan 2010
Location: San Diego
Posts: 30
ericarseneau is an unknown quantity at this point
Re: Java Camera Video on ClassMate

You will need to start the Driver Station and the Dashboard I assume, on the Classmate. As the program that uses the Axis camera is running on the cRIO and you need something running on your desktop to display the video coming in.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-14-2010, 09:54 PM
Thomas4019 Thomas4019 is offline
Registered User
FRC #3006
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Salt Lake City
Posts: 7
Thomas4019 is an unknown quantity at this point
Re: Java Camera Video on ClassMate

Well, we have the driver station setup and I believe updated. It just keeps saying "timeout in camera communication". However, Java can internally see the camera and the sample Java vision recognition code is working.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-15-2010, 01:44 AM
Thomas4019 Thomas4019 is offline
Registered User
FRC #3006
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Salt Lake City
Posts: 7
Thomas4019 is an unknown quantity at this point
Re: Java Camera Video on ClassMate

The problem we are having is that the video is not showing up on the dashboard (classmate pc). We are now worried that the whole top half of the driver station program is not recieving any communication because it looks like it isn't updating the PWM or analog input values as well.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-15-2010, 01:19 PM
Lucretius Lucretius is offline
#395 Mentor, #1884 Alumnus
FRC #0395 (2 Train Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: New York, NY
Posts: 42
Lucretius is an unknown quantity at this point
Re: Java Camera Video on ClassMate

We also seem to have this problem; nothing in the top portion of the dashboard seems to change. I'll try testing it again today, of course.
__________________

Reply With Quote
  #6   Spotlight this post!  
Unread 01-15-2010, 01:28 PM
Daniel Jones Daniel Jones is offline
Registered User
AKA: Hanes
FRC #0190 (Gompei and the HERD)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Shrewsbury MA
Posts: 13
Daniel Jones is on a distinguished road
Re: Java Camera Video on ClassMate

The camera should start displaying the feed once getInstance has been called. The rest of the data on the dashboard needs to be sent manually, as seen in the dashboard example project in the NetBeans samples.
Make sure that you have the latest version of the driver station installed correctly, which may require uninstalling the driver station and reinstalling.
http://joule.ni.com/nidu/cds/view/p/lang/en/id/1535
__________________
"there are 10 types of people in this world, those who understand binary and those who don't"
Reply With Quote
  #7   Spotlight this post!  
Unread 01-15-2010, 01:43 PM
Thomas4019 Thomas4019 is offline
Registered User
FRC #3006
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Salt Lake City
Posts: 7
Thomas4019 is an unknown quantity at this point
Re: Java Camera Video on ClassMate

Quote:
Originally Posted by Daniel Jones View Post
The camera should start displaying the feed once getInstance has been called. The rest of the data on the dashboard needs to be sent manually, as seen in the dashboard example project in the NetBeans samples.
Make sure that you have the latest version of the driver station installed correctly, which may require uninstalling the driver station and reinstalling.
http://joule.ni.com/nidu/cds/view/p/lang/en/id/1535
But how can we uninstall the dashboard. I couldn't find it in "Add or remove programs" nor in the DSUpdate1.0for2010 executable.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-15-2010, 06:28 PM
jacobhurwitz jacobhurwitz is offline
Registered User
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryland
Posts: 45
jacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura about
Re: Java Camera Video on ClassMate

We're having the same problem. We deployed the default code in LabVIEW, and then when we connect the robot to the ClassMate, we see "Timeout in Camera Communications" where the video feed should be displayed. Has anybody found a solution? (Our DS is version 2010.01.06.00.)
Reply With Quote
  #9   Spotlight this post!  
Unread 01-16-2010, 12:18 AM
Michael DiRamio Michael DiRamio is offline
Registered User
FRC #1114 (Simbotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: St. Catharines, Ontario, Canada
Posts: 39
Michael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond repute
Re: Java Camera Video on ClassMate

There seems to be an issue with the DS update only updating the "lower half" of the Driver Station (the actual driver station program) and not updating the "upper half" (the dashboard program).

To fix this, go in to your developer account, run the installer and select "remove this feature" on the "Features to Install" screen.

After it finishes, run the update again to reinstall the Driver Station/Dashboard.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up your new Classmate for Java technology Techwiz Java 2 01-10-2010 11:46 PM
Camera Control in Java Imadapocalypse Java 1 01-09-2010 09:46 PM
**FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** Pjohn1959 Programming 37 08-31-2009 03:55 PM
Video: #1860 camera tracking sloteera Programming 2 02-01-2009 11:29 PM
Camera Video out Dr Nick Programming 9 02-15-2007 10:32 PM


All times are GMT -5. The time now is 08:38 AM.

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