|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Debugging the default targeting code
We don't have a lot of room atm to let it spin forever, but I think that's what is going on... It isn't simply on the wrong side of the middle line, it will turn right into a wall (over 90 degrees) and keep going, even after losing the target in the process.
|
|
#2
|
|||
|
|||
|
Re: Debugging the default targeting code
Note that the code will turn to gyro heading of zero unless it sees a target. Does the dashboard show a green circle around the target? If not, it may be rotating to the zero.
First determine if the vision code is working just by watching the dashboard. You can also reset the gyro to a safer heading. It is reset using two buttons on the back of the joystick -- I don't remember the numbers. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I load the default code? | HarryScheiner | C/C++ | 7 | 11-02-2009 11:52 |
| The Default Code | robocata | Programming | 1 | 29-01-2006 17:59 |
| Default code and the Compressor | Matthew_H | Programming | 16 | 07-02-2005 07:19 |
| problem with the default code | MarkVH | Programming | 7 | 28-01-2005 00:04 |
| Can't Compile the Default Code | pressurex1 | Programming | 4 | 25-01-2004 20:26 |