|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
|||||
|
|||||
|
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? |
|
#3
|
||||
|
||||
|
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
|
|
#4
|
|||||
|
|||||
|
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.
|
|
#5
|
||||
|
||||
|
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..
|
|
#6
|
||||
|
||||
|
Re: Problems with Kevin's 2007 default code
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.
|
|
#7
|
|||||
|
|||||
|
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??
|
|
#8
|
||||
|
||||
|
Re: Problems with Kevin's 2007 default code
okay that helps. Will try to call the code.
|
|
#9
|
||||
|
||||
|
Re: Problems with Kevin's 2007 default code
Quote:
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. Last edited by 6600gt : 19-01-2007 at 16:02. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2007 Default Code? | Binome | Programming | 52 | 11-01-2007 14:27 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| What are with the Ls in Kevin's code??!!! HELP!!! | RbtGal1351 | Programming | 2 | 18-02-2005 16:57 |
| problem with the default code | MarkVH | Programming | 7 | 28-01-2005 00:04 |
| Problem with FRC Default code | AsimC | Programming | 2 | 11-01-2004 19:22 |