Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Camera IP Question (http://www.chiefdelphi.com/forums/showthread.php?t=80982)

tutkows1 23-01-2010 17:59

Camera IP Question
 
What IP address does the camera have to be to get it to work connected to the robot?

apalrd 23-01-2010 18:05

Re: Camera IP Question
 
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.

cappielloa 23-01-2010 18:21

Re: Camera IP Question
 
Quote:

Originally Posted by apalrd (Post 905470)
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.

apalrd is correct. It is 192.168.0.90. Note that you do NOT need to set this IP as it is the default.

TheDominis 23-01-2010 18:21

Re: Camera IP Question
 
Quote:

Originally Posted by apalrd (Post 905470)
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.

tutkows1 23-01-2010 18:48

Re: Camera IP Question
 
Thanks!


All times are GMT -5. The time now is 01:59.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi