|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
After downloading the code to the robot controller and the terminal window pops up, nothing happens in it. Why is this?
|
|
#17
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
-Kevin |
|
#18
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
|
|
#19
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
-Kevin |
|
#20
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Here is the debug.
Camera: Initialized abnormally with code 131 Camera: Initialization state = 1 Camera: No EEPROM configuration data found; using default parameters Camera: Initialization state = 2 Camera: Initializatoin state =3 This continues over and over again. |
|
#21
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
-Kevin |
|
#22
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
|
|
#23
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
-Kevin |
|
#24
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Yes we have power and have the ttl hooked up and the camera does work with labview and is calibrated. I have edited the code and changed line 450 of the serial port code to SPBRG2 = BAUD_115200
|
|
#25
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
-Kevin |
|
#26
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
I really appreciate you taking time to help. I'll have to try that thing with the modem cable on monday if I can get a hold of one. If not, I have no idea what to do next.
|
|
#27
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
Quote:
-Kevin |
|
#28
|
||||
|
||||
|
Re: Can't find CMUCam2 demo.llb
One thing I have seen that causes the camera to hang, though I didn't notice if it is at STATE 3, is having BOTH the PWM/TTL connected to the RC AND the serial cable connected to the PC from the DB-9 on the camera. As I recall from last year, the camera can not run both simultaneously. And, yes, I know this from personal experience. It was definitely one of those "Bill, you doofus" moments.
This is what I observed the camera and servos do when it was hooked up incorrectly. Camera powers on correctly, RC boots normally, servos drive to what appears to be 127 or center position, and absolutely nothing shows up on the terminal window. When sending a "c" or "t" command to the port, a "NAK" will be returned sometimes. I hope this helps out someone. |
|
#30
|
|||
|
|||
|
We have the Lab View code and it is working somewhat.
We have an issue with the pan going the wrong way from the target. We had a issue with the image being upside down so we rotated the camera and that fixed that problem bur the pan goes opposite of the target any ideas as to why? We are planning on using the Easy C programming, and lab view has the ability to export the configuration file for Easy C. So if any one has any ideas how to correct the panning issues that would be great. Thank you Jay n3ow11@gmail.com. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example LabVIEW Apps - Dashboard, CMUcam2 and Motors | Russ Beavis | National Instruments LabVIEW and Data Acquisition | 9 | 21-01-2007 17:19 |
| CMUcam2 disclaimer | Cody Carey | General Forum | 4 | 12-01-2006 01:19 |
| CMUcam2 interfacing | Kram | Programming | 2 | 27-05-2005 07:17 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |
| 3dmax - setting a display option that I can't find | DanL | 3D Animation and Competition | 5 | 05-01-2003 12:42 |