Programming Mecanum drive train using pwm_out

My team is trying to create a Mecanum drive train. We have done research and have only found code for motors. We have tried to translate to pwm_outs to no avail. Has anyone programed a Mecanum drive with pwms before?

Are you using v5 motors???