Log in

View Full Version : Autonomous Camera program HELP!!


Chris1228
15-02-2009, 16:41
I am using labview. I understand how to write the camera code and such for my robot to track a color using tank drive however i do not understand where i have to put the code. do i place the entire camera initialization and everything under the autonomous section of the robot project or do i use the camera initialization that is defaulted in the program? help

Greg McKaskle
15-02-2009, 17:45
The templates both have the camera stuff running in parallel so that the results can be shared with auto and tele alike. Have the camera update a global or local describing how much to turn or where the object is. In the auto and/or tele, read the camera info and use your drive code to update the robot. For example to minimize the error and keep the target in front of the robot.

Greg McKaskle