View Single Post
  #4   Spotlight this post!  
Unread 23-01-2010, 18:21
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: Camera IP Question

Quote:
Originally Posted by apalrd View Post
192.168.0.90 I think
If that dosent work then its 192.168.1.90

Try running the Axis Camera Setup tool. That'll configure it too.

You also need to change the password of the Axis cam as described in the control system docs.
192.168.0.90 is correct.

You can use the camera and get video with these lines:

Code:
#include "AxisCamera2010.h" // make sure you add "-I(WIND_BASE)/target/h/WPIlib/Vision" to your include paths
// or include the folder in your #include

AxisCamera &camera = AxisCamera::getInstance();
camera.writeResolution(k160x120);
camera.writeBrightness(0);
If everything is installed correctly, this will work.

Last edited by TheDominis : 23-01-2010 at 18:26. Reason: Headers