View Single Post
  #2   Spotlight this post!  
Unread 02-02-2009, 13:44
jbbjjbt jbbjjbt is offline
VRC Coach
AKA: Jon T
VRC #0177 (Twisted Botz)
Team Role: Coach
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Gloucester, VA
Posts: 110
jbbjjbt is an unknown quantity at this point
Re: [FTC]: LabView servo issue

Quote:
Originally Posted by Abra Cadabra IV View Post
My team's almost done with programming our robot in LabView and we've hit some bizarre snags.



However, when we do this:
-Our motors often do not stop at the same time and one will keep going for 1/4 to 1/2 rotation longer
-The servos on our bucket twitch back and forth uncontrollably and are very slow in moving to the position we tell them to
-The servos on the claw also move when the buttons are pressed, even though they are most definitely NOT called in the program

What could be causing this? We've downloaded all the updates. Our servos and motors are running in the same direction and we've confirmed that they're not fighting each other. It's truly confusing.

Also, do the other programming languages have these same problems or is it just LabView?
We've been through a lot of these issues.
On thing to try is to send 0 position to the servo motors you are not moving. I.E., if you want to move servo motors 5 and 6 to 127, send 0 to servo motors 1 - 4 and 127 to servos 5 and 6. This should be the default in the command but somehow can get easily messed up. Also for 2 servos facing the same direction you may need to send different values to get them to move to the same place.
__________________
Jon Thompson
Coach
VRC 177 Twisted Botz
Sponsored by FRC 122
NASA Knights
Reply With Quote