Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Drive motor spinning out...need slower response (http://www.chiefdelphi.com/forums/showthread.php?t=114208)

grosh 23-02-2013 00:02

Drive motor spinning out...need slower response
 
We geared our robot for speed...maybe to much. We need to slow the response of our joysticks to the drive motors to keep us from spinning out. We are using talons and labview. Any help?

Alan Anderson 23-02-2013 09:01

Re: Drive motor spinning out...need slower response
 
Here's a simple option that might work well for you: in the wire between the joystick axis and the Robot Drive function, insert a cube function.

Right-click the wire. From the popup menu, choose Insert -> Numeric Palette -> Expression Node (it's a rectangle saying EXPR). You'll get a small orange box with right-pointing arrows on either end. Click the blank space between the arrows and type x*x*x.

Now, small motions of the joystick will give you very small changes in the motor control value. Medium motions of the joystick will give you smallish changes in the motor value. But full travel of the joystick will still give you full power.

Mark McLeod 23-02-2013 09:05

Re: Drive motor spinning out...need slower response
 
You could modify the response curve of your joystick to emphasize the low end more
Like this:


Or your could cut the top speed by multiplying the joystick axis by a percentage, like .75, before feeding it to the Motor Output.

Ether 23-02-2013 10:04

Re: Drive motor spinning out...need slower response
 
1 Attachment(s)
Quote:

Originally Posted by grosh (Post 1238957)
We geared our robot for speed...maybe to much. We need to slow the response of our joysticks to the drive motors to keep us from spinning out.

"Spinning out" and "need to slow the response" sounds like you geared your drivetrain for too much acceleration.

If that's the case, take a look at the "slew rate limiting" in Eric VanWyk's article here: http://thinktank.wpi.edu/article/140



grosh 23-02-2013 12:39

Re: Drive motor spinning out...need slower response
 
[quote=Ether;1239130]"Spinning out" and "need to slow the response" sounds like you geared your drivetrain for too much acceleration.

QUOTE]

Ether you're right. We have an acceleration issue. If the driver is careful with the sticks, doesn't apply to much throttle to soon, she can avoid spinning out. With practice she could probably get used to it but I was hoping for a pragramming fix to help her.

We will try these suggestions out today. I'll let you know how it works. Thanks!


All times are GMT -5. The time now is 12:05.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi