Go to Post Mentors can either hide the experience of failure or support the right of a student in gaining that experience. - dcbrown [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-08-2012, 20:13
DarthCoder DarthCoder is offline
Registered User
FRC #4309
 
Join Date: Aug 2012
Location: Washington
Posts: 37
DarthCoder is an unknown quantity at this point
Cannot connect to Axis camera from WPI Lib

I've been trying to connect to the axis camera from the 2012 season kit of parts using C++ and WPI ib. I know that the camera IP address is 10.43.9.11 because I can ping it. I cannot log in with the user name FRC and password FRC though. I've run the Axis camera configuration tool. I use the AxisCamera class to connect to the camera in C++ and use the string "10.43.9.11" to connect to the camera. When I cal the getImage function though, I get an empty image with 0 by 0 dimensions. I also set the resoution with AxisCamera::writeResolution is there any trick for connecting? We have the camera plugged into our wireless bridge.
  #2   Spotlight this post!  
Unread 29-08-2012, 20:20
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Cannot connect to Axis camera from WPI Lib

Can you log into the camera through a browser and setup the FRC/FRC user account? That account is what's used by the FRC software.
You also need to get into the camera to enable autonomous viewing.

The Axis camera config tool doesn't sound like it's able to log in to the camera either, since the FRC account wasn't created.
Before using the Axis config tool you need to reset the camera back to factory defaults using the button on the back of the camera. Hold it down, power the camera, don't release until the lens light flashes. The camera default IP will be 192.168.0.90, so you'll need to set your PC IP to be compatible (e.g., 192.168.0.5) before trying the Axis config tool again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 29-08-2012 at 20:30.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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