View Single Post
  #3   Spotlight this post!  
Unread 06-02-2012, 19:56
JohnGilb JohnGilb is offline
Programming Mentor, Drive Mentor
FRC #0488
 
Join Date: Mar 2011
Rookie Year: 2003
Location: Redmond, WA
Posts: 116
JohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura aboutJohnGilb has a spectacular aura about
Re: "Squaring" robot

One way to make these conflicts more visible is by only having one "Drive" block at the very end that is always excuted, and have all this logic beforehand to determine what the inputs will be. That will ensure you never hit a scenario where two areas are trying to set different motor speeds.

That kind of layout also tends to make is easier to probe and figure out where the logic is going wrong.
Reply With Quote