View Single Post
  #3   Spotlight this post!  
Unread 01-26-2016, 11:54 PM
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 185
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Engine flickering?

Quote:
Originally Posted by Arhowk View Post
Add debug outputs in everything thats calling the shooter motor (including the initialize and finished methods of the shooter command) and post the output + code
Team 2481 is running in to a similar issue. We are in the midst of debugging it but when running a command from the dashboard the following is happening.

Initialize is called.
Interrupted is called.
Initialize is called.
Interrupted is called.
Initialize is called.
Command executes as expected.

When this occurs the button on the SmartDashboard is flickering.

The initialize/interrupted cycle occurs 0 to n number of times before the command finally executes.

We will be doing more debugging on Thursday and report back here with our findings. The only current theory we have is that the command is somehow interrupting itself. This our 4th year using command based and we have never seen anything like this before.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

Reply With Quote