Quote:
Originally Posted by Rangel(kf7fdb)
Hello, my team has just got one of our robot chassis built. I then ran tank drive code on the robot and one thing we noticed is that it drove fast. Real Real fast. So what we want to do is cut the speed of the robot in half. How would you give less signal to the pwms.
|
What you really should do is change the overall gear ratio on your robot so that when you are commanding full voltage to the motors, you get the vehicle top speed you want.
You can do this by increasing the size of the wheel sprockets (as Mark suggested - if you are using drive chains), or by using smaller diameter wheels, or by using a Toughbox gearbox (12.75:1 gearing) instead of the CIMpleBox (4.67:1 gearing) supplied in the KoP.
If you reduce the speed by simply scaling down your joystick outputs in software, you'll wind up with a robot with low acceleration and without much pushing force.