Commands to Slow Down Drivetrain

I don’t work with V5 Text and need help slowing down the drivetrain in driver control. In the link below you can see my setup and blocks program which I have converted to a text program. If you know the exact line(s) of code to add to made the drivetrain slower please help!

https://docs.google.com/document/d/1OXaDyOoxERHgSEOZFl9HD-aiuecTLdFN3xwaZQfn-BQ/edit?usp=sharing

I would recommend looking at the example programs within VexCode, at least within blocks. There are various controller programs that show how to read the joystick axes and convert them to speed. You can take one of these and use it as a launch point to then scale the output (multiply an axis or the whole value by 0.6 or something).

It should then likewise be a launch point for how to get it to C/C++.

2 Likes