View Single Post
  #1   Spotlight this post!  
Unread 02-02-2015, 13:27
frc_team_4615 frc_team_4615 is offline
Registered User
FRC #4515
 
Join Date: Jan 2015
Location: Chambersburg, PA
Posts: 1
frc_team_4615 is an unknown quantity at this point
Motor Stuttering

Hello all,

We are trying to program one of our motors to move one direction when we press a button and the other direction off of a different button. We're using a Jaguar motor controller right now.

When going one direction operation is normal but the reverse direction stutters. If we reverse the code we get the same results but with opposite directions.

If we use the joystick axis to control this movement both directions are working. We checked that the buttons are at 1 and -1 when pressed.

Things we've tried so far:

Different motor
Different motor controller
Changed which buttons were assigned in the code
Changed which directions were assigned in the code

I tried searching but was having trouble with using the right keywords. Has anyone else had this problem? Is there an easier way to accomplish the same task?

TIA