View Single Post
  #7   Spotlight this post!  
Unread 28-01-2009, 08:02
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,750
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera tracking but not moving

Use the Radio button to stop the servo and determine if the vision portion is working well. What you want to see is pinkish red and green in the mask one above the other. If you aren't picking up on both colors, you may need to find better lighting or adjust the numbers a bit.

If the colors mask well, then there are two possible problems.
1. You have build the gimbal differently than the code expected. It might be useful to disconnect one of the servos and test them independently with simple movements. If the gimbal seems to move opposite the direction it needs to, you can either fix it mechanically or open up the gimbal control VI and negate the proportion value on the panel. Make sure to make current values default when done.

2. It is also possible that you are holding the target upside down. the gimbal code only tracks the opposite color combination from what you say your robot is.

Greg McKaskle
Reply With Quote