Log in

View Full Version : PanInit and PanForTarget


mahmosh
25-01-2009, 11:20
hey ... can someone help me and tell me what are this mean:
PanInit
PanForTarget
i found in the camera tracking v2... and where to find that in the WPILib
i searched but i didn't find anything
and if someone have other camera codes that you succeed to run on the robot and the camera followed the target ... so please attach it here or send me it by e-mail

360skier
25-01-2009, 15:05
panInit() and panForTarget() are found in BaeUtilities.h. They are use a sine wave to rotate the servo between 1.0f and 0.0f. If you want to know more about how they work, you can download the souce code from WPILib.

mahmosh
25-01-2009, 18:38
ok thank you ... i found that our problem in the camera maybe becuase we don't update the latest one...