View Single Post
  #3   Spotlight this post!  
Unread 05-02-2016, 19:55
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: C++ .ArcadeDrive() issue

If left/right is reversed, you probably have the left motor being controlled as the right one and vice versa. If forward/backward works as you expect, you probably also have the motors' "invert" state wrong too. Simply swapping the motors will make everything work backwards, and then switching the "invert" on both of them ought to give you what you want.