View Single Post
  #3   Spotlight this post!  
Unread 18-02-2013, 17:44
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,242
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Can't get camera image from Axis M1011

We started this year with the 206, and last week received the M1011. We had no problem changing the camera without any code change. We are programming in C.

If you are manually configuring the camera because the initialization code doesn't work, then that could be the cause of getting a null pointer when you try to get an image. The initialization code sets up all the procedures for communicating with the camera. If you call the access routines without first initializing, then the access routines may not work correctly.

I don't think you need to pass the IP address. I setup the IP address of the camera to be 10.xx.yy.11, where xx.yy is your team number. The code found it without a problem. You also need a user named FRC, with a password of FRC (both are upper case). I gave the user Admin privileges.

Last edited by rich2202 : 18-02-2013 at 17:47.