Drone Programming With Python Course | 3 Hours | Including x4 Projects (2021)

  görünümler 856,212

Murtaza's Workshop - Robotics and AI

2 aylar önce

This is the Drone programming with python course. Here we are going to learn the basics of a drone including the components and how the drone flies. Then we will look the installations and the basic movements along with image capture. From their we will create exciting projects including Surveillance drone , Face tracking and line following drone.
If you are a beginner don't worry this course is for you we will focus on the implementation part so that you can get most practical experience out of this. And even though we will be using a specific drone for this course 80% of the material covered in this course can be used with any drone.
Code and Resources:
www.murtazahassan.com/courses/drone-programming/
Buy the Tello Drone:
amzn.to/2t4l2pW
Want to Learn Web Development? Subscribe to my other channel:
trshow.info/on/zv_k6lxolY4rzndB71AfUw.html
Facing any Errors or want to discuss more?
✔️ Join my Discord
discord.gg/bFVMkzf
Follow Me:
Instagram : murtazasworkshop
Facebook: murtazasworkshop
Website: www.murtazahassan.com/
Github: github.com/murtazahassan
Thingiverse: www.thingiverse.com/Murtaza_Hassan/
Like --- Comment --- Share
Time Stamps:
00:00 Intro
1:00 What is a drone?
2:14 Components of a drone
05:56 How does a drone fly?
08:42 Tello Drone
11:25 App Setup and Test Run
15:07 Installations
19:21 Basic Movements
31:16 Image Capture
36:27 Keyboard Control
59:13 Project 1 - Surveillance
1:10:34 Project 2 - Mapping
1:52:15 Project 3 - Face Tracking
2:32:18 Project 4 - Line Follower

YORUMLAR
J.Q. Tian
J.Q. Tian 6 saatler önce
I brought a Tello because of this tutorial. Not kidding.
Scott Bronstad
Scott Bronstad 15 saatler önce
drone: a male bee
RAAF Music
RAAF Music 19 saatler önce
Hello, DJI has a active track parallel mode drone, Do you know where could I find this code so I try to run it on my drone ? any assist is appreciated guys, thanks in advance
Nguyen Minh
Nguyen Minh Gün önce
Thanks
Life Review
Life Review Gün önce
I just subscribed now. I am waiting for such fantastic programme with best explanation.
Life Review
Life Review Gün önce
awesome guy!
WPC
WPC Gün önce
.....e.e
Andre L
Andre L 2 gün önce
Wow, I am ready to buy a Tello to have a try!
Phillbert Victor Phinto
Phillbert Victor Phinto 2 gün önce
Where to buy the drone which is required for this tutorial?....Im residing in India ...Any Indians ...pls reply me with buying link.
Dark Flag Army
Dark Flag Army 2 gün önce
Thanks you so much ❤️❤️❤️❤️❤️❤️❤️
Jack Tattershall
Jack Tattershall 3 gün önce
i cant execute this command "import cv2.aruco as aruco" - it can't download aruco. i am using py3.7
Henry Amusah
Henry Amusah 3 gün önce
subscribed even before watching the video
André Almeida
André Almeida 3 gün önce
Great!!! Your course is awesome!! I bought the drone and I am doing the course and making my own improvements in the codes! I even put a Yolo to run in the Image capture project!! HAHA
Feasible ou
Feasible ou 3 gün önce
yea me to me to man
Today Act
Today Act 4 gün önce
super sir
Beingmehull
Beingmehull 4 gün önce
Hi there my love for the first time I was just a quick question about my life I don't have a vacancy for android developer remote control and at least a portion to
Horizon Chasing
Horizon Chasing 5 gün önce
Drone: a stingless male bee (as of the honeybee) that has the role of mating with the queen and does not gather nectar or pollen.
Mamedov HONOR
Mamedov HONOR 6 gün önce
DÜZƏLDƏCƏM ALA BLƏTT
H-Electronics
H-Electronics 6 gün önce
Why your drone is more stable than mine? Mine keeps going backwards, Ps. The battery is full did you change the time of sleep for example ?
The RC RV
The RC RV 7 gün önce
Nothing like a boatload of commercials to interrupt ones concentration. Well done with the distractions.
Naurin Karim
Naurin Karim 8 gün önce
trshow.info/watch/yumpahaE4uQ/video.html
seyedhossien hosseini
seyedhossien hosseini 8 gün önce
Hi, I want to learn this tutorial, but I do not have a quadcopter. How should I use the virtual drone, of course, without the remote control?
Bliss Bouwerij
Bliss Bouwerij 8 gün önce
You start your video out incorrectly describing all remote controlled vehicles as drones. A drone is capable of autonomous movement and is fitted with instrumentation allowing it to be operated far from line of site by a human or computer assigned controller. Please learn your facts before sharing false information. The rest of your video was well researched. Its a real pity that you missed the main point of what you are explaining
Dodit Suprianto
Dodit Suprianto 8 gün önce
clean, clear, excellent explanation. Good job and i love it
Murtaza's Workshop - Robotics and AI
Murtaza's Workshop - Robotics and AI 8 gün önce
Glad you liked it!
Kemo Spazz
Kemo Spazz 9 gün önce
Quick Question, is the DJI Mini 2 open for software development ?
Vadim Kozub
Vadim Kozub 9 gün önce
the best tutorial!
hitarth sharma
hitarth sharma 9 gün önce
can i use any drone
Jack Tattershall
Jack Tattershall 9 gün önce
can you control the 4 motors individually?
unomasenelmar
unomasenelmar 10 gün önce
Una maravilla, gracias
michael tambwe
michael tambwe 11 gün önce
Ok
Msingizane Ngwenya
Msingizane Ngwenya 11 gün önce
Excellent!
Top Computer
Top Computer 11 gün önce
Good...👍👍👍
Syed Suhaib Zia
Syed Suhaib Zia 11 gün önce
perfect recommendation by youtube ... best explanation even a layman can do it.
abdulrehman ikram
abdulrehman ikram 12 gün önce
great tutorial to learn the basics of drone programming..... can u make a video tutorial with tensor flow its usage and projects it would be great
suryansh Porwal
suryansh Porwal 12 gün önce
Hey I can tello drone please me more drone which can do the same programming in this video
suryansh Porwal
suryansh Porwal 12 gün önce
Give more drone names with low price 😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭🙏🙏🙏🙏🙏🙏🙏❤️❤️❤️❤️❤️❤️
suryansh Porwal
suryansh Porwal 12 gün önce
Cannot afford tello (Binod)
AADITYA NARESH
AADITYA NARESH 12 gün önce
I wanted this !! Thank you very much sir , I am an Electronics Engineering Student and I really don't like coding but because of you I am really enjoying these things .
DISHITA Roll no 14 class III STAR
DISHITA Roll no 14 class III STAR 12 gün önce
I cannot afford tello so please tell me more drones which can be programmed with this video
Josh Van Doren
Josh Van Doren 13 gün önce
Hey Murtaza or anyone that is able to reach out and assist. Every time I try to activate the take off function or any throttle in the matter I get a command error. I'm using pretty much your exact code. Any possible solutions?
Alexis Villarreal
Alexis Villarreal 13 gün önce
Thanks for making this bro!!
J. Ngonono
J. Ngonono 13 gün önce
You speak clearly, and understandably while also delivering a superb tutorial! Thank you and well done! Such a refreshing change from the other unintelligable garbage on YT!
Сергей Генко
Сергей Генко 14 gün önce
Hello! I have tried. But... Send command: command Response: b'ok' Send command: battery? Response: b'55 ' 55 Send command: takeoff Response: b'error' Command takeoff was unsuccessful. Message: error Send command (no expect response): rc 0 50 0 0 Send command (no expect response): rc 0 0 0 0 Send command: land Response: b'error' Command land was unsuccessful. Message: error What could it be?
TPD ProDuct
TPD ProDuct 6 gün önce
i do not think that it will respond you i have some error to i can takeoff and land that is all something is rong in code but he mean it
Bananžmogia
Bananžmogia 14 gün önce
Thank you for doing it everything for free and with quality
OnlineGreg
OnlineGreg 14 gün önce
absolutely great tutorial. thank you!! do you know node-red? is it possible to creat a node-red dashboard und execute these comments by clicking buttons in the dashboard?
SW 391
SW 391 14 gün önce
Having issues with the Keypress module. I keep getting an error on lines 4 and 26 regarding init(). it says attribute error: module 'pygame' has no attribute 'init'. SO close to nailing, need a push.
Holy Spirit Ministry
Holy Spirit Ministry 15 gün önce
Your a great guy, your indeed a great guy please add more
John Norman
John Norman 15 gün önce
looks like an interesting combo interests
Archibald Tuttle
Archibald Tuttle 15 gün önce
Hands down one of the best recommendations, apart from cat videos, I ever received on YT!
dany lipsker
dany lipsker 16 gün önce
this tutorial is superb
Aaron
Aaron 17 gün önce
this is exactly what i was looking for thanks
Chandan Singh
Chandan Singh 17 gün önce
Can I use this to code other drones or is it applicable only for tello drones?
Alexandra Orquiola
Alexandra Orquiola 17 gün önce
Do the codes work exactly the same for Tello Edu? Getting error on me.takeoff(). Send command: takeoff Response: b'error' Command takeoff was unsuccessful. Message: error Send command (no expect response): rc 0 50 0 0 Send command (no expect response): rc 0 0 0 0 Send command: land Response: b'error' Command land was unsuccessful. Message: error
Jakub Procházka
Jakub Procházka 18 gün önce
Hi murtaza, I stacked at beginning because my stream is not working properly. I wrote exactly the same code as you did but my window with video hasnt open. Do you have any idea whats going on?
Ta Tra
Ta Tra 18 gün önce
Omg.
Periyasamy Vairappan
Periyasamy Vairappan 18 gün önce
Batt
Success Net Profit APSense
Success Net Profit APSense 18 gün önce
ℹ️✅📌👍💯
George Chan
George Chan 18 gün önce
Im watching the tutor too. I need some help because the image is not showing. There is no error also.
George Chan
George Chan 17 gün önce
Running the example code, but no image was shown. There were no errors. from djitellopy import tello import cv2 me = tello.Tello() me.connect() print(me.get_battery()) me.streamon() while True: img = me.get_frame_read().frame img = cv2.resize(img, (360, 240)) cv2.imshow("Image", img) cv2.waitKey(1)
Alessandro Fiorillo
Alessandro Fiorillo 18 gün önce
Best video ever on TRshow
Roshan Sharma
Roshan Sharma 20 gün önce
sir how can i find gps coordinate near me that define by me
ジョンセロム
ジョンセロム 21 gün önce
such amazing youtube and im so appreciate what your hardowrk.
Rizwan Ahmed
Rizwan Ahmed 22 gün önce
Wow! Trаde Cryptо Fully aut0mаtic with RoI + 120% I pоsted а videо оn one of these systems. But my account's a wаy оut.
Meneer Leonard De Hertog van Cydonia
Meneer Leonard De Hertog van Cydonia 22 gün önce
If you can get $5 from each viewer then you would be a multi-millionaire from your work. There must be something of value here?
Mr Beat
Mr Beat 23 gün önce
Nice man
Gimbg
Gimbg 23 gün önce
My drone is broken
remo Williams
remo Williams 23 gün önce
Thanks for this great tutorial !! It works also with DJI Mavic?
Murtaza's Workshop - Robotics and AI
Murtaza's Workshop - Robotics and AI 22 gün önce
most probably you will have to use it with the android or ios sdk
Just For Fun
Just For Fun 24 gün önce
Wonderful just Wonderful !!! I love this Chanes !!!
Spirit-Being
Spirit-Being 24 gün önce
worth the skill. Thank youuuu
CaptainCurryGoat
CaptainCurryGoat 24 gün önce
Note: On Mojave v 10.14, your system may crash when using pycharm. Run the script in terminal instead and you should be fine.
Farid Hajji
Farid Hajji 25 gün önce
That was amazing! So easy to follow, yet so interesting applications! Basically a course in robotics with emphasis on CV, but using a drone instead of a classic robot. I expected that controlling a drone would be extremely difficult, but thanks to its controller that take care of stabilty, controlling this thing is so easy. Instant subscribe, and heading now to the OpenCV courses.
Jose Rodriguez
Jose Rodriguez 25 gün önce
Best course YEY !
신지영
신지영 26 gün önce
?????????????????????????
punt enpol
punt enpol 26 gün önce
after following this channel and this guys website for some time, i can only conclude this is the most valuable channel/site that i know of. both for coding and implementation of ai . for beginners as well as for old farts. please keep this up !
Murtaza's Workshop - Robotics and AI
Murtaza's Workshop - Robotics and AI 26 gün önce
Great to hear that. Thank you for your feedback.
Simon Ashby
Simon Ashby 27 gün önce
The Drone name comes from the old AirForce name for pilotless target planes used for Anti-Aircraft gunfire training (Ack-Ack or Flak), since 1916 or thereabouts. These drones were originally silent, stripped-out and unpowered, towed (a long way) behind a towplane. Drone targets were remote-controlled as soon as radio electronics had progressed far enough, because of towplane losses! The DRONE name came from short-lived flying ants and male bees that have only one purpose (mating) but can't feed or do housekeeping functions. The fact that e-drones make a droning noise is a coincidence, but cute nonetheless!
Onrei Zu
Onrei Zu 28 gün önce
what is your machine spec?
Drifter
Drifter 28 gün önce
I don't program in Python and I don't have a drone. I still watched the video.
nikunj jain
nikunj jain 28 gün önce
Become ur big fan bro after watching this 😍
bryanmjun24
bryanmjun24 28 gün önce
Is it possible to use a PID controller not only a PD and how it could be programmed?
HET PATEL
HET PATEL 28 gün önce
sir in my case it is not showing python 3.7 automatically by itself what should i do ?
Mohammad Hazazi
Mohammad Hazazi 29 gün önce
Truly appreciate this great course. I am beginning my self learning journey to be able to develop new drone use cases
Dennis Asamoah
Dennis Asamoah 29 gün önce
you are one of my favourite teachers on youtube.God bless you
houuub bpou
houuub bpou 29 gün önce
Wanna be frieds?
Thales Campos
Thales Campos 29 gün önce
Hello, I need to implement a code that makes the fourier transform of a digital image bank. At the end of the process, the time spent must be informed. I don't know where to start ...
houuub bpou
houuub bpou 29 gün önce
Subscribed
Suryansh Yadavanshi
Suryansh Yadavanshi 29 gün önce
I really enjoyed the video you helped me a lot and you literally telling us each and every function and its code . hat 's of you brother 😘😘😘😘😍😍
Bam Mulrooney
Bam Mulrooney 29 gün önce
Dude! I bought a tello drone and did this last year for an independent study! Time to break out the kit and try again to learn from your methodology. Thanks for sharing this!
Murtaza's Workshop - Robotics and AI
Murtaza's Workshop - Robotics and AI 29 gün önce
Good luck
guru the hub
guru the hub 29 gün önce
yashassasasasasassasasasasasasassassasasasasas
Colin Gradwell
Colin Gradwell Aylar önce
Hi Murtaza. Excellent truly excellent work. Bt for your information they are called 'Drones' not because of the low humming sound but because of the 'Drone' bees in a bee hive.
rafael diaz
rafael diaz Aylar önce
I enjoy your tutorials very much. Why did you not create a downloadable file of the code ? I hate to cut and paste from sites.
John Titus
John Titus Aylar önce
This is a really great tutorial Murtaza, I have learned a lot, thank you for sharing your knowledge. However I have run into an error during the coding of Project 3 - Face Tracking. import cv2 import numpy as np cap = cv2.VideoCapture(1) while True: _, img = cap.read() cv2.imshow("Output", img) cv2.waitKey(1) Exception has occurred: error OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-kh7iq4w7\opencv\modules\highgui\src\window.cpp:376: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow' line 8, in cv2.imshow("Output", img) Thank you also for your Discord channel, I have also posted this question on discord.
John Titus
John Titus 29 gün önce
Looks like cv2.VideoCapture(0) opens my web cam, I am not sure how you tell other than trial and error.
Zorana Alexandra
Zorana Alexandra Aylar önce
Awesome
RAAF Music
RAAF Music Aylar önce
Thank you for the videos you are making we are learning a lot from you, could you please program a parallel mode drone ? I need this for a project I am doing now in my university, it might be also helpful for others as well. Thank you in advance
RAAF Music
RAAF Music 24 gün önce
@Murtaza's Workshop - Robotics and AI Also in the parallel mode drone, I mean so it can fly parallel to the street and film the street, not only a certain object like a car for example but a straight line to whatever is on the street. it would be great if you can program it with python as I learnt python from you. Thank you in advance.
RAAF Music
RAAF Music Aylar önce
@Murtaza's Workshop - Robotics and AI Thank you a lot, I'll be waiting it😊
Murtaza's Workshop - Robotics and AI
Murtaza's Workshop - Robotics and AI Aylar önce
Noted
Nik Faiq Nik Abdullah
Nik Faiq Nik Abdullah Aylar önce
can this be implemented on different platforms such as AGV?
Jose P
Jose P Aylar önce
I don’t even know how to code but this is so fascinating!!
Admin Colegio
Admin Colegio Aylar önce
2:32:13. What if there is 2 faces ? or does the drone get confuse with the mirror ?
Admin Colegio
Admin Colegio Aylar önce
BTW this is an awesome video
Rusty Shackleford
Rusty Shackleford Aylar önce
Amazing tutorial, really man, hats off. This was simply perfect. Excellent explanations, straight to the point, and covers several projects that build on previous work. This was EXACTLY what I was looking for: a cheap drone, an exposed, easy to use API, and a tutorial that covers writing control code as well as opencv for image processing. It's incredible how quickly I could get things to run. Thank you so much! Also, regarding you Mapping part of the tutorial. Wouldn't it have been better to use the get_speed and get_acceleration functions offered by djitellopy to accurately calculate the motion of the drone? That would yield very good results as opposed to relying on the speed value you make the drone fly with. I have not tried it yet, but should probs work well. Cheers!
aa bb
aa bb Aylar önce
Tello is toooo expensive. qav250 with inav and pi4 would be a good alternative.
Milind
Milind Aylar önce
Super job Murtaza. Appreciate your practical guidance. Best. Milind.
Mike V
Mike V Aylar önce
Quick question Murtaza: where did you get the intro song from or what Is the name of it??
Nick Prajapati
Nick Prajapati Aylar önce
Hello sir, I m huge fan of you from india. I had completed my BE in mechanical engineering and from 2 years working as a Machine learning engineer.How can i build my career in robotics and AI. If possible can you give me the career roadmap and useful resources for it. Thanks in advance ,sir.
Jesús Vázquez
Jesús Vázquez Aylar önce
I really like your video, but in the facetrack project, isn't a PID, is just a PD controller. There are significative difference between this types of control laws. For hobbyist approximate a PID using a PD is good but for engennieers or scientist this implication is relevant. Despite this, I think that's a good course to introduce poeple for the programming this kind of technologies. Congratulations
Aditi Shukla
Aditi Shukla Aylar önce
Sir, I have made a VR headset and it's hand controller. But I am so so so much confused that how can I make a game for it. Sir, can you please make a video over it? Whatever your answer may be, but please do reply sir
Ligde 26. Hafta Liderlik Yarışı
1:18
Tahsin Hasoğlu
görünümler 564 B
NEDEN ESKİ FİLMLERİN GÖRSEL EFEKTLERİ DAHA İYİ?
7:29
Filme Gitmeden Önce
görünümler 259 B
Deep Learning: A Crash Course
3:33:03
ACMSIGGRAPH
görünümler 976 B
Clean Code - Uncle Bob / Lesson 1
1:48:42
UnityCoin
görünümler 680 B
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
görünümler 2,1 Mn
Embedded Programming for Quadcopters
53:37
Code & Supply
görünümler 95 B
Build your first iOS app with SwiftUI
2:55:24
Paul Hudson
görünümler 102 B
Swift Programming Tutorial for Beginners (Full Tutorial)
3:22:45
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
görünümler 480 B
But how does bitcoin actually work?
26:21
3Blue1Brown
görünümler 8 Mn
Getting Started with LIDAR
47:27
DroneBot Workshop
görünümler 798 B
Ligde 26. Hafta Liderlik Yarışı
1:18
Tahsin Hasoğlu
görünümler 564 B
NEDEN ESKİ FİLMLERİN GÖRSEL EFEKTLERİ DAHA İYİ?
7:29
Filme Gitmeden Önce
görünümler 259 B
Masumiyet 1. Bölüm
2:1:31
Masumiyet
görünümler 6 Mn
Kardeşlerim 3. Bölüm 2. Fragmanı
1:05
KARDEŞLERİM
görünümler 913 B
سنفور رائد الفضاء • السنافر
21:16
(السنافر) The Smurfs •القناة الرسمية!
görünümler 82 B
Sadakatsiz - Fal Bahane!
2:37
Pınar Akın
görünümler 153 B
Elanur - Tetik (Official Video)
2:30
Elanur
görünümler 2,3 Mn