Go to Post That is the ultimate "dream match" that I long to see. If not during the season, maybe we will see it at IRI. :) . - dlavery [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 22-01-2006, 15:52
incognito_NICK's Avatar
incognito_NICK incognito_NICK is offline
hidden in the corner
AKA: Nick Ferreira
#0179 (Children of the swamp (swampthing))
Team Role: Programmer
 
Join Date: Nov 2004
Rookie Year: 2002
Location: palm beach gardens
Posts: 15
incognito_NICK will become famous soon enough
Send a message via ICQ to incognito_NICK Send a message via AIM to incognito_NICK
why does it say"IFI>"?

I have loaded the camera code from Kevin into our RC. But, the problem is when we try to get it to run, the terminal window only displays "IFI>". And then camera tilts down.

What does this mean?
  #2   Spotlight this post!  
Unread 22-01-2006, 15:56
iBheat's Avatar
iBheat iBheat is offline
Registered User
FRC #0418 (Lasa Robotics)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Austin, TX
Posts: 24
iBheat is on a distinguished road
Re: why does it say"IFI>"?

Which version of Kevin's code did you load?
  #3   Spotlight this post!  
Unread 22-01-2006, 16:10
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: why does it say"IFI>"?

Quote:
Originally Posted by incognito_NICK
I have loaded the camera code from Kevin into our RC. But, the problem is when we try to get it to run, the terminal window only displays "IFI>". And then camera tilts down.

What does this mean?
Does the program light stay orange?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #4   Spotlight this post!  
Unread 22-01-2006, 20:57
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: why does it say"IFI>"?

Quote:
Originally Posted by Kevin Watson
Does the program light stay orange?

-Kevin
It probably does stay orange. I used to get that "IFI>" when I had a "partial" code error.

printf("IFI 2006 User Processor Initialized ...\r"); /* Optional - Print initialization message. */

^-- That's the line that didn't print completely..
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
  #5   Spotlight this post!  
Unread 22-01-2006, 21:10
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: why does it say"IFI>"?

Don't you need the operator interface connected to run the robot controller.
I think its a safety feature in case of radio loss. Thats probably what it thinks...
  #6   Spotlight this post!  
Unread 22-01-2006, 21:28
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: why does it say"IFI>"?

Quote:
Originally Posted by 6600gt
Don't you need the operator interface connected to run the robot controller.
I think its a safety feature in case of radio loss. Thats probably what it thinks...
Yes, you do need the OI connected somehow, radio or tether. However, the program keeps running once it is started, despite radio failiure. The outputs are shut off, but your code will keep executing, and you will keep seeing serial output (if it is programmed to do so).

As for this:
printf("IFI 2006 User Processor Initialized ...\r"); /* Optional - Print initialization message. */

That line doesn't execute in Kevin's latest camera code. That entire section is commented out, if my memory serves me well. You will get an "IFI>" line back, and I believe that this is the "initialized" message from the camera code. I get it every time I turn on power to the RC, so I don't think it can be a corrupt message or an error. If the CMUcam is working, you will get "Searching..." messages and the contents of the "T" (tracking) packets back from the camera (blob size, confidence, etc.).

If the camera tilts down, there could be a lot of things wrong. First, I've noticed that the cam is sensitive to ground changes. If I discharge static to the chassis of the 'bot, the servos twitch, and stay there. It appears that the servos only move when the output changes, but they "drift" if there is no change in the output...I haven't found a way to counter this yet. Also, this might be due to the servos being plugged into the wrong outputs. Kevin's camera code uses the RC's PWM output 1 for pan, 2 for tilt (I think). Don't plug the servos into the CMUcam's servo outputs. They aren't used here. I'm not sure what else could be wrong, but if you do come across another problem, you can post back here and we'll try our hardest to help.

Good luck, and gosh that was a long post...
JBotAlan
__________________
Aren't signatures a bit outdated?
  #7   Spotlight this post!  
Unread 22-01-2006, 21:38
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: why does it say"IFI>"?

I did assume that's the line the window was printing, so I could easily be wrong about that. However, I saw the "IFI>" message many-a-times during the '05 build, and it would always happen when there was a code error of the red/orange/oscillating-light-of-death variety.

I guess I should just wait for the thread starter to comment.
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
  #8   Spotlight this post!  
Unread 22-01-2006, 22:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: why does it say"IFI>"?

The "IFI>" prompt is displayed when the master code goes into "program" mode. You'll see it reliably and repeatably when you hold down the program button.
  #9   Spotlight this post!  
Unread 22-01-2006, 22:09
incognito_NICK's Avatar
incognito_NICK incognito_NICK is offline
hidden in the corner
AKA: Nick Ferreira
#0179 (Children of the swamp (swampthing))
Team Role: Programmer
 
Join Date: Nov 2004
Rookie Year: 2002
Location: palm beach gardens
Posts: 15
incognito_NICK will become famous soon enough
Send a message via ICQ to incognito_NICK Send a message via AIM to incognito_NICK
Re: why does it say"IFI>"?

Quote:

As for this:
printf("IFI 2006 User Processor Initialized ...\r"); /* Optional - Print initialization message. */

That line doesn't execute in Kevin's latest camera code. That entire section is commented out, if my memory serves me well. You will get an "IFI>" line back, and I believe that this is the "initialized" message from the camera code. I get it every time I turn on power to the RC, so I don't think it can be a corrupt message or an error. If the CMUcam is working, you will get "Searching..." messages and the contents of the "T" (tracking) packets back from the camera (blob size, confidence, etc.).
I think that this may be my problem because i did recall coming across this line when looking at the code. I didn't change it because I thought thats the way it was suposed to be. So the next time I am at the shop I will be sure to give it a try.

thanks for the help.
-nick
  #10   Spotlight this post!  
Unread 22-01-2006, 23:20
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: why does it say"IFI>"?

Quote:
Originally Posted by Alan Anderson
The "IFI>" prompt is displayed when the master code goes into "program" mode. You'll see it reliably and repeatably when you hold down the program button.
Actually I think it shows that every powerup, I seem to remember using that as an indicator the RC was on when I couldn't see its lights. Perhaps its just my memory being faulty, I will check tomorrow.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #11   Spotlight this post!  
Unread 22-01-2006, 23:43
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: why does it say"IFI>"?

I agree with Alan. It shows up when you press the program button.
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
  #12   Spotlight this post!  
Unread 23-01-2006, 02:03
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: why does it say"IFI>"?

Quote:
Originally Posted by Matt Krass
Actually I think it shows that every powerup, I seem to remember using that as an indicator the RC was on when I couldn't see its lights. Perhaps its just my memory being faulty, I will check tomorrow.
I can confirm that it displays on every powerup, but not when you press the reset button. My question is, is there any way to disable it? It confuses something I have connected to the Program port.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #13   Spotlight this post!  
Unread 23-01-2006, 12:07
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: why does it say"IFI>"?

I doubt there is a way to shut off the IFI> prompt. What are you using, connected to the program port, that doesn't like that prompt?

BTW, did you steal my "good rep is always nice" line?
__________________
Aren't signatures a bit outdated?
  #14   Spotlight this post!  
Unread 23-01-2006, 12:51
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: why does it say"IFI>"?

Quote:
Originally Posted by JBotAlan
I doubt there is a way to shut off the IFI> prompt. What are you using, connected to the program port, that doesn't like that prompt?

BTW, did you steal my "good rep is always nice" line?
It's a top-secret piece of custom circuitry that will be revealed at competition.
Whay I can say about it is that it uses autobaud detection; i.e. it expect the @ sign to be the first thing sent to it on bootup. When it receives the I instead, it calibrates to the wrong baudrate.

And yes, I did "borrow" your line.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL

Last edited by Eldarion : 23-01-2006 at 12:55.
  #15   Spotlight this post!  
Unread 23-01-2006, 13:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: why does it say"IFI>"?

Quote:
Originally Posted by Eldarion
...it uses autobaud detection; i.e. it expect the @ sign to be the first thing sent to it on bootup. When it receives the I instead, it calibrates to the wrong baudrate.
If you have control of the mystery device's software, the solution is obvious: don't do baud rate detection. If you can't fix it that way, the only simple thing I can think of to try is to add a delay circuit that prevents data from getting through at all until some time after power is applied.

(More complicated possibilities abound, such as putting another custom circuit in the line that sends the @ character before the RC has a chance to foul up the baud rate.)
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 01: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