Go to Post I emailed Brandon Martus to have my username changed. It was updated within a day. Champion webmaster at work. - Gregor [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 16-01-2006, 23:05
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Searching...

In the terminal window after I download the camera code it is suppose to display searching and then the camera is suppose to searching for a target. It never does and nothing is ever displayed in the terminal window.
  #2   Spotlight this post!  
Unread 16-01-2006, 23:26
Terry Sherman's Avatar
Terry Sherman Terry Sherman is offline
Mentor -- Software
FRC #0093 (NEW Apple Corps.)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2003
Location: Wisconsin
Posts: 25
Terry Sherman is an unknown quantity at this point
Re: Searching...

Quote:
Originally Posted by railerobotics
In the terminal window after I download the camera code it is suppose to display searching and then the camera is suppose to searching for a target. It never does and nothing is ever displayed in the terminal window.
We've seen this as well but it occurs for us when our serial communications with the camera is not working (cable wiggled lose) or the power was not applied (again typically a cable came loose). the 'Searching...' text is displayed after receiving 'T' packets from the camera which are the cameras what of saying what it sees.

Some things you might check or do (sorry if any of these are obvious):
1.) Verify you have downloaded Kevin Watson's 2006 Camera Code, you need IFI Loader 1.0.12
2.) Verify you have the serial connection wired correcly, we use the TTL->RS-232 adapter on the TTL port of the Robot Controller and then use a 3-wire 'PWM' cable to connect from that convertor to the robot controller's 3-pin RS-232 connector. Kevin has this described in his guide.
3.) Confirm power is applied
4.) Kevin has posted a program to verify serial communiations, though our team hasn't tried it yet, I suggest you use it to verify your setup.
5.) Kevin has some debug code that you can enable via a #define in camera.h "_DEBUG". uncomment his line and some useful debug messages should be available.

Hope this helps!
-Terry
  #3   Spotlight this post!  
Unread 17-01-2006, 08:33
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Searching...

Here is what is displayed in the terminal window when debug is enabled.

Camera: Initialized abnormally with code 131
Camera: Initialization state = 1
Camera: No EEPROM configuration data found; using default parameters
Camera: Initialization state = 2
Camera: Initializatoin state =3

Thanks for your information. I'll try all of it today after school.
  #4   Spotlight this post!  
Unread 17-01-2006, 10:40
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: Searching...

That sequence of debug information means the camera isn't responding to commands. It could be as simple as a disconnected wire in either the power or communication cables, or as nasty as a fried camera or TTL converter board. It's most likely to be one of two things: the PC serial cable is still plugged in to the camera and is interfering with communication, or you're using the broken release of the camera default code. See http://www.chiefdelphi.com/forums/sh...78&postcount=5 for Kevin's explanation of the problem and instructions on how to correct it.
  #5   Spotlight this post!  
Unread 17-01-2006, 17:07
railerobotics's Avatar
railerobotics railerobotics is offline
Registered User
FRC #0935
 
Join Date: Jan 2006
Location: Newton, KS
Posts: 190
railerobotics will become famous soon enough
Re: Searching...

I ran Kevins serial port diagnostics. The camera passed the first test but failed the second. What does this mean?

Last edited by railerobotics : 17-01-2006 at 17:23.
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
Searching for a Laptop s0lidMetal Programming 12 30-03-2005 17:36
A Searching Tutorial Katie Reynolds CD Forum Support 5 03-02-2005 16:39
searching for sponsors n0cturnalxb General Forum 17 21-09-2004 06:14
searching David Kelly CD Forum Support 1 10-08-2001 18:05


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

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