|
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
|