View Single Post
  #14   Spotlight this post!  
Unread 23-03-2010, 17:43
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
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