![]() |
Re: *** CMUcam2 Frequently-Asked-Questions ***
Quote:
Where and how specifically do these function calls go in the code? Also how do we disable the camera from searching in the teleoperated period? Thanks |
Re: *** CMUcam2 Frequently-Asked-Questions ***
Quote:
Quote:
|
Re: *** CMUcam2 Frequently-Asked-Questions ***
Quote:
while (autonomous_mode) /* DO NOT CHANGE! */ { if (statusflag.NEW_SPI_DATA) /* 26.2ms loop area */ { Getdata(&rxdata); /* DO NOT DELETE, or you will be stuck here forever! */ Camera_Handler(); //You must call BOTH of these Servo_Track(); //functions to use the camera |
Re: *** CMUcam2 Frequently-Asked-Questions ***
Quote:
Thank you very much for that!!! :D Although it isn't printing any of the info about the camera on the terminal window. I don't know if it isn't getting the info in the first place, or is it just not printing it out. Please help |
Re: *** CMUcam2 Frequently-Asked-Questions ***
Quote:
I moved them to the correct places, and then amazingly it worked. It printed out all the things that I wanted it to printing out and all was good. So once again thank you for all that you did to help us. |
Re: *** CMUcam2 Frequently-Asked-Questions ***
Ok this is really a newbie question, but we are trying to get the robot into autonomous mode, we dont have a dongle and not sure if we have what we need to make one. In the documentation from innovation first I saw you can force autonomous mode by setting the team to 0000. will this work? we got kevins code working, but when we tried the 2007 easy c demo it doesnt work. I realized it needed autonomous mode, tried resetting team to 0000 and still the camera doesnt work. The program runs because we get prints from the intialize code, but nothing from the autonomus module. My students are more comfortable with easy c , if possible I would like to get this the easy c 2007 demo code up and running, I think it would be easier for them to deal with.
Has any one had success with this, and am I right that the 2007 demo code for easy c only works in autonomous mode. |
Re: *** CMUcam2 Frequently-Asked-Questions ***
Yes, you would need to kick the robot into autonomous mode for the 2007 demo code to work. If you want, you can buy an autonomous dongle from andymark.biz here: http://andymark.biz/am-0016.html . Hope this helps, /dan
|
Re: *** CMUcam2 Frequently-Asked-Questions ***
Helps a lot! we are now able to get autonomous mode, the 0000 team number into the controller does not work this year
|
Re: *** CMUcam2 Frequently-Asked-Questions ***
This is probably a really stupid question but I see you guys talking about this tracking.h and tracking.c files etc. and I have no clue where to get them. The only one I could find was the CameraDemo folder off of the team resources section of the FIRST website. Where can I get these so I can get cracking on this camera?
|
Re: *** CMUcam2 Frequently-Asked-Questions ***
Quote:
|
| All times are GMT -5. The time now is 23:09. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi