This is API for the vex::drivetrain class and its usage example:
vex::drivetrain
https://www.robotmesh.com/docs/vexv5-cpp/html/classvex_1_1drivetrain.html