# Turn left won't stop

**URL:** <https://plc.pd.vex.com/t/turn-left-wont-stop/1553>\
**Category:** VEX IQ\
**Tags:** coding-iq\
**Created:** [October 16, 2024, 3:06am UTC](https://plc.pd.vex.com/t/turn-left-wont-stop/1553 "2024-10-16T03:06:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Haynes](https://plc.pd.vex.com/letter_avatar/jonathan_haynes/32/6_22734026db12803ebb3e059622ac3534.png) [@Jonathan\_Haynes](https://plc.pd.vex.com/u/Jonathan_Haynes)\
**Post date:** [October 16, 2024, 3:06am UTC](https://plc.pd.vex.com/t/turn-left-wont-stop/1553/1 "2024-10-16T03:06:39Z")

</div>

A student created code for Rapid Relay in [vr.vex.com](http://vr.vex.com) then duplicated the code to [codeiq.vex.com](http://codeiq.vex.com), but the robot goes into the turn and continues to turn in circles. We tried to eliminate code blocks, tried to tweak the brain inertial gyro, but we were not able to stop the turning in circles. Any recommendations on how to correct this coding issue?

![SampleCode](https://plc.pd.vex.com/uploads/default/original/2X/c/ccb22d02c8b053ad710cefe413d818b9aea562d5.png)

---

<div class="post-metadata">

**Author:** ![Jimmy\_Lin](https://plc.pd.vex.com/letter_avatar/jimmy_lin/32/6_22734026db12803ebb3e059622ac3534.png) [@Jimmy\_Lin](https://plc.pd.vex.com/u/Jimmy_Lin)\
**Post date:** [October 16, 2024, 9:16pm UTC](https://plc.pd.vex.com/t/turn-left-wont-stop/1553/2 "2024-10-16T21:16:14Z")

</div>

We will take a look and get back to you.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Haynes](https://plc.pd.vex.com/letter_avatar/jonathan_haynes/32/6_22734026db12803ebb3e059622ac3534.png) [@Jonathan\_Haynes](https://plc.pd.vex.com/u/Jonathan_Haynes)\
**Post date:** [October 22, 2024, 8:06pm UTC](https://plc.pd.vex.com/t/turn-left-wont-stop/1553/3 "2024-10-22T20:06:30Z")

</div>

@Jimmy_Lin Any updates?

---

<div class="post-metadata">

**Author:** ![Jimmy\_Lin](https://plc.pd.vex.com/letter_avatar/jimmy_lin/32/6_22734026db12803ebb3e059622ac3534.png) [@Jimmy\_Lin](https://plc.pd.vex.com/u/Jimmy_Lin)\
**Post date:** [October 23, 2024, 3:42pm UTC](https://plc.pd.vex.com/t/turn-left-wont-stop/1553/4 "2024-10-23T15:42:25Z")

</div>

There are two different ways you can approach to this.

First, you could add a `wait for 0.1 second` command after the `turn left for 90 degrees and don't wait`. Then the physical robot will turn slightly and drive forward again.

 ![image](https://plc.pd.vex.com/uploads/default/original/2X/3/3c28e5c7ec1563472061bd34584167cffa565556.png)

Second option, you could use a specific `turn left for X degrees` without the `don't wait`. Then it will run through the commands.

 ![image](https://plc.pd.vex.com/uploads/default/original/2X/d/d1bc392a8cdd9c80bf5aeb80946aa58450181723.png)

I can go on and explain more about `don't wait` if you are interested in learning more about it. But these two options should help you solve the issue in the physical IQ.

---

<div class="post-metadata">

**Author:** ![Nicole\_Champagne](https://plc.pd.vex.com/user_avatar/plc.pd.vex.com/nicole_champagne/32/3925_2.png) [@Nicole\_Champagne](https://plc.pd.vex.com/u/Nicole_Champagne)\
**Post date:** [October 31, 2024, 3:08am UTC](https://plc.pd.vex.com/t/turn-left-wont-stop/1553/5 "2024-10-31T03:08:12Z")

</div>

Hi @Jonathan_Haynes as a PD+ all-access member you can also book a 1-on-1 session right from your dashboard to meet with @Jimmy_Lin or any of our VEX Team to discuss further.
