Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Motor Jerking when Reverse (http://www.chiefdelphi.com/forums/showthread.php?t=83417)

lucoytoa 22-02-2010 18:57

Motor Jerking when Reverse
 
1 Attachment(s)
We have a program that when button 1 is press, the motor goes forward, when button 2 is press, the motor reverses. When button 2 is press, the motor jerks and moves very slowly. Moving forward is fine. Please help!!!

We've tested on several motors, jaguars, changed pwm, and still having the same problem.

Here is our code:

663.keith 22-02-2010 21:50

Re: Motor Jerking when Reverse
 
The code is a little difficult to read, and it would be beneficial to clean up the wiring to help with any problems. However, it appears that you have a joystick axis value going to a case statement rather than a button press, as indicated by the orange wire, rather than a dashed green bool wire.

Doc Wu 23-02-2010 10:54

Re: Motor Jerking when Reverse
 
Plus, you've got two Motor Set Speed vi's to the same motor with conflicting speed values.

Try something more like this:



or this:


lucoytoa 31-03-2010 14:25

Re: Motor Jerking when Reverse
 
Thanks! That sure made it a lot less messy- and less complicated. I won't be able to test it until tomorow when we actually get to see the robot again. Anyway, thanks for the help!


All times are GMT -5. The time now is 11:10.

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