Created
January 21, 2017 21:17
-
-
Save DzikuVx/b7175ee990c18311af312174189315e1 to your computer and use it in GitHub Desktop.
JavaScript PID controller example usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privateScope.loadPidController = new classes.PidController(); | |
privateScope.loadPidController.setTarget(privateScope.targetLoad); | |
privateScope.loadPidController.setOutput(0, 97, 0); | |
privateScope.loadPidController.setGains(16, 6, 4); | |
privateScope.loadPidController.setItermLimit(0, 90); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment