Hello all. I’ve seen some information online that implies either newer vex motors or built in functions already handle voltage slewing automatically. I’ve also seen information that suggests that isn’t the case, so I’m curious if anyone knows whether voltage slew control exists by default in vex. If not, I’m curious if it’s worth my time to create my own slew control functions. In other words, would I see an appreciable difference in autonomous accuracy and consistency if I implemented slew control?
Is slew rate baked into VexCode's motor functions? If not, is it worth my time to develop slew code?
I haven’t heard much about built-in slewing but I can say that custom slew will show significant change in drivetrain behavior. If tuned right, it will be pretty consistent but if you’re using a control algorithm like PID or even a library, tuning those constants instead will give you more promising results in terms of accuracy. At the end of the day, slew will limit your PID (kinda the point) and will make changes in your constants less effective. Are you using a template of some sort or your custom code to control the drivetrain?
1 Like
A small amount to limit transient current, generally less than 50mS.
3 Likes