|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
CMU Cam not Tracking Properly on Robot
When the camera is on the bench, it tracks perfectly in LabView (after putting a jumper on the pins to flip the Pan). When we hook it into the robot via TTL and PWM 1 (Pan Servo) and 2 (Tilt Servo) it does not track properly. Once it locks on to the target, the camera pans/tilts the target out of the field of view of the camera (the Pan and Tilt Errors increase when they should be decreasing).
Anyone else have this same problem? |
|
#2
|
|||
|
|||
|
Re: CMU Cam not Tracking Properly on Robot
We found the problem! In tracking.h we redefined PAN_ROTATION_SIGN_DEFAULT and TILT_ROTATION_SIGN_DEFAULT to the opposite values. Now it is tracking perfectly!
|
|
#3
|
||||
|
||||
|
Re: CMU Cam not Tracking Properly on Robot
Quote:
OBTW, that situation is covered in the Tracking.h file included in the code from Kevin Watson. It is well worth the time to walk through ALL of his code. He documents it very well. |
|
#4
|
||||
|
||||
|
Re: CMU Cam not Tracking Properly on Robot
Another thing to note is if you are using the 'Bells & Whistles' version of Kevin's code that this parameter is also stored in EEPROM. What this means is if you change the #defines in the code, recompile, and download you will not actually see a change in the behavior. This is because the code is loading the last used values (previous defaults) from EEPROM. You have to use Kevin's menu system to modify the value or alternatively (since you changed the default values) reset the configuration to default.
-Terry |
|
#5
|
||||
|
||||
|
Re: CMU Cam not Tracking Properly on Robot
Quote:
-Kevin |
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
Re: CMU Cam not Tracking Properly on Robot
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Honda's robot... | Don Wright | Math and Science | 7 | 17-12-2005 13:15 |
| CMU Camera Tracking | auditt241 | Programming | 0 | 03-02-2005 16:33 |
| pic: (447) Our CMU CAM BOX | rufu5 | Extra Discussion | 2 | 17-01-2005 19:10 |
| Index of team's post about their robot... | Ken Leung | Robot Showcase | 1 | 20-03-2002 17:10 |
| about how Drive Train push the robot... shouldn't the force accelerate the robot? | Ken Leung | Technical Discussion | 12 | 26-11-2001 09:39 |