View Single Post
  #4   Spotlight this post!  
Unread 25-02-2013, 13:01
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,560
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: Loss of DS control authority while motors still operate

I agree that a loop sounds like a reasonable cause. The command based scheduler is a cooperative scheduler. All of the command methods are assumed to execute quickly, with no delays or loops. If you have a delay or a loop in initialize, execute, isFinished, end, or interrupted, you would keep other commands from executing.

What kind of error handling code are you using for your CAN Jaguars? Any loops or delays?
Reply With Quote