![]() |
CMUCam TTL problems
We're having trouble with our camera. We are unable to get it to track properly. We have followed the Tutorial 7 in easyC, and have an understanding of how it works. We have tried using both the 3 pin RS-232 to TTL converter, and a TTL to TTL cable. We can initialize the camera (which is extremely slow ~20 seconds), but we can't GetTrackingData. The function just hangs in the terminal window.
Are there more settings? Is there a way to tell if the data is even coming off the camera board? |
Re: CMUCam TTL problems
Quote:
If you don't see the initialization data being sent, then look for problems with the camera connections. |
Re: CMUCam TTL problems
1 Attachment(s)
I did what you suggested but I don't know how to interpret the results.
I created the code from Tutorial 7, added comments, and added the two code blocks you suggested (code attached). It appears that the camera is never capturing a frame. This is the terminal output (also in attached zip file). -> <- -> <- -> RM 1 <- -> DM 20 <- -> CR 41 128 <- -> CR 19 32 <- -> CR 42 128 <- -> CR 43 32 <- -> CR 45 132 <- -> CR 18 32 <- -> CR 0 0 <- -> CR 1 128 <- -> CR 2 128 <- -> CR 3 128 <- -> CR 6 1 <- -> CR 16 1 <- -> ST 85 115 15 17 10 145 <- -> NF 1 <- -> SM 12 <- -> SP 16 8 5 30 15 5 <- camera initialized two wheel drive selected, left motor = PWM 1, right motor = PWM 2 Autonomous Mode commencing -> TC <- camera started No matter how long I wait I never get a message that the camera captured a frame. I also noticed that the red light on the camera board (DS3) is always on. Should it be on? |
Re: CMUCam TTL problems
Quote:
Sometimes the camea seems to get into a state where it won't respond next time it is run. Give that a try and see if it starts working. |
Re: CMUCam TTL problems
Quote:
|
| All times are GMT -5. The time now is 10:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi