Go to Post Engineering is a big, big type of fishing to teach. Inspiring kids to study it in college might be more practical. - connor.worley [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 23-12-2010, 06:32
dag0620 dag0620 is offline
Because we're FiNE
AKA: David Givens
FRC #1071 (Team MAX)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wolcott, CT
Posts: 784
dag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond reputedag0620 has a reputation beyond repute
I need Pre-2009 Programmers

I was having a discussion with one of the members of the build team, and we were discussing how besides our 2010 Bot, we currently don't have any working robots ready to go. With Build season coming up, I know that we will soon be saying goodbye to our 2010 Bot as well and for a few weeks, won't have anything working to show to potential sponsors etc.

After some discussion we decided that it wouldn't be a bad idea to refit our 2010 robot with the control system parts from the 2008 robot and use this one for display. The problem is we have no one left on our team who worked with those. That doesn't mean I'm not going to attempt to make this work though!

So I have some basic questions to get me started with some help from you guys

1. What software will I need to work with these?

2. How do you hook both boards up (including configuring them)

3. How (type of wires) do I load code onto these.

5. What languages are these compatible with?

4. Any other important information?

If someone has past documentation for the control system, and any instillation packages for the required software that would be great!

Thanks in advance for all your help!
__________________
David Givens
Alumnus Team Max 1071 ('13) | FIRST Volunteer | NE FIRST

Away making magic for a bit...
  #2   Spotlight this post!  
Unread 23-12-2010, 08:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: I need Pre-2009 Programmers

Quote:
Originally Posted by dag0620 View Post
So I have some basic questions to get me started with some help from you guys
http://usfirst.org/roboticsprograms/...t.aspx?id=9152

The above link may help. Click the links under "Section 8 - The Robot".

Also this link:

http://usfirst.org/roboticsprograms/...nt.aspx?id=482


  #3   Spotlight this post!  
Unread 23-12-2010, 09:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: I need Pre-2009 Programmers

Here's our team archive about that control system
http://www.team358.org/files/program...stem2004-2008/

What (and how to get) you need as far as compiler and tools are covered under Programming Environment.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-12-2010 at 09:37.
  #4   Spotlight this post!  
Unread 23-12-2010, 19:20
TheChief TheChief is offline
Registered User
AKA: Larry Cole
FRC #1108 (Panther Robotics)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2007
Location: Kansas
Posts: 1
TheChief is an unknown quantity at this point
Re: I need Pre-2009 Programmers

Go to http://www.ifirobotics.com. Under Legacy you will find manuals, default code, etc.
  #5   Spotlight this post!  
Unread 24-12-2010, 10:17
alexhenning alexhenning is offline
WPILib Developer
FRC #0348
 
Join Date: Apr 2010
Rookie Year: 2003
Location: MA
Posts: 49
alexhenning will become famous soon enough
Re: I need Pre-2009 Programmers

I programmed the 2008 robot for our team.

We programmed in C (I think the only other option was EASY-C or some other visual C, but I have no experience with that).

If you want, pm me your email and I'll send you an image of the cd with the software (assuming I can find it...). I also have some code lying around if you want.
  #6   Spotlight this post!  
Unread 25-12-2010, 18:52
Fletch1373's Avatar
Fletch1373 Fletch1373 is offline
Registered User
AKA: Fletch
FRC #3181 (Panthers)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Rochester, NY
Posts: 251
Fletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud ofFletch1373 has much to be proud of
Re: I need Pre-2009 Programmers

I was in programming and electrical on my old team(from 2004-2007, and mentor 2008) and have a CD including anything you'll ever need to work with the old IFI controllers... here's the good news, I also live in CT! If you would like, I could join your programming and/or electrical team for a meeting to help you work through it. Feel free to send me a private message here if you have any questions or want to set something up!

-Fletch
__________________
Student:
<04: FRC0213> <05-08: FRC1373>
Mentor:
<09-10: FRC0809> <11-12: FRC3555> <12-14: FRC0073> <15-??: FRC3181>
Volunteer:
<FTAA> <CSA> <Defense Coordinator> <Scorekeeper> <Robot Inspector> <Official Scorer>
2016 Tour:
CTWAT [DefCoord] > Pittsburgh[Mentor/DefCoord] > TVR[FTAA] > FLR[CSA] > NE DCMP[CSA] > CMP[CSA]
  #7   Spotlight this post!  
Unread 26-12-2010, 11:02
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: I need Pre-2009 Programmers

All of the above links will guide you to the information you need, but here is a basic summary of the answers to your questions-

The old control system is programmed in C, typically using the MPLab IDE. Easy C is a visual C option, but wasn't used very much. You download the code via a serial cable, so chances are that you will need a USB-serial converter.

As for the wiring- You'll find that it is incredibly similar to the current control system. The easiest way to learn this is to check out the wiring diagrams. The main difference is that the big blue power distribution board in the current control system replaces two separate boards in the old system- the gold maxi fuse block (for motor/victor power) and the black fuse board (for lower-power devices).
__________________
Team 2052- KnightKrawler
Mentor and volunteer
  #8   Spotlight this post!  
Unread 26-12-2010, 14:01
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: I need Pre-2009 Programmers

Sorry if this is hijacking the topic a bit, but it seems to be the best place to ask this right now.

I followed the instructions in Mark's link and downloaded everything to my home computer (I don't have the programming laptop right now and I wanted to test if this worked). I loaded up the workspace and the project, set the device to PIC18F8722, and attempted to compile the default code in frc-code-2007-8722.zip. When I compile I get an error about an ADC_16ANA being undefined. I traced the symbol back to adc.h, which only defines ADC_16ANA if ADC_V9 is defined. pconfig.h defines ADC_V5 for a PIC18F8722 though.

Using MPLab 8.60.00.00 MCC18 v3.36
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #9   Spotlight this post!  
Unread 26-12-2010, 15:39
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: I need Pre-2009 Programmers

IFI's website says you have to use MPLAB ver 7.20 and C18 Compiler ver 2.40 (http://www.ifirobotics.com/rc.shtml). You can find an educational version of the compiler and MPLAB 7.2 is out there somewhere. I was able to get the system working for myself a couple months ago. If you need a hand, or a ZIP of MPLAB and the complier, let me know
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #10   Spotlight this post!  
Unread 26-12-2010, 18:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: I need Pre-2009 Programmers

You need to use a 3.x version of the FRC libraries with the 3.x compiler.


You might want to look at Kevin Watson's remake of a default program. It has 2.x and 3.x libraries for both the 8520 (2004-2005) as well as the 8722 (2006-2008) versions of the FRC Robot Controller and is better documented:
http://kevin.org/frc/ifi_frc_simple.zip

MPLAB has some options you may have missed that need to be set correctly.

Double check the settings under
Project->Build Options->Project
Specifically,
  • the ones for Include Path and Library Path under the General tab.
  • The settings under the MPLAB C18 tab/general. I have -D_FRC_BOARD and use the Large Code/data memory model
I won't have a machine to test and troubleshoot the latest compiler on until after New Years.
Attached Files
File Type: zip 8722-3x_libraries.zip (8.5 KB, 8 views)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-12-2010 at 19:14.
  #11   Spotlight this post!  
Unread 26-12-2010, 21:10
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: I need Pre-2009 Programmers

Thanks for the help, I found a link to the student edition of v2.40. Funny how googling with site:chiefdelphi.com works better than the search function on here
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
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
CALLING ALL PROGRAMMERS I NEED HELP tomy Java 1 01-04-2010 23:11
Big Project In Progress for FIRST: Need Programmers Who Want to Help bendh18 General Forum 5 15-06-2009 23:41
2009 Colorado Pre-Ship Scrimmage reb12 Off-Season Events 1 16-02-2009 08:29
2009 Greater Bay Area Pre-Ship Lunacy Scrimmage Cory Off-Season Events 11 15-02-2009 22:50
2009 controls system pre-ship martin417 FRC Control System 16 17-12-2008 15:19


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

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