Chief Delphi

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

cdennisxlx2 06-11-2006 17:26

???Abnormal Camera Initialization????????????
 
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.

Code:

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

Re: ???Abnormal Camera Initialization????????????
 
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

Re: ???Abnormal Camera Initialization????????????
 
Code:

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

Re: ???Abnormal Camera Initialization????????????
 
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

Re: ???Abnormal Camera Initialization????????????
 
Quote:

Originally Posted by ghhs_1527
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.

Code:

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


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

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