No announcement yet.

Right Motor continues to run

  • Filter
  • Time
  • Show
Clear All
new posts

  • Right Motor continues to run

    A new problem arises and we are unsure if the new code is causing this problem.
    Our right motor continues to run even after the 8 seconds are over in "auto" Can anyone tell if its something to do with the code. Here is the link
    Thank you in advance.

  • #2
    broken link, sorry here is the new one.


    • #3
      The only thing I can think of is that the message sent to turn of the right motor somehow got lost.
      Try putting the blocks that set the power to 0 in a for-loop that is executed 3 times with a WaitOneFullHardwareCycle block inside the loop. Like this:


      • #4
        I actually just tried something here on our robot that seems to work. using the proceedure and call method, i simply use the stratmotor proceedure twice rather than just one and then after the sleep amount used the stopmotor proceedure we use to stop the robot twice, as well, once i doubled them both, I havent had any troubles


        • #5
          Here is how it looks,, simplified