Hi, I am using the “drivetrain” to code my arcade control drivetrain but don’t know how to get the motor values for each of the left and right motors. It is a 2 wheel drive. Usually, when I don’t use the “drivetrain”, I would use this.
LeftMotor.spin(directionType::fwd,Controller1.Axis3.position(percentUnits::pct),velocityUnits::pct); RightMotor.spin(directionType::fwd,Controller1.Axis2.position(percentUnits::pct),velocityUnits::pct);//
But that is when they are individual motors. Not “drivetrains.”
How do i code an arcade control joystick “drivetrain”?
Thanks
Edit: I mean tank drive not arcade. Sorry.