View Single Post
  #4   Spotlight this post!  
Unread 06-02-2016, 11:04
Owen Busler's Avatar
Owen Busler Owen Busler is offline
Build Captain
FRC #0303 (Test Team)
Team Role: Leadership
 
Join Date: Aug 2014
Rookie Year: 2014
Location: Bridgewater, NJ
Posts: 142
Owen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant futureOwen Busler has a brilliant future
Re: Motor is twitching even without input FRC labview

If you have it programmed to be controlled by a joystick, one possibility may be that you do not have a "dead band" in your code. Even when the joystick is relaxed in its natural or zero position, it still may be outputting small numbers.

To fix this you may add a simple if statement, or a case structure if you use labview, that says if the absolute value of the joystick input is less than X. You will have to test to see what X works for you.

Again, this is just one problem my team has had in the past.
__________________
2016: Deans List Semi-Finalist/MAR Mount Olive District Engineering Inspiration Award/Buckeye Regional Second Alliance Captain/MAR Montgomery District Event Imagery Award/MAR Championship Gracious Professionalism Award
2015: MAR Mount Olive District Chairman's Award/MAR North Brunswick District Winners/MAR Championship Finalists
2014: MAR Clifton District Chairman's Award/MAR Championship Regional Chairman's Award