Go to Post Including the Kinect in the kit a parts is actually an evil plan. The programers are going to spend all their time playing with the Kinect. In competition the robot is just to sit there because it will not have a program. :ahh: - FrankJ [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 25-01-2007, 19:09
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Com Terminal 1 Window Problem.

so i have a bunch of printf's in my code..

however, when you run the IFI loader, load the code and go to view the com terminal window, nothing is displayed there.

- everything is connected (ie, lets say im trying to read in a values from a pot, i have the inputs wired correctly and called correctly in the code)
- ive checked the printf code and its properly written
- a funny thing happens though, if i unplug, then plug back in, the serial port cable into the frc controller in the program port.. the com terminal 1 window will display a "IFI>" on a new line. it will do this every time i unplug, then replug the serial cable into the 'program' port on the controller..

anyone know what may be happening/have encountered something like this/ or have any suggestions?


thanks,

groovy.
  #2   Spotlight this post!  
Unread 25-01-2007, 20:38
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,112
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: Com Terminal 1 Window Problem.

What you describe sounds like the RC isn't running your program. It will give those symptoms if the OI isn't connected. Are you running it tethered, or with the radio link? What do the lights on the RC show?
  #3   Spotlight this post!  
Unread 25-01-2007, 22:39
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,722
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: Com Terminal 1 Window Problem.

I'll also ask the obvious.
Are you using:
#include <stdio.h>
in every file you have printf's?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 25-01-2007, 22:55
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
Re: Com Terminal 1 Window Problem.

Quote:
Originally Posted by Mark McLeod View Post
I'll also ask the obvious.
Are you using:
#include <stdio.h>
in every file you have printf's?
I'd assume he'd have to, or else the program won't compile.
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
  #5   Spotlight this post!  
Unread 25-01-2007, 22:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,722
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: Com Terminal 1 Window Problem.

Quote:
Originally Posted by Shinigami2057 View Post
I'd assume he'd have to, or else the program won't compile.
Actually it can.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
Terminal Window teh_pwnerer795 Programming 1 02-01-2007 00:21
Terminal Window Idaman323 Programming 0 20-02-2006 19:28
SLU-35 Terminal Lugs Mr.D Electrical 2 23-01-2006 10:49
Is Terminal Window Evil? Fat Alex Programming 1 20-07-2004 10:57


All times are GMT -5. The time now is 10:43.

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