![]() |
Limit motor speed
The robot we built is hard to control. I was wondering is there a way to limit the speed of the motors through labview? Thnx
|
Re: Limit motor speed
Do you want to limit the maximum speed, as if you had an extra stage of reduction in a gearbox? That's easily done by multiplying the joystick values by a number less than one. You lose the ability to apply full power if you do that, so it might be a good idea to include the option to leave the joystick values alone if a "turbo" button (e.g. the joystick trigger) is pressed by the driver.
Do you want to change the response of the joysticks so that they are more sensitive at low speeds, but still go to full power when pushed all the way? That's a little more difficult, but still straightforward. Try multiplying the joystick value by itself three times, yielding the cube of its value. That response curve is something many teams have used in the past. |
Re: Limit motor speed
Im leaning towards the 2 choice. what do i hook up to the multiply terminals.
|
Re: Limit motor speed
Take the output of the joystick X and Y and use a Numeric multiply. For bonus points, plot the joystick output against the drive input to show your teammates the difference.
Greg McKaskle |
Re: Limit motor speed
1 Attachment(s)
Quote:
|
Re: Limit motor speed
Thank you very much. Got it to work:D :D :D :D
|
| All times are GMT -5. The time now is 11:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi