|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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: |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||||
|
|||||
|
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: Last edited by Doc Wu : 23-02-2010 at 11:13. |
|
#4
|
||||
|
||||
|
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!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robot doesn't respond when i add a fifth motor | starsROBOTICS | NI LabVIEW | 2 | 14-02-2009 22:40 |
| forward reverse on drill motor | PDonovan | Motors | 2 | 03-02-2003 11:11 |
| Reverse Engineering the Drill Motor | Andrew | Motors | 1 | 05-01-2003 16:14 |
| Difference in forward/reverse drill motor speed | archiver | 2001 | 25 | 24-06-2002 00:21 |
| Drill Motor Anti-reverse Pins... | archiver | 2000 | 5 | 23-06-2002 23:10 |