|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: What is T_Packet_Data.my ??
Quote:
|
|
#2
|
|||
|
|||
|
Re: What is T_Packet_Data.my ??
thanks for all the help y'all.
Totally saving my butt. Can you point me to that other thread you mention? I am not finding it. -354 Quote:
|
|
#3
|
|||||
|
|||||
|
Re: What is T_Packet_Data.my ??
Quote:
|
|
#4
|
|||
|
|||
|
Re: What is T_Packet_Data.my ??
Quote:
Ehm, where did you get that from? They get cleared when there is new data from the camera, and if the data from the camera contains a y that does not exist, it will be set to 0, as in it can not find it. That is at least what I got from the code, and the fact that each time the slow loop is run data is retrieved from the camera. |
|
#5
|
||||
|
||||
|
Re: What is T_Packet_Data.my ??
Quote:
-Kevin |
|
#6
|
||||
|
||||
|
Re: What is T_Packet_Data.my ??
Quote:
-Kevin Last edited by Kevin Watson : 13-02-2006 at 22:36. |
|
#7
|
|||||
|
|||||
|
Re: What is T_Packet_Data.my ??
Quote:
|
|
#8
|
|||
|
|||
|
Re: What is T_Packet_Data.my ??
Quote:
It however does when it gets new information from the camera, so that would make no sense. |
|
#9
|
||||
|
||||
|
Re: What is T_Packet_Data.my ??
Quote:
-Kevin |
|
#10
|
|||||
|
|||||
|
Re: What is T_Packet_Data.my ??
Quote:
Quote:
What Keith reported corresponds very closely to my experience, although I didn't attempt controlled experiments. I just noticed that sometimes the camera locked on to a spot well away from the target, and noted that the confidence was zero (or so.) |
|
#11
|
||||
|
||||
|
Re: What is T_Packet_Data.my ??
Quote:
-Kevin |
|
#12
|
|||
|
|||
|
Re: What is T_Packet_Data.my ??
Quote:
The room the tests were run in had the camera on a 3' table, rows of white flourescent lights were 8'-9' up, and the target was at 3'. We determined the camera was picking up the white lights and putting those in the mx, my values. When we put the target on the floor and limited the tilt up angle the camera no longer picked up the white lights. Our programmer changed the code to use confidence and it worked perfectly even with white lights in the field of view. |
|
#13
|
||||
|
||||
|
Re: What is T_Packet_Data.my ??
Quote:
-Kevin |
|
#14
|
|||
|
|||
|
Re: What is T_Packet_Data.my ??
Quote:
|
|
#15
|
||||
|
||||
|
Re: What is T_Packet_Data.my ??
Quote:
Can you do me a favor? Can you grab this code and test it under the conditions that caused the camera to send the low confidence t-packets? These are the changes I've made so far: 1) All changes to servo position are now done through two functions, which will make it easier for teams to use the CMUcam2 servo outputs if they desire. 2) Fixed bug in search initialization code where temp_pan_servo was initialized to zero instead of Tracking_Config_Data.Pan_Min_PWM. 3) Altered tracking algorithm to use the t-packet confidence value to determine whether the code should track or search. This value can also the changed on-the-fly from the tracking menu. 4) Added Get_Tracking_State() function, which can be used to determine if the camera is on target. New code in Process_Data_From_Master_uP( ) uses this function to turn on the switch3 LED on the operator interface when the camera is on target. -Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|