Thread: Bad Lag
View Single Post
  #9   Spotlight this post!  
Unread 17-04-2013, 16:07
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Bad Lag

Your communication looks fine as far as trip time and missed packets.

I noticed from your code that you are using CAN. Is it possible that you have a bad cable or terminator that is causing issues after a little while in the match (maybe after getting jostled)? It looks like you could switch to using PWM fairly easily to test.
Reply With Quote