![]() |
Re: CMUcam default code not responding
Quote:
-Kevin |
Re: CMUcam default code
Quote:
I am using a Compaq Armada 7400 with a serial port. The LEDs are fflashing when I attempt to use the code, after the .hex download is complete. Thanks for the suggestion though. |
Re: CMUcam default code
Quote:
-Kevin |
Re: CMUcam default code
Quote:
Thanks, but I just ave one question. Where are the recompile instructions? I am using last year's bot as a test platform. Are they in the work or another of the .pdf's from FIRST? I did a scan through the workbook, but I may have missed it. Thanks alot, you guys are very helpful. Good luck with your bots this year. |
Re: CMUcam default code
Quote:
-Kevin |
Re: CMUcam default code not responding
Quote:
Another thing to check - make sure your RS232<>TTL converter board is fully connected. The Edu has only 3 pins on the TTL header. The missing fourth one (as compared to full size RC) is the power pin (+5V). We took the end of a spare pwm cable and connected just one pin on the +5V pin of Digital In/Out #1, then ran that into the TTL<>RS232 board. |
Re: CMUcam default code not responding
Here is what I did to allow compatibility between years, and between IDEs. I have a "core" directory, a "modules" directory, a "2005" directory and a "visual studio" directory. I put all c/h files I personally make (or get from Kevin's website) into the modules directory, and I put all of the files supplied by IFI's 2006 default code into the "core" directory. I copied the 2006 default code's workspace files to the "2005" directory, followed the instructions to ensure compatibility with '05 controllers, and then included all my modules from the "modules" directory, and the relevant IFI code from the "core" directory into that project. I didn't trust the pic's being #define'd, so I edited the project settings in the "2005" directory to include the definition of VERSION_2005_CODE (-D_VERSION_2005_CODE), and then I test for the presence of this macro where relevant. For example, in Kevin's EEPROM code:
Code:
// Need to include a different file in the event of a compilation for the I also created a visual studio solution, and stored it to the "Visual Studio" directory. I include all the c/h files into this solution, and do all my coding there. When its time to compile, I alt+tab to the MPLab editor (it senses that the files have changed at this point), and pretend as though I had been coding there all along. c:\2006 Robot Code\ c:\2006 Robot Code\modules\ c:\2006 Robot Code\2005 Workspace\ c:\2006 Robot Code\Visual Studio\ c:\2006 Robot Code\documentation\ That might help you in the long run, though it doesnt solve your current problem. |
Re: CMUcam default code not responding
Quote:
Any help at all would be greatly appreciated... |
Re: CMUcam default code
Quote:
Thanks alot, this should solve the problem. Good luck this year. |
Re: CMUcam default code not responding
Ah! yay, we got it up and running...
|
Re: CMUcam default code not responding
Quote:
|
Re: CMUcam default code not responding
Quote:
|
Re: CMUcam default code not responding
The "code 131" error says that the program did not receive a response from the camera during initialization. It could be a communication problem (try the loopback test, and make sure you don't have the PC still connected to the camera at the same time as the RC), a power problem (make sure you have a freshly charged battery and all the connections are good), or a broken camera (test it with the LabView application).
That's about all I can suggest without looking at how you have things wired up. |
Re: CMUcam default code not responding
Ok, so I got the code scanning for the target and giving me angles and such- the only problem is that it gives me the info then keeps searching. Is it supposed to do this? and if not what can I do to get it the stop when it finds it? Your help so far has made this much easier. Thanks alot!
|
Re: CMUcam default code not responding
Ok, I have a more specific idea of the problem now: the camera is aquiring during the stage where it is moving to restart search, then doesn't do a regular scan at that height. Any suggestions?
|
| All times are GMT -5. The time now is 11:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi