|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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
|
|||||
|
|||||
|
Re: T packets?
Does this thread answer your question?
|
|
#3
|
|||||
|
|||||
|
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. |
|
#4
|
||||
|
||||
|
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.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |