Go to Post An innovative strategy based off of good scouting beats a #1 alliance any day. - rufu5 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2007, 19:26
bruss6's Avatar
bruss6 bruss6 is offline
Registered User
FRC #0843 (Wildcats)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Canada
Posts: 16
bruss6 is an unknown quantity at this point
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   Spotlight this post!  
Unread 18-01-2007, 19:53
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
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   Spotlight this post!  
Unread 18-01-2007, 21:08
bruss6's Avatar
bruss6 bruss6 is offline
Registered User
FRC #0843 (Wildcats)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Canada
Posts: 16
bruss6 is an unknown quantity at this point
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   Spotlight this post!  
Unread 18-01-2007, 21:24
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
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.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #5   Spotlight this post!  
Unread 18-01-2007, 21:49
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
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   Spotlight this post!  
Unread 19-01-2007, 02:11
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Problems with Kevin's 2007 default code

Quote:
Originally Posted by bear24rw View Post
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.
  #7   Spotlight this post!  
Unread 19-01-2007, 03:28
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
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   Spotlight this post!  
Unread 19-01-2007, 09:21
bruss6's Avatar
bruss6 bruss6 is offline
Registered User
FRC #0843 (Wildcats)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Canada
Posts: 16
bruss6 is an unknown quantity at this point
Re: Problems with Kevin's 2007 default code

okay that helps. Will try to call the code.
  #9   Spotlight this post!  
Unread 19-01-2007, 15:42
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Problems with Kevin's 2007 default code

Quote:
Originally Posted by Bomberofdoom View Post
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.

Last edited by 6600gt : 19-01-2007 at 16:02.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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