Thread: Pulsing motors
View Single Post
  #4   Spotlight this post!  
Unread 11-02-2014, 08:55
ASmith1675's Avatar
ASmith1675 ASmith1675 is offline
Mechanical/Electrical/Scouting
AKA: Adam Smith
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Milwaukee, WI
Posts: 48
ASmith1675 is a splendid one to beholdASmith1675 is a splendid one to beholdASmith1675 is a splendid one to beholdASmith1675 is a splendid one to beholdASmith1675 is a splendid one to beholdASmith1675 is a splendid one to beholdASmith1675 is a splendid one to beholdASmith1675 is a splendid one to behold
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.
Reply With Quote