# Curve block not working for some students

**URL:** <https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402>\
**Category:** Tello Coding\
**Created:** [June 2, 2022, 10:20pm UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402 "2022-06-02T22:20:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rba](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rba](https://community.droneblocks.io/u/rba)\
**Post date:** [June 2, 2022, 10:20pm UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402/1 "2022-06-02T22:20:18Z")

</div>

We are using the block editor in the classroom. The issue is that for some students the script stops executing on the curve block and does not proceed. The drone does not fly the curve block command but remains hovering. I had this issue at times with the “fly to” block as well, but not as frequent as with the curve block. Any suggestions?

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [June 3, 2022, 3:05am UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402/2 "2022-06-03T03:05:21Z")

</div>

The curve block can be finicky based on the inputs you provide. Tello may ignore the command because the radius is too small or too big. Any chance you can share a mission that fails? I can help you troubleshoot and hopefully shed some light on the problem. For the fly xyz block keep in mind that there is a minimum of 20cm and maximum of 500cm for each axis. I’m not sure if that’s what’s going on, but wanted to mention. In the future we’ll do a better job of error handling and provide feedback directly in DroneBlocks.

---

<div class="post-metadata">

**Author:** ![rba](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rba](https://community.droneblocks.io/u/rba)\
**Post date:** [June 3, 2022, 4:43am UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402/3 "2022-06-03T04:43:01Z")

</div>

Here are some examples of the curve block which did not work:

 ![curve block1](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/bd88f75e192742c01150f98352e31020e67494ab.png)  
 ![curve block2](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/d4ded4b8fd7e1bcfb9dc03693a82808611c3f03f.png)

Richard

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [June 5, 2022, 6:49pm UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402/4 "2022-06-05T18:49:44Z")

</div>

Richard, can you let me know what system your class is running DroneBlocks on? I just tested on iOS and Chrome (ran 5-6 tests) with no problems. I used my Robomaster TT with the curve block just for reference. I’m wondering if there may be an environmental issue (lighting) that may be at play.

Chrome Test:

 ![Screenshot from 2022-06-05 13-45-59](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/4e072b4004e75969a8f3ff826c1b86470eb29575.png)

iOS Test:

 ![Photo Jun 05, 13 40 58](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/fb55e283011ac553fb72969feb95a02cf3ccb281.jpeg)

---

<div class="post-metadata">

**Author:** ![rba](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rba](https://community.droneblocks.io/u/rba)\
**Post date:** [June 6, 2022, 5:03am UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402/5 "2022-06-06T05:03:15Z")

</div>

Hi,

I believe I figured it out. The values I saw on your website for the curve block were not big enough for us as you used inches and my students used cm. Once we doubled the values 50 → 100cm etc, it seem to work,

Thanks for your help,  
Richard

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [June 6, 2022, 7:36pm UTC](https://community.droneblocks.io/t/curve-block-not-working-for-some-students/402/6 "2022-06-06T19:36:45Z")

</div>

Good catch, Richard. I had not even noticed the units issue. That always tends to burn me. The SDK documentation states that if the radius is too small (\< 50cm) then the command will be ignored. Nice work!
