View Single Post
  #5   Spotlight this post!  
Unread 12-01-2012, 16:57
GuitarPlayerTim GuitarPlayerTim is offline
Mechanical
AKA: Timm
FRC #3171 (Best of the East)
Team Role: Mechanical
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Westhampton Beach
Posts: 5
GuitarPlayerTim is an unknown quantity at this point
Re: Java Camera Feed to Laptop

connect your computer to your ethernet bridge through a straight-through CAT5. connect the camera to the bridge with a crossover cable.
set your computer IP to 192.168.0.6
enter the camera through a web browser by typing 192.168.0.90 to make sure you can connect.
then use the Setup Axis Camera program.
keep IP as 192.168.0.90
make subnet 255.0.0.0


in your code:
inside public *INSERT CLASS NAME HERE*(){

AxisCamera camera = AxisCamera.getInstance();

}

once everything is saved, plug the camera into CRIO port 2.
change computer IP to 10.TE.AM.5
make sure your driverstation is updated, run the code in, and you should get feed.

a little gift from team 3171: Westhampton Beach Hurricanes
Reply With Quote