I have a proportional gyro turn myblock that fails when played in a longer program. The myblock works perfectly fine when played by itself. The most confusing thing is that the way it fails seems to be random. Sometimes you play the program and the turn is too far, sometimes it doesn't turn enough and sometimes it works as expected. We have had similar problems before with other complex myblocks that seem to misbehave when run in as part of a long program but work fine when run by themselves.

I'm not sure the best way to attach code, so I've linked it to the file here.


  • When you run the program do you reset your bot at the right position? – Vikhyat Agarwal Nov 24 '17 at 15:24
  • I'm not sure I understand what that means. Do you have an example of where and what I should do? – Lori Dec 2 '17 at 0:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.