![]() |
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. :confused:
|
Re: T packets?
Does this thread answer your question?
|
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. |
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. :confused:
|
| All times are GMT -5. The time now is 01:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi