|
Re: Using the arm with VICTOR motor
Just checking on the legality of things. Moving on...
Your code there looks good and should work. I think I see the problem, and we should have all noticed it earlier, but it's a tricky one to catch. I think you're accidentally using different names for your motor reference.
In the screen where you're closing the reference and the screen where you're controlling the motor, it looks like you're calling it [Bras Robot]
In the screen where you're opening the reference to the motor, it looks like you're calling it [Bras Robot ] with an extra space at the end. That extra space DOES matter and it means you're saving the motor reference to a different name that you're accessing it with.
So, I think if you double check all your references to [Bras Robot] and make sure they're all exactly the same, things should work for you. Copy / Paste works well here. You might also want to double check this for anything else in your program you're having problems with.
In case that doesn't fix things, what does the LED on the Victor look like when your robot is on and in teleop? Is it blinking yellow or is it a solid color? Does it change colors when you press buttons 1 and 5?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.
Lone Star Regional Troubleshooter
|