Go to Post Come on how can you not be excited about IRI! - richardp [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 14-02-2006, 21:26
Jaden's Avatar
Jaden Jaden is offline
Registered User
AKA: Jae
FRC #0494 (494 martians)
Team Role: Programmer
 
Join Date: Feb 2006
Location: Michigan
Posts: 2
Jaden is an unknown quantity at this point
Post T packets?

So We got our code set up and we think that everything should be niffty and fine; we're using almost default camera code but for some reason we dont get any T packets. The code would run fine if we were getting somthing but we're not. The part we get hung up on is that when we need to run the camera_track_update function we end up getting stuck on wait_for_data() which always = 0. I don't uderstand why this is happening because the camera gets the ACK and running fine, it even sees the light when we check it with Lab veiw. If anyone knows anything that could help us out we would really appreciate it. Thank you very much.
  #2   Spotlight this post!  
Unread 14-02-2006, 21:42
Beth Sweet's Avatar
Beth Sweet Beth Sweet is offline
is getting lost in her new home
FRC #0116 (Epsilon Delta), #1504 (alum), #67 (alum)
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Reston, VA
Posts: 1,938
Beth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond reputeBeth Sweet has a reputation beyond repute
Re: T packets?

Does this thread answer your question?
__________________
This season, I was a part of a great team, with great kids who were really inspired, and who inspired me back. That's my brag, what's yours?
  #3   Spotlight this post!  
Unread 15-02-2006, 16:25
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: T packets?

It sounds like you are not communicating with the camera. Grab Kevin's frc_serial_port_diagnostics at http://kevin.org/frc, and see if they shed any light on the matter.

You can also try uncommenting the "// #define _DEBUG" line in camera.h. If there's no communicating going on, Initialize_Camera() should print an error message.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #4   Spotlight this post!  
Unread 18-02-2006, 21:16
Jaden's Avatar
Jaden Jaden is offline
Registered User
AKA: Jae
FRC #0494 (494 martians)
Team Role: Programmer
 
Join Date: Feb 2006
Location: Michigan
Posts: 2
Jaden is an unknown quantity at this point
Re: T packets?

Hey, we found the problem, We had set an initialization parameter incorrectly. so it would run the main loop and all but the camera refused to look for a color. so now that one problem is fixed we have another bigger problem, We get T packets; we get lots of T packets. They all have values of 0. x:0 y:0 conf:0 ect. So now I'm wondering if this is something I did or if I missed something i need to change to get some useful data out of a t packet. Thanks again I really appreciate the help.
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
data packets winners Programming 2 14-09-2006 01:25
LabView Dashboard brummer_13 LabView and Data Acquisition 7 08-02-2006 21:43
dashboard protocol sciguy125 Programming 9 22-08-2005 18:36
Judges Packets Design006 General Forum 9 13-03-2005 15:22
What Team 568 is cooking up. Draqo Programming 1 10-03-2005 02:05


All times are GMT -5. The time now is 01:36.

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