View Single Post
  #8   Spotlight this post!  
Unread 23-01-2011, 03:22
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Watch Dog stopping robot from working?

[quote=DavidGitz;1006228Since we are pulling the same reference (default "Left and Right Motors") and using Arcade on one mode and Tank on another mode that can be changed back and forth, could this result in the error noted above due to the Arcade/Tank difference?[/QUOTE]

No. If you open up the vis, it shows that the only difference is some processing of the joystick values before it runs the "runMotor" and "safetyupdate" vis.

Try adding a timer to see how fast the loops are running. To do this, add a tick count to your teleop.vi, then a feedback node. Connect the tick count to the input of the feedback node (on the arrow, not the diamond) and then add a subtraction command. Wire the output of the feedback node to the bottom of the subtraction command and the tick count to the top. Then put an indicator on the end of the subtraction command and look at it while the code is running.
Reply With Quote