Quote:
|
Originally Posted by Idaman323
Hey guys, I got Kevin's CMUCam code finnaly on the robot.. the weird thing is.. nothing moves. I have the pwm03 and 04 as p1_y and p2_y. and I left the pwm 01 for the pan and pwm 02 as the tilt under tracking.h. In the user_routines, I have it set on p3_y, p4_y. Am I suppose to do something with those? Or just leave them as that?... Also when the program is loaded.. on the window, it is saying "Searching..." or "P1 Y 127, X 127" Or any of those coordinates on it. The regular default code runs this fine, but when I load the camera code with all of those changes... nothing happens. Am I suppose to do anything special to make them run. Hmmm, Im confused.
Thanks,
Idaman323
|
The default code is commented out. Just uncomment it and place it before putdata(&txdata). ALSO comment out the pwm01 = p1_y and pwm02 = p2_y.
make sure anything you put is before putdata(&txdata) in the void Process_Data_From_Master_uP(void)
you can modify the printf statements to display what you want. comment it out if you want to modify the camera variables in the "bells and wistles" version on the terminal window.