View Single Post
  #2   Spotlight this post!  
Unread 23-03-2013, 14:05
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 431
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Getting DS to show camera feed

I'm no expert on connecting to the camera through the cRIO, but from the error message, it seems like the code cannot find the camera at the specified IP.

Are you sure you've got the camera at the right IP?

In the past we used something like this:
Code:
AxisCamera.getInstance("10.21.68.11");
The getInstance() method you're using assumes the camera is at 10.x.y.1 by default. Use the version of the method which specifies the IP.

http://team2168.org/javadoc/edu/wpi/...a.lang.String)

If your camera is on cRIO ethernet port 2, the IP should be 192.168.0.90, If it's connected on the ethernet switch, it should be 10.x.y.11
__________________
http://team2168.org
Reply With Quote