|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Java VisonChaser method
Hey all. I have portotyped some pseudoCode for a drive function that will chase the target (even allowing us to demonstrate this for the school at an assembly to get more members). Here is my pseudocode (warning, i pesudocode in a pythonic way)
Code:
VisonChaser Method get a camera object get a CircleTracker object look for a target if a target is found: go forward return True if a target isn't found: if the x-axis servo value is 180 degrees: move the camera up by 5 degrees set the camera x-axis servo to 0 else: move the camera up 5 degrees on the y-axis return False |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pneumatics release method | camper365 | Pneumatics | 5 | 12-01-2010 18:29 |
| **FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** | Pjohn1959 | Programming | 37 | 31-08-2009 15:55 |
| Autonomous Method | Astronouth7303 | Programming | 3 | 25-02-2004 17:14 |
| A better autonomous method.. | randomperson | Programming | 4 | 24-02-2004 18:02 |
| Strategy - Your method?? | mightywombat | Rules/Strategy | 16 | 05-01-2004 15:06 |