Skip to content

Instantly share code, notes, and snippets.

@jhh
Last active February 1, 2018 13:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jhh/27c3cceae47c2d16bc089960f4ab8c25 to your computer and use it in GitHub Desktop.
// factory reset a talon and run these statements in a robot program
double value = talon.configGetParameter(ParamEnum.eBatteryVoltageFilterSize, 0, 10)
System.out.println("voltage filter size = " + value);
value = talon.configGetParameter(ParamEnum.eProfileParamSlot_MaxIAccum, 0, 10)
System.out.println("max I-accum = " + value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment