View Single Post
  #4   Spotlight this post!  
Unread 30-01-2016, 22:41
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Motor Stuttering Problem

The first thing I'd check is the diagnostics tab. It is the center tab on the right of the DS window. If this shows lots of lost packets and/or latency, it could be that communications is causing the motor controllers to be disabled during operation, and this would cause stuttering.

If that doesn't explain what is happening, I'd then search the code for other places that the robot drive refnum is used to update the motors. I'd be looking for logic that may allow for zeroes or other unintended values to be written to the motors.

I'd also look at the messages display on the DS just to see if this gives any other hints.

Greg McKaskle
Reply With Quote