No drivetrain but right and left motors to drive - do I need a gyro?

No drivetrain but right and left motors to drive - do I need a gyro? If not, how do I code the controller?

I think need to use gyro because I can turn more exactly and succesful