Log in

View Full Version : ???Abnormal Camera Initialization????????????


cdennisxlx2
06-11-2006, 17:26
Ok ive fixed my autonomous coding now it works great no more subroutine problems but now im getting the following Printfs on the terminal window when i load the code, i even tired to load camera code before any of my autonomous tweeks.


Camera: Initialized abnormally with code 131
Camera: Initialization state = 1
Camera: Initialization state = 2
Camera: Initialization state = 3
No camera data...

Camera: Initialized abnormally with code 131
Camera: Initialization state = 1
Camera: Initialization state = 2
Camera: Initialization state = 3
No camera data...


it just indefinatly repeats and the camera doesnt move at all

im really confused to why this is happening, any thoughts?

Mark McLeod
06-11-2006, 18:40
131 means the camera communication isn't working.
There are a bunch of reasons this could be happening from camera power, to two serial connections hooked up to the camera at the same time.

Search the CMUCAM forum for "131" and you'll find a few past threads on this error.

Alan Anderson
06-11-2006, 18:46
Camera: Initialization state = 1
Camera: Initialization state = 2
Camera: Initialization state = 3
No camera data...

Camera: Initialized abnormally with code 131

It's reasonably self-explanatory: the RC is not getting any data from the camera. Check that the TTL/RS-232 converter circuit is properly attached. Check that the communication wiring between the camera and the RC is correctly connected. Check that the power connection is solid from PWM pins to camera.

And make sure a fully charged backup battery is plugged in.

cdennisxlx2
06-11-2006, 18:54
i did, those are all 100%, i think im going to try a coding thing i found on another thread that resets the boot initialization flag

Kevin Watson
07-11-2006, 00:45
Ok ive fixed my autonomous coding now it works great no more subroutine problems but now im getting the following Printfs on the terminal window when i load the code, i even tired to load camera code before any of my autonomous tweeks.


Camera: Initialized abnormally with code 131
Camera: Initialization state = 1
Camera: Initialization state = 2
Camera: Initialization state = 3
No camera data...

Camera: Initialized abnormally with code 131
Camera: Initialization state = 1
Camera: Initialization state = 2
Camera: Initialization state = 3
No camera data...


it just indefinatly repeats and the camera doesnt move at all

im really confused to why this is happening, any thoughts?Check out the camera FAQ at http://kevin.org/frc/camera/.

-Kevin