VEXcode V5 Text Version 1.0.1 Release

This should work… haven’t had a chance to test. I used the Graphical Robot Config to create the base, switched to expert mode, then added the motor groups and updated my Drivetrain constructor.

// VEXcode device constructors
motor LeftDriveSmart = motor(PORT1, ratio18_1, false);
motor LeftDriveSmart2 = motor(PORT8, ratio18_1, false);
motor RightDriveSmart = motor(PORT9, ratio18_1, true);
motor RightDriveSmart2 = motor(PORT10, ratio18_1, true);
motor_group LeftSide = motor_group(LeftDriveSmart, LeftDriveSmart2);
motor_group RightSide = motor_group(RightDriveSmart, RightDriveSmart2);
drivetrain Drivetrain = drivetrain(LeftSide, RightSide, 319.19, 295, 130, mm, 1);
4 Likes