View Single Post
  #3   Spotlight this post!  
Unread 16-02-2015, 18:14
gbear605's Avatar
gbear605 gbear605 is offline
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 31
gbear605 is an unknown quantity at this point
Re: PID Control of a Jaguar

I'm assuming that you can do most of creating the PID loop, and only need help with the specific setting minimum and maximum speeds. If this is the case, you'll need to run the following method in the constructor of the Subsystem, where "pid" is the PID Controller.
Code:
pid.setOutputRange(minimumOutput, maximumOutput);
If you're using a PID Subsystem, you would just call setOutputRange in the constructor of the class.