|
Re: Pulsing motors
Is the motor only pulsing when you push the stick to 100%, or is it just the most noticeable at that point?
Usually the first thing I think of when I see pulsing motors is that the code may be writing to the motor in multiple places. If every scan the motor is set to 0% in one place, and then 100% in another it will rapidly toggle between the two.
When things are going not as expected I always recommend to our programmers to put some print statements in the code to show what the program is doing. (In this case, I'd probably want to print out the joystick input and the output to the motor controllers) That way you can narrow down which section of code might be causing the issue. If the output of the code is acting as expected, then you know it is likely an electrical problem.
Hope this provides some insight. Good luck.
|