|
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.
|