|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Reducing the speed of motors
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.
|
|
#2
|
|||||
|
|||||
|
Re: Reducing the speed of motors
If you just want to cut the whole range in half, simply multiply the joystick inputs by .5 before passing them to whichever drive VI you are using.
|
|
#3
|
|||||
|
|||||
|
Re: Reducing the speed of motors
Increase the size of your wheel sprockets...
|
|
#4
|
||||
|
||||
|
Re: Reducing the speed of motors
Quote:
![]() |
|
#5
|
|||||
|
|||||
|
Re: Reducing the speed of motors
Quote:
|
|
#6
|
||||
|
||||
|
Re: Reducing the speed of motors
Quote:
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. |
|
#7
|
||||
|
||||
|
Re: Reducing the speed of motors
No, that would mean less power. Technically, this never happens anyway, but i don't think we need to get into that.
Yes, this allows you to leave the code alone and still get full power. To cut the speed in half (approximately), the wheel sprockets should be about twice the size. As a bonus, you also get more torque. EDIT: OOPS, I missed that. In that case, forget what I said. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|