View Single Post
  #7   Spotlight this post!  
Unread 12-03-2012, 23:40
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,112
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: Joystick Trigger and Button C++ Programming

Brandon posted example code that uses victora as a placeholder. You'll need to define the other two motors you want to control, initialize them appropriately, and set whichever one you want to run in the proper place in the code.

Are you actually using Victor speed controllers? As a rookie team, I'd expect you to have Jaguars. They have different responses to PWM signals, and you won't get the best results unless the programming matches the hardware.
Reply With Quote