Go to Post I got dragged into FIRST against my will, and it was the best thing that's ever happened to me. - Liz C [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 21-01-2007, 01:10
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,306
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Help! how do I get started....

Hi all,
New programmer to our team. We lost our old programmer for the time being.
I searched the IFI website and spent 1 hour trying to find docs on step by step instructions on what to do.
1. I downloaded the MPlab program, compiler and IFIloader. However,where is the default code? I checked the sticky on getting started and the links dont work.
  #2   Spotlight this post!  
Unread 21-01-2007, 01:23
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
Re: Help! how do I get started....

The Default Code is on the Robot Controller page of the IFI Robotics website. It's labeled 2007 Default Code, near the bottom of the page.

As for getting started in programming...it depends how much you know. If you've never programmed before, I hate to say it, but you won't be able to just start programming the robot immediately. Just like learning an actual language, you have to learn a fair bit, before you can start speaking and writing, and even then you won't be able to do much.

If you know the basics of programming logic, but not C, you can probably be able to use C enough with a day or two of reading, and some reference material of syntax and such. If you already know C, it's just a matter of learning how the FIRST RC system works, which wouldn't take more than a few hours of reading. I don't know if there are any documents that explain the basics of the system, in laymen's terms, but I could probably write one in an hour or so. Unless anyone else knows of one?
__________________
Code:
void function(void)
 {
  function();
 }
  #3   Spotlight this post!  
Unread 21-01-2007, 01:33
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,306
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Re: Help! how do I get started....

thanks.
i cant believe they make it so hard to find.
  #4   Spotlight this post!  
Unread 21-01-2007, 01:38
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,306
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Re: Help! how do I get started....

allright.
now that i downloaded the folder, which one is it?? there are tons of files.
which is which, .h, .hex and after loaded?
  #5   Spotlight this post!  
Unread 21-01-2007, 01:46
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,306
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Re: Help! how do I get started....

whats the difference between the .mcw and .mcp file extension?
  #6   Spotlight this post!  
Unread 21-01-2007, 01:47
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
Re: Help! how do I get started....

Well, the actual code files are all of the .c, .h, .lib, and .lkr files. You'll most likely only be working with one or two of the .c and .h files, so you don't have to worry too much about the rest. MPLAB does all the work of putting thes files together for you, in compilation. Just open up MPLAB and then, under the project tab, click open and look for the .mcp file in that folder. It'll list all of the files that are part of the "Project" in a side panel, and you can open them at your leisure.

Now, again, how much do you know about programming.

The .mcp file contains information about the project, such as what files to compile, how they are linked, additional arguments to be supplied to the compiler and linker, etc. The .mcw file is your workspace. It's this file that enables you to close MPLAB and open it up again later, with all the files you were working with still open, and in the same place. But don't worry about that, cause you never even touch these files. The only files you CAN edit are the .c and .h files. And even then, you'll only be working with two or three of them.
__________________
Code:
void function(void)
 {
  function();
 }

Last edited by Jake M : 21-01-2007 at 01:51.
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
Help: How do we get a teacher to help? (was: Help) ChaosAlchimey General Forum 13 21-01-2007 11:57
Newbie question ... How to get started greg544 Rules/Strategy 14 15-12-2006 10:47
How will Autonomous mode be started powercat Programming 11 30-01-2003 16:46
How it all started Joe Canavan General Forum 1 04-08-2001 15:44


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

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