View Single Post
  #1   Spotlight this post!  
Unread 01-31-2011, 08:20 PM
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Java Swing display image stream

Tthe camera can output a stream of images into a specific IP address (depending on where we plug it).

Now, our team is aiming to write an entirely Java/Swing-based Dashboard. So far, we are successful in using sockets and connectors to open up a connection from the robot (server side) to the driver station (client side). And we've managed to pass values and strings over the network through this connection.

The problem is, we can't find a way for us to get camera code. My understanding is that we need to get the client side computer to somehow connect to the image IP address, get the image, and display it on the Swing dashboard. We have no idea how to do this (which classes to use, how to get the image, do we need external libraries for decompressing MPEG stream...etc)

Help?
Reply With Quote