Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problems with Kevin's 2007 default code (http://www.chiefdelphi.com/forums/showthread.php?t=52215)

bruss6 18-01-2007 19:26

Problems with Kevin's 2007 default code
 
Ya so when we upload Kevin's new 2007 code to the robot controller, we would get all green lights, but nothing would work. Anybody having the same problem/ have any suggestions.

DanDon 18-01-2007 19:53

Re: Problems with Kevin's 2007 default code
 
Did you download the new master code as well? (And were you either connected with radio or through tether?)

And what exactly isn't working?

bruss6 18-01-2007 21:08

Re: Problems with Kevin's 2007 default code
 
Well we think we might have it figured otu but is it risky to change the master code. And we were looking at the posts that talked about PWMs 13-16 and think that may have also been a problem

Cuog 18-01-2007 21:24

Re: Problems with Kevin's 2007 default code
 
Changing the Master code is a matter of following the instructions that are on IFI's website somewhere and installing the code they give you.

bear24rw 18-01-2007 21:49

Re: Problems with Kevin's 2007 default code
 
Nothing works because by defaults kevins code doesnt call Default_Routine()... call default routine in the main loop and everything will work fine..

6600gt 19-01-2007 02:11

Re: Problems with Kevin's 2007 default code
 
Quote:

Originally Posted by bear24rw (Post 560062)
Nothing works because by defaults kevins code doesnt call Default_Routine()... call default routine in the main loop and everything will work fine..

Be careful, I believe his code is configured to use the PWM 1 and 2 for the camera servos. Change that before you enable the default routine.

Bomberofdoom 19-01-2007 03:28

Re: Problems with Kevin's 2007 default code
 
That reminds me, wasn't the input for PWM01 and 02 p1_y and p2_y? Then how do the servos work??

bruss6 19-01-2007 09:21

Re: Problems with Kevin's 2007 default code
 
okay that helps. Will try to call the code.

6600gt 19-01-2007 15:42

Re: Problems with Kevin's 2007 default code
 
Quote:

Originally Posted by Bomberofdoom (Post 560237)
That reminds me, wasn't the input for PWM01 and 02 p1_y and p2_y? Then how do the servos work??

if you look in the Tracking.h then you will see what pwmXX is labeled to the PAN_Servo and the TILT_Servo defines.

If they are pwm01 and pwm02 then you will have serious problems if you have the camera on while trying to drive the joysticks.

Just change the pan and tilt pwms...look into the ifialiases.h to get some better understanding.


All times are GMT -5. The time now is 04:12.

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