
asterof
So I have a Camera mounted on a Ping Sensor mounted on a horizontal
servo. I tried several existing scripts but could not get the servo to move
The servo in on D0 and the Ping is on D21. So what is suppose to happen is if the
object is with in a given ping distance, then the camera will turn to view the object and the servo will track the object until the object leaves the ping field at this point the servo goes to center. Any one have any scripts to do that they would be willing to donate
Appreciate it
Thanks
RotateNoneFlip None
So Im missing something
Do this...
1) Load ARC
2) Press Project -> Add Control -> Scripting -> EZ-Script
3) Press the gear icon on the EZ-Script control
4) Paste in this code
Code:
5) Save the script
6) Run the script by pressing the start button
You can find activities in the learn section which will explain how to program and demonstrate how controls work. Press the ? (question mark) on any control to read about it. The CAMERA CONTROL is a good place for you to start using the question mark. Also, there are MANY tutorials in each control