|
Re: Drive an individual moter
Quote:
Originally Posted by eddie12390
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)
|