EZ-Robotics / EZ-Template

Simple plug-and-play PROS template that handles drive base functions for VEX robots.
https://ez-robotics.github.io/EZ-Template/
Mozilla Public License 2.0
70 stars 27 forks source link

Blanket Enable for Slew #138

Open ssejrog opened 2 months ago

ssejrog commented 2 months ago

Globally enabling slew should be added. During each motion, if slew is used or not should not change this global enable or disable. This would need a new function to set the global slew to true or false, and to check which it's at.

All of the pid_x_set functions would need new copies without the slew parameter, and these would just be wrappers for checking if slew should be used or not.