How can I program a drivetrain to drive in a curve?

I have tried stopping and turning, but it is too slow, Any idea that could help us?

If you code each motor seperate then set the velocity slower to the other one that should give you a nice curve turn

You can use the track width to drive an arc or use Pid to make drives and turns faster. More advanced option include Odometry in combination with a path follower like Pure pursuit .


Thanks! I tried it and worked flawlessly!