Go to Post Either you have it hooked up wrong, or you have the Battery of the Gods. Probably filled with Mountain Dew... - nighterfighter [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 06-01-2008, 01:22
Demothesis's Avatar
Demothesis Demothesis is offline
Team Leader/Programmer
FRC #2169 (KING TeC)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Prior Lake
Posts: 32
Demothesis is on a distinguished road
Smile 2008 Default Code?

Does 2008 have default code? Where can I find it - all powerful Google turned up nothing, and I couldn't find it on IFI, Kevin's Code Rep., nor on the FIRST website.

If it is just the default code from last year, is the "autonomous" considered equivalent to "hybrid?" So we'd put Hybrid code in 'user_routines_fast.c' if that would be the case, right?

Thanks for the clarification and kudos to CD for making it on the 08 kickoff broadcast

Demothesis
  #2   Spotlight this post!  
Unread 06-01-2008, 11:42
Los Frijoles's Avatar
Los Frijoles Los Frijoles is offline
Stormin' Mormon
AKA: Kevin Cuzner
FRC #2062 (C.O.R.E.)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Waukesha, WI
Posts: 27
Los Frijoles has a spectacular aura aboutLos Frijoles has a spectacular aura about
Send a message via AIM to Los Frijoles
Re: 2008 Default Code?

The code from last year works and until we get an update about it, that is what my team is using.

Yes, you place the hybrid code 'user_routines_fast.c'.
  #3   Spotlight this post!  
Unread 06-01-2008, 12:05
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,356
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: 2008 Default Code?

"The Beans" (Los Frijoles) is correct, this years code is the same as last years. Autonomous = Hybrid mode.

Now there is an alternative for the code this year.
Kevin Watson has released a version that is essentially a replacement for the default code, and in my opinion, is WAY BETTER and EASIER to FOLLOW and UNDERSTAND. It was specifically written for MPLAB 8.0 and C18 v 3.10. He has also just released a version that is modified to work with C18 v 2.4 that you should already have. All of this can be found in this thread.
It is available on the first page, but read the entire thread. You may want to upgrade to the newer MPLAB and C18, those links are there as well. Please read the entire thread as it shows experiences people have had installing it and some of the common problems and solutions to they have come across.
Lastly, please remember, Kevin's code is currently experimental and not guaranteed not to have bugs, but it is Kevin Watson's code, meaning, it is really good!!!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #4   Spotlight this post!  
Unread 07-01-2008, 08:04
Demothesis's Avatar
Demothesis Demothesis is offline
Team Leader/Programmer
FRC #2169 (KING TeC)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Prior Lake
Posts: 32
Demothesis is on a distinguished road
Re: 2008 Default Code?

Very nice, guys. Thanks. And I will definitely check out Kevin's code - I am intrigued.

Demothesis
  #5   Spotlight this post!  
Unread 07-01-2008, 09:12
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: 2008 Default Code?

I have the IFI default code from last year and I notice that it hasn't changed at the IFI web site. However, There doesn't seem to be a copy of the IFI default code in the Kit Of Parts. Is everybody expected to go the the IFI site to get it or is it hidden on one of the three disks in the KOP and I just haven't found it?
  #6   Spotlight this post!  
Unread 07-01-2008, 09:51
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: 2008 Default Code?

Quote:
Originally Posted by Mike Mahar View Post
I have the IFI default code from last year and I notice that it hasn't changed at the IFI web site. However, There doesn't seem to be a copy of the IFI default code in the Kit Of Parts. Is everybody expected to go the the IFI site to get it or is it hidden on one of the three disks in the KOP and I just haven't found it?
I haven't used the 2008 RC yet (we are building our kit bot tonight) but I am pretty sure its the same as the 2007 RC. So you would use the same default code.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)

Last edited by jtdowney : 07-01-2008 at 10:32.
  #7   Spotlight this post!  
Unread 07-01-2008, 10:04
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: 2008 Default Code?

Yes, I know that it is the same as 2007 and I do have a copy of that and I know where to get it from IFIRobotics. So I don't really have a problem. My question is did the Default code come with the KOP? I'm wondering this because I couldn't find it there and new teams might be confused.
  #8   Spotlight this post!  
Unread 07-01-2008, 10:32
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,356
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: 2008 Default Code?

Quote:
Originally Posted by Mike Mahar View Post
My question is did the Default code come with the KOP?
I don't believe it is included in the KOP. In fact, I don't recall it being in there for at least four years. (I have only been here four years, so I can't comment on years prior to that.) I believe using the 2007 Default Code will be just fine, but if someone knows otherwise, please speak up.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #9   Spotlight this post!  
Unread 11-01-2008, 21:37
MiniNerd24's Avatar
MiniNerd24 MiniNerd24 is offline
Are you going to eat that?
FRC #2039 (Rockford Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: Illinois
Posts: 375
MiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the rough
Re: 2008 Default Code?

Hi I've looked all over the FIRSt site but I can't find the actual code. can someone help me?
__________________
The system is down.


Rockford Robotics 2039: Think outside the bots.
  #10   Spotlight this post!  
Unread 11-01-2008, 21:44
lukevanoort lukevanoort is offline
in between teams
AKA: Luke Van Oort
no team
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
lukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond repute
Send a message via AIM to lukevanoort
Re: 2008 Default Code?

You should go to http://www.ifirobotics.com/ (actual default code) or http://kevin.org/frc/ (default code with more sensor support and a new default code with a better structure)
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain
  #11   Spotlight this post!  
Unread 11-01-2008, 21:50
MiniNerd24's Avatar
MiniNerd24 MiniNerd24 is offline
Are you going to eat that?
FRC #2039 (Rockford Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: Illinois
Posts: 375
MiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the rough
Re: 2008 Default Code?

Thank you very much!!!!
__________________
The system is down.


Rockford Robotics 2039: Think outside the bots.
  #12   Spotlight this post!  
Unread 06-01-2008, 12:00
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: 2008 Default Code?

Quote:
Originally Posted by Demothesis View Post
Does 2008 have default code? Where can I find it - all powerful Google turned up nothing, and I couldn't find it on IFI, Kevin's Code Rep., nor on the FIRST website.

If it is just the default code from last year, is the "autonomous" considered equivalent to "hybrid?" So we'd put Hybrid code in 'user_routines_fast.c' if that would be the case, right?

Thanks for the clarification and kudos to CD for making it on the 08 kickoff broadcast

Demothesis
What it comes down to is the autonomous code was just code that ran with all inputs from the OI zeroed out. Since the IR signals come directly to a digital input on the robot its data would be available to the autonomous code.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
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
Problems integrating CMUCAM code and IFI Default Code Windward Programming 2 06-02-2007 16:48
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
user code to default code phoenixomega001 Programming 5 09-01-2005 00:09
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12


All times are GMT -5. The time now is 23:15.

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