Closed ssejrog closed 2 years ago
chassis.set_pid_constants() should change the pid constants
chassis.set_pid_constants()
chassis.set_pid_constants() does not change the pid constants
Uncomment default_constants() in initialize(), modify constants in default_constants(), and nothing changes.
default_constants()
initialize()
EZ-Template Version: 2.0.0
To set constants, users will now have to use chassis.set_pid_constants(&chassis.swingPID, 7, 0, 45, 0);. The & wasn't needed in the previous version.
chassis.set_pid_constants(&chassis.swingPID, 7, 0, 45, 0);
&
Expected Behavior
chassis.set_pid_constants()
should change the pid constantsActual Behavior
chassis.set_pid_constants()
does not change the pid constantsSteps to Reproduce
Uncomment
default_constants()
ininitialize()
, modify constants indefault_constants()
, and nothing changes.Versions
EZ-Template Version: 2.0.0