Announcement

Collapse
No announcement yet.

Right Motor continues to run

Collapse
X
  • 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
    https://drive.google.com/open?id=0B3...khmX1FDU1JGSWs
    Thank you in advance.

  • #2
    broken link, sorry here is the new one. https://drive.google.com/open?id=0B3...Et6eDhFdHdEbVE

    Comment


    • #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:
      https://drive.google.com/file/d/0B6y...ew?usp=sharing

      Comment


      • #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

        Comment


        • #5
          Here is how it looks,, simplified

          http://postimg.org/image/tlruyy4tn/

          Comment

          Working...
          X