Discuss Scratch
- Discussion Forums
- » Connecting to the Physical World
- » Tello programming problem
- NonnoDrone
-
2 posts
Tello programming problem
Hello,
I have a Tello Dji drone, programmable in Scratch.
I installed the additional blocks for piloting, when I associate a command with an event, all the commands work individually.
On the other hand, if I place two successive commands, separated by a waiting time of 5 sec, the second command does not execute.
I have however seen videos on YouTube where the Tello is programmed in Scratch and it works.
At the drone level, if I use the Tello .edu software, everything works fine, even without leaving any waiting time.
Do you have any idea what can cause this kind of problem?
Yours
Alain
I have a Tello Dji drone, programmable in Scratch.
I installed the additional blocks for piloting, when I associate a command with an event, all the commands work individually.
On the other hand, if I place two successive commands, separated by a waiting time of 5 sec, the second command does not execute.
I have however seen videos on YouTube where the Tello is programmed in Scratch and it works.
At the drone level, if I use the Tello .edu software, everything works fine, even without leaving any waiting time.
Do you have any idea what can cause this kind of problem?
Yours
Alain
- Techspert-K
-
2 posts
Tello programming problem
I had a problem earlier with my Tello drone not able to connect to Scratch. When I typed in the code that was told to type in, an error code continuously appeared.
But then, Ryze Robotics, the company who created Tello, told us to follow these 10 new steps: (don't follow the Tello Scratch README, it's incorrect, and these steps are for Windows computers only)
(Uninstall all previous TELLO/Scratch files)
1. Follow the first 2 steps to download Scratch 2
2. Download v8.17.0 of Node.js
3. Download these Tello Scratch files
4. Open Scratch 2.0, and while holding down the Shift key, click “File”, then click “Import Experimental HTTP Extension” and select the file Tello.s2e in the new Scratch folder on your computer, where you chose to save the files from Step 3. The Tello blocks should be under “More Blocks”.
5. Go to Files and click once in the address bar, and use the keyboard shortcut Ctrl + C.
6. To connect the Tello drone to your computer, search “Run” in the Windows menu and click the Enter key.
7. Then type “cmd.exe” in the text-typer thingy that appears below and click OK.
8. In the Command Prompt that appears before you, type “cd” and add a space, then right click and click “Paste”. Then click the enter key.
9. Type “node Tello.js” and click enter.
10. Now turn on your drone. Connect to its Wi-Fi (address should contain TELLO) and go back to Scratch. You should be able to use the commands and have them in sync with your drone.
But then, Ryze Robotics, the company who created Tello, told us to follow these 10 new steps: (don't follow the Tello Scratch README, it's incorrect, and these steps are for Windows computers only)
(Uninstall all previous TELLO/Scratch files)
1. Follow the first 2 steps to download Scratch 2
2. Download v8.17.0 of Node.js
3. Download these Tello Scratch files
4. Open Scratch 2.0, and while holding down the Shift key, click “File”, then click “Import Experimental HTTP Extension” and select the file Tello.s2e in the new Scratch folder on your computer, where you chose to save the files from Step 3. The Tello blocks should be under “More Blocks”.
5. Go to Files and click once in the address bar, and use the keyboard shortcut Ctrl + C.
6. To connect the Tello drone to your computer, search “Run” in the Windows menu and click the Enter key.
7. Then type “cmd.exe” in the text-typer thingy that appears below and click OK.
8. In the Command Prompt that appears before you, type “cd” and add a space, then right click and click “Paste”. Then click the enter key.
9. Type “node Tello.js” and click enter.
10. Now turn on your drone. Connect to its Wi-Fi (address should contain TELLO) and go back to Scratch. You should be able to use the commands and have them in sync with your drone.
Last edited by Techspert-K (Jan. 4, 2022 15:43:28)
- Discussion Forums
- » Connecting to the Physical World
-
» Tello programming problem