Thread: Jittery Motor
View Single Post
  #5   Spotlight this post!  
Unread 06-02-2015, 00:17
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Jittery Motor

Quote:
Originally Posted by DarkRune View Post
What's the code you are running on it? Something I've noticed with code is that it often oscillates between forward and backwards.

What kind of code are you using that's doing that?

The code really shouldn't cause a motor to oscillate between forward and backwards too often, unless it is a PID loop trying to get to the exact position... (Or if your driver is rocking the robot back and forth.)
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)