View Single Post
  #5   Spotlight this post!  
Unread 31-01-2012, 09:00
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
Re: Drive an individual moter

Quote:
Originally Posted by eddie12390 View Post
What is your reasoning to support going straight through to the PWM class? Are there any benefits provided over using a Jaguar?
Jaguar.set(double value) is equivalent to PWM.setRaw(int channel, double value). With the PWM class, you need to specify the channel each time you change the speed of a Jaguar; however, you just need to change the speed with the Jaguar class. That's the only difference.
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Reply With Quote