how to drive robot straight...

It would depend how much torque the motors make relative to the available friction. The feedback needs to be implemented first - if there's still a problem then add in acceleration control to keep wheelslip acceptably low.