Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   2007 demo code not working (http://www.chiefdelphi.com/forums/showthread.php?t=51580)

thefro526 11-01-2007 17:26

2007 demo code not working
 
My team attempted to upload the 2007 demo code for the camera an it did not work.

Is there something special we need to do?

I had it in autonomous mode and the camera was on it reconized the light but did not move

Imajie 11-01-2007 17:50

Re: 2007 demo code not working
 
Make sure your robot is in autonomous mode. It doesn't call the camera code in operator control.

Kingofl337 11-01-2007 23:08

Re: 2007 demo code not working
 
Were the servo's plugged into PWM's 10 and 11?

Hit F6 it will show you the defines for the camera servo and tilt PWM ports.
Then you can change them to what ever you want. Also when the terminal
window is open make sure you check off "graphics display"

Windward 12-01-2007 20:07

Re: 2007 demo code not working
 
Quote:

Originally Posted by Kingofl337 (Post 554669)
Were the servo's plugged into PWM's 10 and 11?

Hit F6 it will show you the defines for the camera servo and tilt PWM ports.
Then you can change them to what ever you want. Also when the terminal
window is open make sure you check off "graphics display"

The default pwms (at least in the default codes I have seen) are PAN_SERVO = pwm01 & TILT_SERVO = pwm02. The PAN_SERVO and TILT_SERVO macros are defined in tracking.h.

Kingofl337 12-01-2007 23:43

Re: 2007 demo code not working
 
And your trying to get it to work in easyC?

If your using easyC I recommend you try this first.
http://www.intelitekdownloads.com/ea..._2007_demo.zip

It sounds like your trying to get Kevin's code to work in easyC. Which isn't a big deal I just want to make sure your not confused.


All times are GMT -5. The time now is 10:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi