Go to Post I know you've finished the first 75% of the robot, but do you have enough time left to finish the other 75%? - Rick TYler [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 08-02-2008, 15:38
Bacu Bacu is offline
Registered User
FRC #2393
 
Join Date: Feb 2008
Location: Tennessee
Posts: 2
Bacu will become famous soon enough
Absolutely lost

if you hadn't guessed, I'm a first year. Somewhat proficient in C, but I can't find the source code for the bot. I've got all the 2008 software (C18 compiler, ITI loader, etc) is the code in there? if so, where? I've looked at all the code that's in the topics pinned, but I didn't see anything that looked relevant? Shouldn't there be some huge .c file?

Last edited by Bacu : 08-02-2008 at 15:44.
  #2   Spotlight this post!  
Unread 08-02-2008, 16:09
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: Absolutely lost

Go to http://ifirobotics.com/rc.shtml. Scroll down to the bottom of the page and download "2007 RC Code."

You might also want to read this post http://www.chiefdelphi.com/forums/sh...1&postcount=62

Hope that helps,
Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #3   Spotlight this post!  
Unread 08-02-2008, 16:15
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: Absolutely lost

Actually, if I recall correctly, the 2007 code will not work with version 3.0+ of the compiler.

To get the correct version, you can go to Kevin Watson's website to download the proper code for this year. There are two versions on there: ifi_frc_sensor and ifi_frc_simple. The differences are explained on the site.

When you try to compile your code, you may get an error about "clib.lib." To fix this, simply go to Project-->Build Options-->Directory. Then go to the Library Search Options and create a new one that points to wherever mcc18\lib is on your computer.

Hope this all helps.

EDIT: You may consider also looking in this thread for more information about this year's code.
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
  #4   Spotlight this post!  
Unread 08-02-2008, 16:33
Bacu Bacu is offline
Registered User
FRC #2393
 
Join Date: Feb 2008
Location: Tennessee
Posts: 2
Bacu will become famous soon enough
Re: Absolutely lost

Okay got the code and saved all those .pdf and I got the code from kevin's site.

a few more questions:
is there any exceedingly complicated procedure to load the code to the bot?
how exactly do you switch from Autonomous mode to Telop?
  #5   Spotlight this post!  
Unread 08-02-2008, 16:43
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: Absolutely lost

To load the code into the bot, simply compile (ctrl+F10), go to IFI Loader and navigate to the folder in which your code is contained. There should be the appropriate *.hex file there. Connect your laptop to the robot using the black serial cable you got in your electronics kit (you may need to use a USB to serial converter depending on your laptop--these are available at Radio Shack). Hit the "PROG" button on your robot controller for about 3 seconds or so and the Program State LED should light up amber. Then download your code to the robot.

As for switching between autonomous/hybrid and teleoperated mode, here are a few threads that address this topic:
http://www.chiefdelphi.com/forums/sh...ad.php?t=63375
http://www.chiefdelphi.com/forums/sh...ad.php?t=62644
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
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
LOST!!! kireitenshi00 FIRST Tech Challenge 1 04-11-2005 09:35
lost teams archiver 2000 3 24-06-2002 00:25


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

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