FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Control a Victor by an Encoder

We are trying to control a victor PWM by RPM rather than by voltage, is there a way to do this in FRC Labview?  We see that there is a example code to do this for a Jaguar, but don't see anything for a Victor.

Thanks,

Scott Wheeler

Program Mentor

Flash 1319

Greenville, SC

0 Kudos
Message 1 of 2
(3,692 Views)

You can use the PID palette to implement a PID controller that reads the encoder connected to the Digital Side Car and controls the voltage via the victor PWM.

0 Kudos
Message 2 of 2
(2,541 Views)