Go to Post Inaccurate data is not data. It's guessing. - George1902 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #16   Spotlight this post!  
Unread 17-09-2011, 16:35
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,810
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Ye old IFI

Quote:
Originally Posted by Mark McLeod View Post
That's not true for the 2004-2008 controllers and I don't see how it could be true for the 2002 controller (it isn't true for mine but the Master Code might have changed since 2002).

When the RC loses power, the speed controllers and spikes stop receiving a PWM signal that allows them to move. They immediately go to the no signal state and stop until the RC finishes rebooting and reevaluates the joystick inputs when it comes back up (~ 5-10 seconds).

What is your speculation on the technical reasons why you had that problem in 2002?
Surface-charged battery is what we think the problem was (they may have also had heat damage); the motors would start running when told to at the start of the match, but the controller would cut out. The motors would keep running, and yes, that's keep running, at a slow speed, and the E-stop could NOT stop the robot. So there would be someone pushing the E-stop, and the robot would keep driving without anybody at the controls.

You might not see how it could be true, but that's what happened. That's one of the reasons the backup battery was put in place; that came in in 2004. The purpose of the backup battery was to maintain power to the controller so that you could stop the robot remotely--it's not intended to provide enough power to drive around, just to maintain communication. So after 2004, it was a non-issue due to the backup battery.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #17   Spotlight this post!  
Unread 17-09-2011, 19:41
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,830
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: Ye old IFI

I certainly disagree about the purpose of the backup battery.
It only saves the robot from rebooting in the middle of a match when the robot main battery voltage dips. Something that doesn't matter in demo presentations. We use the old controllers constantly and have never included the backup batteries.

That would have been a really bad band-aid if it was to solve a runaway robot problem (from a different generation of control system). It would be a very high risk solution to depend on teams running with a charged backup battery if they couldn't be depended on to run with a charged main battery either.
Estop plays no part. That only works in any case if the robot controller from any generation is listening and responsive.
I do know ways to accidentally power the speed controllers while the Basic Stamp RC from that generation is disabled, but I'd lean towards a corrupted Master controller program allowing that to happen. Which could have been caused by low voltage, but the solution is a circuit/master code redesign.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-09-2011 at 20:22.
  #18   Spotlight this post!  
Unread 12-10-2011, 07:11
docdavies's Avatar
docdavies docdavies is offline
Doc Davies
FRC #0346 (RoboHawks)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 1998
Location: Richmond, VA
Posts: 70
docdavies is an unknown quantity at this point
Re: Ye old IFI

Folks,

Like others in this thread, we've been asked to get our students to resurrect an old IFI controlled robot and get it in shape for demos and fundraising events....
The robot we have, has code on it, and runs, but only had limited functions. The marketing folks came to me and said, "Make it So"...or, get it to work and do what we want. I was not mentoring the team during those days and am once again looking at a "black box" I've got to figure out.
The posts here have been very useful, but I am having a very hard time finding the MPLAB V ~7..C 18.....2.4 software. Which if I understand it, has the bulk of the basic code required in files.

Would someone be kind enough to find me a link to that, and apparently the correct or corresponding IFI loader software. There are a considerable number of links out there to MPLAB software, but it's hard to sort through the stuff.

Thanks in advance,
Doc
  #19   Spotlight this post!  
Unread 12-10-2011, 11:31
smcmahon's Avatar
smcmahon smcmahon is offline
The Architect
AKA: Sean McMahon
FRC #2656 (QUASICS)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pittsburgh, PA
Posts: 197
smcmahon is an unknown quantity at this point
Re: Ye old IFI

Not sure if this would help any Doc, but we used RobotC to program our 2008 robot, which was the last one to use the IFI system.
  #20   Spotlight this post!  
Unread 12-10-2011, 11:42
Rich Kressly's Avatar
Rich Kressly Rich Kressly is offline
Robot/STEM troublemaker since 2001
no team (Formerly 103 & 1712. Now run U.P. Robotics (other programs))
Team Role: Mentor
 
Join Date: Oct 2001
Rookie Year: 2001
Location: Pennsburg, PA
Posts: 2,045
Rich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond repute
Re: Ye old IFI

Quote:
Originally Posted by Akash Rastogi View Post
I would kill to be able to build an IFI based robot right now.

So jelly.
vexrobotics.com just sayin ...
__________________
technology, innovation, and invention without a social conscience will only allow us to destroy ourselves in more creative ways
  #21   Spotlight this post!  
Unread 12-10-2011, 12:18
docdavies's Avatar
docdavies docdavies is offline
Doc Davies
FRC #0346 (RoboHawks)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 1998
Location: Richmond, VA
Posts: 70
docdavies is an unknown quantity at this point
Re: Ye old IFI

If RobotC can do it, and if it has the bulk of the example code in one of the .h files I'll give it a try. Again, where do I get it?

I've just read conflicting material about the software needed for the RC (I believe this is a 2004 unit).

Once again folks, I'm operating out of ignorance...anything you can post to enlighten me is appreciated.

And yes, I've checked VEX and for $50 I can supposedly get the disk...but will that one work and will it have the example code for FRC robots?

Last edited by docdavies : 12-10-2011 at 12:30.
  #22   Spotlight this post!  
Unread 12-10-2011, 12:43
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,810
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Ye old IFI

OK, we'll see if I can remember info from that far back.

2004 units did not have the same compiler/MPLab/whatever else as 2008 units. The good news, they were programmed in C.

But, as a general guide: MPLab was used to write and compile the code (in C, either year in question. I'm not entirely certain what it had/didn't have. The code was then loaded onto the controller using an IFI loader.

I don't know the procedure for RobotC, sorry.

Now, for something that may help you a bit more: http://www.kevin.org/frc/ is the site where Kevin Watson posted a lot of his code from 2004-2008. This is a lot of specialized code, but there should be some basic code around there too. There is also documentation.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #23   Spotlight this post!  
Unread 12-10-2011, 18:20
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: Ye old IFI

Quote:
Originally Posted by docdavies View Post
The posts here have been very useful, but I am having a very hard time finding the MPLAB V ~7..C 18.....2.4 software. Which if I understand it, has the bulk of the basic code required in files.

Would someone be kind enough to find me a link to that, and apparently the correct or corresponding IFI loader software. There are a considerable number of links out there to MPLAB software, but it's hard to sort through the stuff.
Old Versions of MPLAB can be found here (Version 7.2).
Here is the page for the C18 Compiler (you should be able to get a free academic version or a light version (or something, at least)). I don't remember exactly what version number is required, but I think it's 2.4. EDIT: It looks like you do need MPLAB 7.2 and C18 2.4 to compile 2004-2006 code, but I couldn't find anything about 2007/8. I would suppose the same versions would work, but that's a question best answered by someone actually programming FRC robots then (i.e. not me)
IFI loader and some other resources from IFI can be found here.

I also have some other resources somewhere, because I got the old development environment set up on my laptop this time last year. I'll see what I can dig up again for you.

Best of luck!
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android

Last edited by plnyyanks : 12-10-2011 at 18:23.
  #24   Spotlight this post!  
Unread 12-10-2011, 20:49
docdavies's Avatar
docdavies docdavies is offline
Doc Davies
FRC #0346 (RoboHawks)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 1998
Location: Richmond, VA
Posts: 70
docdavies is an unknown quantity at this point
Re: Ye old IFI

Thanks Phil....got'em

Been spending the evening looking at the Processing language and it's interaction with the Arduino. Found a great library that allow me to read joysticks and game controllers.

Who knows, maybe I'll just drop the IFI controller and go back to Arduinos.
  #25   Spotlight this post!  
Unread 13-10-2011, 14:48
docdavies's Avatar
docdavies docdavies is offline
Doc Davies
FRC #0346 (RoboHawks)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 1998
Location: Richmond, VA
Posts: 70
docdavies is an unknown quantity at this point
Re: Ye old IFI

Folks,

Nothing is ever easy.....

I got the links mentioned by Phil. Problem is, for the MPLAB C compiler the 2.40 version is just an upgrade and requires that you have a previous version installed...which I don't. If you try to use the upgrade with the current version 3.4....things get very unpleasant....

Is there a work around, or a link to the installation directions for 2.40, or a copy of the stand alone 2.40?

This is beginning to become more of a problem than it's worth...and we still have 6 projects to go BEFORE next build season.

Doc
  #26   Spotlight this post!  
Unread 13-10-2011, 21:51
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: Ye old IFI

Well, I found the old resources on my computer. I did find a ZIP with an installer for the student version of the compiler (which I'm mostly sure works - I've compiled stuff with it). I'll PM you with it.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #27   Spotlight this post!  
Unread 25-11-2011, 15:53
daniel_dsouza daniel_dsouza is offline
does what needs to be done.
FRC #2449 (Out of Orbit Robotics)
Team Role: Alumni
 
Join Date: May 2011
Rookie Year: 2011
Location: Chandler, AZ
Posts: 231
daniel_dsouza has a spectacular aura aboutdaniel_dsouza has a spectacular aura about
Re: Ye old IFI

Quote:
Originally Posted by plnyyanks View Post
Old Versions of MPLAB can be found here (Version 7.2).
Here is the page for the C18 Compiler (you should be able to get a free academic version or a light version (or something, at least)). I don't remember exactly what version number is required, but I think it's 2.4. EDIT: It looks like you do need MPLAB 7.2 and C18 2.4 to compile 2004-2006 code, but I couldn't find anything about 2007/8. I would suppose the same versions would work, but that's a question best answered by someone actually programming FRC robots then (i.e. not me)
IFI loader and some other resources from IFI can be found here.
The school computer (w. a serial port) that we received for programming will take a few days to get running. I have (thankfully) found our teams 2007 and 2008 discs, and in the meantime I am wondering if we can use more recent versions of the software vs. the versions listed above...

Could we use a newer version of the MPLAB IDE, or are we stuck using the version given to us in 2008?

What about the compiler, should I use the one given to us in 2008, or should I use the student version?

Thanks,
Daniel
  #28   Spotlight this post!  
Unread 25-11-2011, 16:16
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,830
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: Ye old IFI

The MPLAB IDE version doesn't matter. You can use a modern version.

The latest compiler will work, but only if you use matching FRC libraries (in other words you must use the same compiler that the libraries were compiled with).
The original code libraries available from the IFI archive page will only work with the old 2.4 version compiler.

The newer compiler will work with newer libraries that Kevin Watson compiled.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #29   Spotlight this post!  
Unread 25-11-2011, 16:20
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: Ye old IFI

Quote:
Originally Posted by daniel_dsouza View Post
Could we use a newer version of the MPLAB IDE, or are we stuck using the version given to us in 2008?

What about the compiler, should I use the one given to us in 2008, or should I use the student version?
I'll say that everything given to you on the disc is guaranteed to work, and that's your best bet.

Other than that, everything else is at your own risk. Kevin has links to libraries for both the 2.4 and 3.0 C18 compiler. My guess about the IDE is that it shouldn't make too much of a difference. If you can get the configuration to work, go for it.
Disclaimer: the above paragraph is my best guess, which is untested and I was not on a FRC team during the IFI days. I can't guarantee that anything other than the disc which was given in the KOP will work as you want it to.

EDIT: Yeah, what Mark said
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #30   Spotlight this post!  
Unread 27-11-2011, 22:32
dez250 dez250 is offline
54... What a good number!
no team
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Upstate NY / Manchester, NH
Posts: 1,721
dez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond repute
Send a message via AIM to dez250
Re: Ye old IFI

Quote:
Originally Posted by math311 View Post
I have at my disposal 4 interfaces, 4 radios. I have electrical parts for all of them to.
Some random parts i have.
An old gold circut board.
lots of 20 and 30 breakers.
a mile of cables.
I have some victors and spike relays
A robot that needs controls.
I actually have a controller set up with 2 joys and a Op interface and radio. I need to find the corresponding Robot interface and radio.
I have the little board that the 12 V connects to. I hope this works

Still searching for:
The backup battery
The little red black and gray blocks that could fit together that wires go into
The pwms we have that the programmers wont throttle me for taking(our team is low on the things)
Other random electrical junk

Because a majority of different IFI equipment was supplied over different years, a picture of all the equipment you have would be nice to see what you actually have, or better yet model numbers for the modems, OIs, and RCs you are in possession of. Once we know what actual controls you have, then assistance can be provided, and maybe even extra hardware may be kicking around that can help you get a robot running.
__________________
#5

-Michael Dessingue
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


All times are GMT -5. The time now is 03:09.

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