![]() |
Autonomous Mode HELP!
I need Help on Autonomous mode how can i make the Camera Search for the green light instead of just locking it and following it:confused:
Thanks In Advane:] |
Re: Autonomous Mode HELP!
Quote:
-Mike |
Re: Autonomous Mode HELP!
Now, i am sorta of confused by your question. Do you want the robot to turn left, right, etc. to allow the camera to find the target? or Do you want the camera to move towards the target it has found?
|
Re: Autonomous Mode HELP!
uhh...heh, that's quite a confusing question. I think what you want to ask is how to stop it from searching. If not, the camera has a built in(in Kevni's Code of course)code to make the camera search the light till it finds it(or the RC looses it's battery power). It will allways search as long as the functions Camera_Handler() and Servo_Tracking()[I think it's not the real name, but it's Servo something] are called upon in the Proccesor function in User_Routines.c or after the Getdata(&rxdata) line in the User_Autonomous() function in User_Routines_Fast.c .
Please try to think and tell us what exactly you want the camera to do and then we can help you more. :) |
Re: Autonomous Mode HELP!
Jesus, if you turn the light off, or block the camera with your body, a properly functioning system would go into search mode, with the servos systematically mapping the space. The camera's red light will go off and you will get "Searching..." messages if you have a terminal window hooked up. When the camera locks on to the target, you should see data printed to the terminal.
Jason |
| All times are GMT -5. The time now is 04:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi