How Did I Use Python And Ai To Create A Fully Autonomous Drone? ArduCopter pixhawk and OpenCV.

Поделиться
HTML-код
  • Опубликовано: 25 июн 2021
  • This is how I created a fully autonomous drone capable of advanced autonomous missions using Python, Ai and Computer vision. This drone is capable of following a moving target fully autonomous and will be able to avoid obstacles! And even better I am going to explain to you how it all works and how you can create your own fully autonomous ai powered drone using the free open source Python code in the description below!
    multirotorresearch.com/
    Full Code: github.com/sieuwe1/Autonomous...
    Bas: / bas-beckers-00a308163
    Niek: / niek-van-dam-514711131
    WHAT DO YOU WANT ME TO MAKE NEXT? LET ME KNOW IN THE COMMENTS!
  • НаукаНаука

Комментарии • 149

  • @zwang8569
    @zwang8569 2 года назад +55

    Thanks for sharing. Can you also post the hardwares/materials to build this drone including the sensors and everything? Thanks.

    • @sieuweelferink6852
      @sieuweelferink6852  11 месяцев назад +23

      So basically this is what you need:
      -- A drone. Basically any drone that has a pixhawk or similar flight controller that runs ardupilot wil work. But if you are building from scratch you could build something like this:
      - Get 10 inch drone propellors and motors (t-motor is one of the best brands). A motor between 400 and 1000kv should work fine.
      - 30a Esc’s. Any brand is fine but t-motor or hobby King make good ones.
      - 4s lipo battery. 3s is possible but 4s will increase flight time a lot and also give the drone more power for faster following. Tattu makes good batteries.
      - flight controller that can run ardupilot and is released after the pixhawk. The chineese clones of the pixhawk can be really bad sometimes. A more expensive unit but which I really like a lot is the cube orange. Otherwise a radio link pixhawk is also good. I would recommend buying a flight controller in a kit. This will make sure that you get everything you need like wires, speaker, safety button, telemetry system etc.
      - gps + compass module. Get a radio link module if you are on a budget or a Sirius f9p from dronetek. Don’t buy a cheap unit. Gps and compass is one of the most important sensors for a drone. Getting a cheap one will result in crashes!
      - for the frame a dji f450 or tarot clone of this frame is good. Going with quad motors is the easiest and cheapest.
      -- beside a basic drone we also need some specific parts. These are:
      - jetson nano 4gb module. (Dont buy the 2gb model it is not good)
      - a 1080p csi camera. I like modules with the imx219 sensor a lot. Easiest would be to just buy that one.
      - a step down converter like the LM2596 I used.
      - a tf Luna LiDAR module from benewake.
      - a 3d printer to print some custom brackets located on GitHub.
      - adding a usb wifi module to the jetson will enable remote debugging of the system using ssh. Definitely recommend this.
      That would be it! Good luck trying to make it. Definitely send me a video if you have it flying.

    • @BrunoSantos-uq7hl
      @BrunoSantos-uq7hl 11 месяцев назад

      ​@@sieuweelferink6852Hey, where I live the pixhawk and similallars are out of stock. Do you think I would be able to crete something like that with a beta flight FC? I know they are more focused for racing but I wonder if I could create an autonomos drone like that. It is a FC Omnibus Betaflight F4 PRO V2 Flight Controller STM32 F405

    • @mehulkini9384
      @mehulkini9384 2 месяца назад

      @@sieuweelferink6852 Hey buddy Even I am working on the similar project using ML in it. Can you suggest me the best controller in the Pixhawk exactly so that I can get the documentation and really use it. And also I want to add the sensors to it like air pressure sensors etc. Is there a provision to add those sensor and if it is possible then which sensors are available in the market for it. your Guidance will be Valuable

  • @ROYALGAMERJAMES
    @ROYALGAMERJAMES Год назад +56

    He is a type of guy I am searching my whole life to be friends with.

    • @jordan3636
      @jordan3636 2 месяца назад

      suprisingly, robots hunting people down scares most people

  • @herrjonatan5436
    @herrjonatan5436 2 месяца назад +2

    This is the kind of youtube channels WE want to be recommended to 🙏.
    I have subscribed

  • @TrailWolf83
    @TrailWolf83 Год назад +3

    Thank for sharing this and the breaking it all down! I have been wanting to make my own from scratch as well and make it fully autonomous!

  • @cnaccio
    @cnaccio Год назад +1

    Oh man, this is genus. I watched another video on a similar project using the Jetson and it wasn't even close to as smooth as this solution. Very elegant, and it's python!

  • @GlenPerryZ
    @GlenPerryZ 3 месяца назад

    This is brilliant work !! Well done!

  • @soultracer
    @soultracer Год назад +2

    Nicely done! Don't give up sharing your content. Even if there are similar projects out there.

  • @faraazk.8015
    @faraazk.8015 Год назад

    Very cool, this is great stuff man. Keep it up and thanks for sharing.

  • @Augmented_AI
    @Augmented_AI 3 года назад

    Looking forward to this!!

  • @mzf11125
    @mzf11125 11 месяцев назад

    This is too cool, thank you for making it open source

  • @abhiritdas7762
    @abhiritdas7762 6 месяцев назад

    Really good work man!

  • @kundanyadav5573
    @kundanyadav5573 2 года назад +1

    YOU ARE OVERPOWERED!!!

  • @DuoTheDouble
    @DuoTheDouble Год назад

    opened my eyes to a pretty cool hobby my dude thanks :D

  • @ahatami7051
    @ahatami7051 Год назад

    Great job buddy, learned a lot🙏🏼🙏🏼🙏🏼

  • @suheladesilva2933
    @suheladesilva2933 5 месяцев назад

    Brilliant video, inspirational!

  • @longlong1981
    @longlong1981 10 месяцев назад

    great work. thanks for sharing. do upload more of your work. you are such an inspiration for drone developer.

  • @samdownload8192
    @samdownload8192 Год назад

    Keep it up bro, well done.

  • @keshav2136
    @keshav2136 Год назад

    Great project! Thanks for sharing with us

  • @PlanB-3751
    @PlanB-3751 Месяц назад

    Thank you🙏
    You're really a good kind and helpful young man👍
    Cheers🕊️

  • @oraqol
    @oraqol 2 года назад

    Awesome project!

  • @stonynotdusty
    @stonynotdusty Год назад

    Amazing work

  • @agushary9405
    @agushary9405 3 месяца назад

    thanks for sharing, this is so wonderful

  • @ibrahimkhadraoui7736
    @ibrahimkhadraoui7736 11 месяцев назад

    Very nice E46 man I really like it it's a coupe, I have the sedan (4 doors) 330i, I'm an embedded system engineer I do some PCB design for IoT devices, I'm also a ROS enthusiast actually I was watching some videos on PX4 MavROS and I found your video.
    Keep up the good work bro you are amazing I really people like you

  • @marcindyba4774
    @marcindyba4774 Год назад

    Really nice . Thank you.

  • @MrfB-br6yh
    @MrfB-br6yh 4 месяца назад

    Just amazing

  • @lukas_wDE
    @lukas_wDE Год назад

    Oh yes, that what i need😍

  • @ddevzshash2754
    @ddevzshash2754 2 года назад

    Amazing 👏👏👏

  • @raffaelemagni3078
    @raffaelemagni3078 9 месяцев назад

    wow you re crazy, keep going!!!!

  • @FeradZyulkyarov
    @FeradZyulkyarov 7 месяцев назад

    Amazing. You are genius.

  • @logcom482
    @logcom482 2 года назад

    Sieuwe you are great person ❤✌👋

  • @elizabethb5615
    @elizabethb5615 Год назад +4

    Great job! Could u please refer to the sensor models? which rgb camera and lidar did u use?

  • @artigeniusStore
    @artigeniusStore Год назад

    so cool. thanks

  • @ferco0
    @ferco0 Год назад

    Thank you!

  • @user-mj2iq7mm3r
    @user-mj2iq7mm3r 8 месяцев назад

    Thanks for sharing

  • @DuongSHARE
    @DuongSHARE 11 месяцев назад

    love it

  • @balelab4211
    @balelab4211 3 года назад

    Thank you very much for your efforts.

  • @Rezaemad-wn2by
    @Rezaemad-wn2by 3 года назад +1

    That was fantastic man . Please upload more❤️

    • @sieuweelferink6852
      @sieuweelferink6852  3 года назад +1

      I will try as much as possible! But my projects are complicated and thus will take time. I will now focus 100% on the autonomous vehicle V2.0. So stay tuned for that!

    • @Rezaemad-wn2by
      @Rezaemad-wn2by 3 года назад

      @@sieuweelferink6852 great man. good luck.

    • @Film-maker
      @Film-maker 5 месяцев назад

      What happened with this project? Did you stop working on it?@@sieuweelferink6852

  • @atmanisalim9277
    @atmanisalim9277 3 года назад

    Good Job Sieuwe

  • @alirezaghaderi
    @alirezaghaderi Год назад

    nice job man...

  • @bentsprockettech
    @bentsprockettech Год назад

    Thank you for using 3s. My favorite battery size. :)

  • @johnmelbolaybolay6269
    @johnmelbolaybolay6269 Год назад

    How were you able to calibrate both rotations and forward movement for the right PID control?

  • @woodoo4art
    @woodoo4art 2 года назад +3

    Hello Sieuwe, it is a great work. I have the M690L hexacopter from Align. It is a bit older one, so i intend to use an additional hardware/software to update the AI possibility of this drone. Is this O.K. that you could check what is possible with genuine flight Controller of this copter?(APS M). Is there a way to contact you (PN)?

  • @TechMechanism
    @TechMechanism Год назад

    amazing

  • @drewskiakg2719
    @drewskiakg2719 Год назад

    Now way!
    You should make a home security drone. That would be awesome!
    Thanks for the video 🤙

    • @pedropalacios1
      @pedropalacios1 Год назад

      That’s a really good idea! He should do that.

  • @johnmelbolaybolay6269
    @johnmelbolaybolay6269 Год назад

    Is it even possible to simultaneously implement the mav condition yaw (for yaw) and mav frame body ned (for forward)?

  • @anishpatil3902
    @anishpatil3902 Год назад

    Can we control pitch yaw and roll without using pid control in program?

  • @birendrakumar-gl5gq
    @birendrakumar-gl5gq 6 месяцев назад

    nice project, when is your part 2 coming, (autonomus obstacle avoidance drone) ?

  • @MehdiNY
    @MehdiNY 6 месяцев назад

    Hi. Where did you connect the Lidar to? To Jetson? Thanks

  • @techmontc8360
    @techmontc8360 Год назад +1

    Hi Sir,
    This is very great project!!
    May i know the spec of motor you’re using in this project?. It is very much appreciated

  • @sibujacob977
    @sibujacob977 Год назад

    I wish no one will come and buy you out becos we need you in these forums :)) !!

  • @Ronobuildstech
    @Ronobuildstech 3 года назад

    this is cool...:)

  • @sidheshmarne4122
    @sidheshmarne4122 Год назад

    what if instead of jetson nano I transfer this information ground station (laptop) and perform algorithms and command back to my drone. Is it possible??

  • @julianwilliams99
    @julianwilliams99 6 месяцев назад

    How hard would it be to switch from tracking mode to a "kill mode"? Where drone will collide with tracked target at full speed.

  • @odetteanoh1831
    @odetteanoh1831 9 месяцев назад

    I like great🎉🎉

  • @dsyeta174omkshirsgar2
    @dsyeta174omkshirsgar2 7 месяцев назад

    which library is used for drone control? it doesnt seem that you have used drone kit

  • @TheValueMentor
    @TheValueMentor 4 месяца назад

    please keep uploading

  • @PyMike
    @PyMike 4 месяца назад

    Uber Cool.

  • @antonyshani9705
    @antonyshani9705 3 месяца назад

    Can i do this project without a lidar sensor and by using a raspberrypi5

  • @ewout4890
    @ewout4890 3 года назад +1

    Engels zeer on point😂

  • @user-nw9we5yg9s
    @user-nw9we5yg9s 8 месяцев назад

    I would like to see two or more drones follow the same target in synch with each other.

  • @manishgowda8641
    @manishgowda8641 3 месяца назад

    Are there any cheaper alternative for jetson nano board

  • @matanbitton3438
    @matanbitton3438 8 месяцев назад

    WOW HAMZING!!!

  • @mohandevaki4670
    @mohandevaki4670 3 года назад +2

    Great job but you need more recognition 👏👏👏👏👏

  • @sibujacob977
    @sibujacob977 Год назад

    Can you please confirm that this will work on a PX4 stack as well .

  • @kevinkarabokgano6257
    @kevinkarabokgano6257 Год назад

    i had Deja Vu @6:58😱it felt like i already watched that part of the video🤯

  • @omkarpingale1572
    @omkarpingale1572 11 месяцев назад

    Can you please make a project on gps and navigation UGVs for agriculture!🙏

  • @george-a.m.75
    @george-a.m.75 11 месяцев назад

    Great work and solution! Carry on, and you could have a great future, by doing this as your future job!
    On question, if possible. Do you think it could be possible to integrate a library of objects the drone has to track and follow? For example Cars,, Bikes, People or equal, or is therefore AI needed? I mean something same like the Autel Evo Max is offering?

    • @sieuweelferink6852
      @sieuweelferink6852  11 месяцев назад +1

      Yes definitely. The model I used is trained on the imagenet dataset. So basically the drone could track every object which is in this dataset. I think there are over 50 different objects. I just simply filter for only the object type person. But changing that line to a list will enable what you want.

  • @ImpulsiveMigea
    @ImpulsiveMigea Год назад

    Is it possible to complete the task with more cheap flight controller?

  • @prosperilunga9417
    @prosperilunga9417 Год назад

    Thanks for the video. I am really interested and i want your guidance in making a full drone if you don't bringing your help forth, I would I appreciate

  • @artigeniusStore
    @artigeniusStore 4 месяца назад

    genius

  • @alanrichard8297
    @alanrichard8297 Год назад

    hi my drone need to detect a box and pick it up its similar to ur project can u help me out

  • @qjdianenfjaiwk
    @qjdianenfjaiwk 2 месяца назад

    I was literally looking for this exact thing for delivering packages to my friends in my neighborhood

  • @odetteanoh1831
    @odetteanoh1831 9 месяцев назад

    You are clever🎉🎉🎉🎉

  • @user-cz8pg1xf2y
    @user-cz8pg1xf2y Год назад

    Where to get the same drone?

  • @NortheastNomad
    @NortheastNomad Год назад

    You should post a full tutorial

  • @vittal255
    @vittal255 2 года назад +4

    Great job This is something which is very useful in industries.I have been planning to build like one of these for autonomous tracking.
    Could you please suggest me the PC configuration required to run a yolo model at 30FPS for custom object.
    Thanks in advance

    • @sieuweelferink6852
      @sieuweelferink6852  2 года назад

      Jetson nano 4gb is fine for tiny yolo model. Otherwise look at jetson Xavier. Can run at a couple 100 fps!

    • @nothink0945
      @nothink0945 Год назад +1

      @@sieuweelferink6852 how do you make the image run on 25fps i tried everything (im a beginer) and the best i got is i open image and than close it and repeat and its slow,garbage,stuppid,annoying.any sugestions?

  • @chelseastevenson6459
    @chelseastevenson6459 2 года назад

    are you still using the PS4 Stereo camera?

  • @SushilKumar-ph9lt
    @SushilKumar-ph9lt 4 месяца назад

    I need your help regarding autonomous flying drone without gps pls help n reply

  • @nisithfonseka3674
    @nisithfonseka3674 Год назад

    Can this code run on a raspberry pi?

  • @boonchaan
    @boonchaan Год назад

    hi! are you still working on this? part 2?

  • @freezinfire
    @freezinfire 10 месяцев назад

    Noice

  • @user-hb3ox7qi7v
    @user-hb3ox7qi7v 9 месяцев назад +1

    Bro can you make a complete AI powered fpv drone building from scratch it would be alot of helpful for me please bro I want that so badly

  • @bihansuraweera
    @bihansuraweera 3 года назад

    Nice work man need to try this my self. Can you make tutorial fron no drone to fully automated drone. Building and programming

    • @sieuweelferink6852
      @sieuweelferink6852  3 года назад +1

      Hi so it is really easy. First build a drone with a pixhawk flight controller. Just search online on how to do it. Then mount a jetson nano and rgb and tf luna lidar on the drone. Install all software on the jetson nano and run main Python program.

    • @bihansuraweera
      @bihansuraweera 3 года назад

      @@sieuweelferink6852 thank you so much you are very helpful

  • @armenkalaidjian4494
    @armenkalaidjian4494 Год назад

    Why did you connect lidar to jetson nano but not to PX 4? In this case, it would be possible to connect the Jetson to the Pixhawk via a serial port. And you don't need a USB to Serial converter. Data from the lidar can be obtained using the Mavlink protocol

    • @MehdiNY
      @MehdiNY 6 месяцев назад

      Did he connect the lidar to Jetson?

  • @mohammadabdurrehmancheema2476
    @mohammadabdurrehmancheema2476 3 года назад

    1.What courses, what structures one should use, to make a drone fully autonomous?
    2.How to start this work? How did you started? I am completely a beginer in drone programming, even i have no idea what micro-controller is best to use, and how to control the peripherals attached to the micro-controller, can you suggest any channel, any source or any helping websites, from where you prepared yourself for this outstanding work?
    3.Please let me know where to learn about the drones and AI for drones, Thanks in Advance.

    • @sieuweelferink6852
      @sieuweelferink6852  3 года назад +2

      Hi I think most of your questions will be answered in the video! It will be ready saturday. Just as a sneak peak you need a drone with pixhawk flight computer. Also get a embedded ai processor like a jetson nano for the ai stuff. This is how I made my drone in the video!

  • @hinduhindusthani66
    @hinduhindusthani66 11 месяцев назад

    sir which country u from,very good

  • @dawatamang3667
    @dawatamang3667 10 месяцев назад +1

    Thanks for sharing. Could you post a new line follower drone using pixhawk?

    • @dsyeta174omkshirsgar2
      @dsyeta174omkshirsgar2 7 месяцев назад

      a line on wall with arrow direction to move up down left right n yaw to go behind the wall

  • @f1j1poii86
    @f1j1poii86 Год назад

    How long did it take u to master python?

  • @DeepFrydTurd
    @DeepFrydTurd 5 месяцев назад

    hes got the jetson nano

  • @svpetarSR
    @svpetarSR 8 месяцев назад

    Great man! What about HOME position update in INAV, or any other soft. to actual transmitter position, when transmitter is moving?

  • @HabibUrRahman-mu8zf
    @HabibUrRahman-mu8zf 2 года назад

    can you explain the code?

  • @misterchief7361
    @misterchief7361 3 месяца назад

    Hi @sieuweelferink6852, I love what you've done here. I'm aiming for a similar project which includes a net launcher for a final year engineering project. I've run into a dead end trying to develop an autonomous drone under a betaflight system. The plan now is to flash ardupilot to my existing SpeedyBee F405 V4 and pretty much run your code. However, I want to offload the processing to a ground station PC and not use a Jetson. Could you provide any tips to make this work seamlessly? The idea is to have identical functionality to your system, but tracking drones not people, and having a pc process the tracking and following code.

    • @infocus2160
      @infocus2160 Месяц назад

      I think you need rtmp to get the video feed from drone and apply the object detection to detect person and then use the tracking code

  • @Kishi1969
    @Kishi1969 3 года назад

    I'm a subscriber just today and i will watch your video and share it and i can send you what I'm need, i just bought TELLO DRONE and i will like to program it using free open source opencv.. Like you are doing

    • @sieuweelferink6852
      @sieuweelferink6852  3 года назад +1

      Tello drone is a really good choice for simple opencv based projects! You can probably change our code to use with Trello drone and have good results👍 only you will have to change lidar distance to use for example bbox area as distance value

    • @Kishi1969
      @Kishi1969 3 года назад

      @@sieuweelferink6852 You are great.. Please I'm at other continent here where things for technology are very scanty but we are managing small resources, here even university have not resources except we check through Internet and i will be glad to be learning seriously from your channel...
      Apart from RUclips do you have any plat form again?
      Really amazing job sir you have done..

    • @sieuweelferink6852
      @sieuweelferink6852  3 года назад

      Hi I only upload on RUclips and sometimes explain my projects on instructables .

    • @Kishi1969
      @Kishi1969 3 года назад

      @@sieuweelferink6852 Thanks

    • @Kishi1969
      @Kishi1969 2 года назад

      Dear sir, i will try to use your code and if there is problem along the way, please i will be glad to get your help sir🙏

  • @rasheedstotomas4481
    @rasheedstotomas4481 2 года назад +1

    hI! im interested in using your crowd analytics project as a foundation in a project me and my classmates are currently trying to develop. is there any way i can contact you if we have questions? emails or discord calls?

    • @sieuweelferink6852
      @sieuweelferink6852  2 года назад

      Hi you can just ask your questions here so everyone can use the information i give you!

  • @user-vy1vw2fy3m
    @user-vy1vw2fy3m Год назад

    Great job! Will it work on raspberry pi 4?

    • @armenkalaidjian4494
      @armenkalaidjian4494 9 месяцев назад

      No. The fps will be too low. Only 4 frames per second is possible. I tried.

  • @pierrekotze9811
    @pierrekotze9811 2 года назад

    Please upload a Drone update 🙏

  • @lindawilson1646
    @lindawilson1646 2 года назад

    why did you decide to use Jetson Nano instead of raspberry pi?

    • @sieuweelferink6852
      @sieuweelferink6852  11 месяцев назад

      A rpi can not run a CNN like mobilenet in real time. Rpi can do something like 1 to 5 fps. A jetson nano can doe 30+ fps. More fps enables smoother control of the drone.

  • @Kishi1969
    @Kishi1969 2 года назад

    How can the drone collect data, i mean pictures of people and store it in PC?

    • @sieuweelferink6852
      @sieuweelferink6852  2 года назад +1

      You can just use the code already there. Jetson nano has a sd card slot where you can store picture on. Just change the code after the human filtering part

    • @Kishi1969
      @Kishi1969 2 года назад +1

      @@sieuweelferink6852 Thanks, i will try and after i will get in touch with you

  • @MrPyro91
    @MrPyro91 6 месяцев назад

    why do you need the lidar assuming you can get the distance based of the a bounding box size?

  • @user-pk9od8wf9y
    @user-pk9od8wf9y 5 месяцев назад

    Bro are you ok ?