Fully GPS-Denied Autonomous Drone: How It Works

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น •

  • @NicholasRehm
    @NicholasRehm  3 ปีที่แล้ว +164

    On a scale of “horribly underwhelming” to “ehh it’s alright,” how did you like this project?

    • @spaceshuttle8332
      @spaceshuttle8332 3 ปีที่แล้ว +21

      This is honestly amazing. Your projects are really inspiring! I’ve been working on a little flight controller using an Arduino Nano for a fixed wing configuration; nothing anywhere near close to what you have done, but your videos and tutorials have served as inspiration and guidance. Speaking of fixed wing, do you think this could be integrated into that type of configuration to do something like auto landing? I also noticed that you only have an IMU on the Teensy flight controller, but would it help the controller if you had, say something like a BMP 280 and an HMC5883 for both altitude and heading? (I could be wrong but didn’t see any other sensors in the footage). Thank you for sharing your projects! Not only are they amazing, they’re also inspiring. Keep them coming!

    • @whizadree
      @whizadree 3 ปีที่แล้ว +1

      Wish you could do it without markers so be able to say oh it's a person, tree , truck ect, then test it on real world objects in motion

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +6

      @@spaceshuttle8332 Thanks so much, and best of luck on your project! I love the idea of auto landing a plane…

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +5

      @@whizadree Replacing my ‘cheaty’ April tag tracking with some sort of machine learning model would absolutely be the next step, and would be a straightforward drop-in replacement

    • @robelefrem9734
      @robelefrem9734 3 ปีที่แล้ว +4

      I wonder how difficult it would be to package an obstacle avoidance and planning system like this to work directly with ardupilot. If it could somehow update mission nodes on the fly like this it could be used with multiple different platforms in an easy and accessible way to retrofit mission planning and optimization to your diy project. Not to mention to be able to take full advantage of the capabilities of ardupilot in addition. Awesome vid man

  • @iforce2d
    @iforce2d 3 ปีที่แล้ว +66

    Great stuff! The forced 'long way around' test was awesome!!

    • @goobisoft4873
      @goobisoft4873 3 ปีที่แล้ว +2

      I was thinking of u when watching this video where u havee been i hope everything is ok👍

  • @TomPittenger
    @TomPittenger 3 ปีที่แล้ว +46

    Fun Fact: ArduPilot runs Dijkstra's algorithm and another path planner in realtime. It uses a variety of inputs like multiple lidar/sonars, pre-programmed polygons (like trees and buildings), or other dynamically moving aircraft such as ADSB and/or other drones on the same network.

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +6

      Interesting, I knew they used dijkstra’s for planning around a pre-defined weirdly-shaped fence, but have not seen any of the capabilities for dynamic/injected obstacles. Will have to look into it more. Thanks!

    • @luisvale
      @luisvale 3 ปีที่แล้ว

      @@NicholasRehm Back in 2018 dynamic planning of paths and avoiding dynamic obstacles was already used and shown. I remembered this demo @Tom Pittenger
      th-cam.com/video/VHeDL85iWdI/w-d-xo.html

    • @rishabhsingh5488
      @rishabhsingh5488 3 ปีที่แล้ว +4

      Apart from Path Planning, (we call our Algorithm BendyRuler, that does dynamic obstacle avoidance), we also support 3-D obstacle avoidance in manual modes: th-cam.com/video/-6PWB52J3ho/w-d-xo.html

  • @epicdaniel508
    @epicdaniel508 3 ปีที่แล้ว +5

    5:55 That's what Blue Origin said! Great video!

  • @ITpanda
    @ITpanda 3 ปีที่แล้ว +10

    Autopilot drone races would be an interesting competition, maybe you can host an event? Maybe of course that has constantly changing obstacles, with a flight ceiling that would disqualify those that flew above it more than a number of times (1-3). Would bring nerdy back into drone racing, well encouraging the improvement/evolution of flight controllers.

  • @TurpInTexas
    @TurpInTexas 3 ปีที่แล้ว +12

    I was planning on doing something like this in my quest to build a smarter robotic mower, but you just blew my mind doing it with a drone! Lol!

  • @livinginthegardenhouse9755
    @livinginthegardenhouse9755 3 ปีที่แล้ว +1

    This Channel will grow massively

  • @Paranalense
    @Paranalense 3 ปีที่แล้ว +3

    Very well planned and executed, thanks for sharing. Greetings from Chile... ...and the Mythbusters poster in the end... Subscribed!

  • @sang84119
    @sang84119 3 ปีที่แล้ว +1

    This blew my mind, it's truly DIY legendary. I'm new with Drone,ROS,... I'm starting to learn this stuffs all of your projects inspired me a lot

  • @moisesaragon4008
    @moisesaragon4008 3 ปีที่แล้ว +1

    you are a genius, greetings from spain

  • @n0t_UN_Owen
    @n0t_UN_Owen 3 ปีที่แล้ว +5

    Engineers really love to mess with stuff that can be revolutionized during their free time

  • @williamgillespie4459
    @williamgillespie4459 2 ปีที่แล้ว +1

    I caught a few of the Extremely subtle hints to subscribe, and did so. Thanks for the good content.

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      Glad my subliminal messaging worked lol

  • @alphanomega888
    @alphanomega888 6 ชั่วโมงที่ผ่านมา

    Excellent work dude!

  • @poporbit2432
    @poporbit2432 3 ปีที่แล้ว +2

    Great development. Thanks for sharing.

  • @ThereAreNoHandlesLeft
    @ThereAreNoHandlesLeft 3 ปีที่แล้ว +1

    This is so deeply nerdy and even with your excellent assistance remained over my head in a GREAT way.
    Being over my head gives me something to reach for.
    Great video, even more detail in the coding process would be cool. I love it.

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว

      Really appreciate it, I’ll try to find better ways in the future to make the coding bits less boring and include more of that

    • @ThereAreNoHandlesLeft
      @ThereAreNoHandlesLeft 3 ปีที่แล้ว +2

      @@NicholasRehm You do you man. Don't worry about the algorithm or us. Make what makes you happy. We're happy to get to share it

  • @Blubb3rbub
    @Blubb3rbub 2 ปีที่แล้ว +1

    Watching this made me remember the "Kalman filter" I heard about some time ago that allows to combine accelerator and GPS data to improve the accuracy of the "current position estimation". You could probably do something similar by having some of these tags placed at fixed known positions, so the drone can "realign" its position without relying on GPS data.

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว +1

      Yup, factory robots use these a lot in warehouses to correct for drift in the kalman state estimate, since the tags are always in known position

  • @overloader7900
    @overloader7900 ปีที่แล้ว +4

    2:15 The missile always knows where it is...

  • @MrMaufera
    @MrMaufera 3 ปีที่แล้ว +2

    Cyclo drone i loved

  • @AERR_FPV
    @AERR_FPV 3 ปีที่แล้ว +2

    Love it

  • @gordon1201
    @gordon1201 3 ปีที่แล้ว +1

    This is so cool. Very well explained

  • @drewskiakg2719
    @drewskiakg2719 ปีที่แล้ว +1

    Wow! Great video. Are you using machine learning, computer vision to recognize an object or a person?
    You can make a legit drone home security system.
    All you need is a wireless landing pad haha.
    Can't wait for your other videos.
    Thank again!

  • @lundebc
    @lundebc 3 ปีที่แล้ว +3

    Very nice explanation on how it works. Just getting into this topic area and will go back through this video to get more details on your implementation. I want to do something similar to my r/c lawn-mower and considering ardurover, but this approach combined with path planning/obstacle avoidance would be a very good approach.

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +2

      I’d recommend a hybrid approach where you keep ardurover for basically everything, and supplement it with a companion computer to send it new waypoints/desired state data over mavlink in something like guided mode

  • @Aaron_b_c
    @Aaron_b_c 2 ปีที่แล้ว

    I love that you set up a full desktop outside rather than just dinking around on a laptop.

  • @robmulally
    @robmulally 3 ปีที่แล้ว +1

    Great video, and here I was happy to have a quad running inav rth haha

  • @Knutahh
    @Knutahh 3 ปีที่แล้ว +1

    Damn dude. Really interesting and mindblowing stuff. Subscribed! :)

  • @skylerjohnson9089
    @skylerjohnson9089 หลายเดือนก่อน

    I appreciate all the details!!

  • @manjunathayr9348
    @manjunathayr9348 3 ปีที่แล้ว +2

    It's pretty darn cool really really

  • @MeepMu
    @MeepMu 3 ปีที่แล้ว +3

    Immensely complex and high risk :)

  • @ohitstarik
    @ohitstarik 3 ปีที่แล้ว +3

    2:30 "the drone knows where it is at all times 🧐🧐"

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +3

      By knowing where it isn’t

  • @JohnMatthew1
    @JohnMatthew1 2 ปีที่แล้ว

    WOW, keep up the great work!

  • @antoninperbosc1532
    @antoninperbosc1532 3 ปีที่แล้ว +1

    Great work !

  • @muessliemix
    @muessliemix 3 ปีที่แล้ว +2

    Amazing project and explanation! Keep the good work coming. 👍🏻 You earned yourself a new subscriber right there! 😉

  • @LuigiDaMonster
    @LuigiDaMonster ปีที่แล้ว

    This is all very interesting. I'm very grateful to have came across this channel.
    Please keep up the great work and content. Thanks for sharing.
    Thumbs up!! 👍

  • @weirdsciencetv4999
    @weirdsciencetv4999 25 วันที่ผ่านมา

    Use YOLO to identify objects, then a range finder to get distance to that object. Then vector correlate it to database established by google street view. Put this camera and rangefinder on a gimbal to scan around. Be sure to properly bore sight camera to the rangefinder.
    Add state estimator to fuse odometry with detected landmarks

  • @bbqotpewi
    @bbqotpewi 3 ปีที่แล้ว +1

    What are you doing in switzerland? (1:22)
    btw, very helpful video, I'm planning to do something similar soon

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว

      Default SITL location haha

  • @davehayes8812
    @davehayes8812 2 ปีที่แล้ว +1

    Brilliant.

  • @zephyrandboreas
    @zephyrandboreas 3 ปีที่แล้ว +2

    Not an engineer, but it is awesome and really well explained. I definitely learned something interesting 😀

  • @wearemany73
    @wearemany73 2 ปีที่แล้ว

    Make sure your collar’s straight the next time you do anything like this again. 😉 Great video with a clear explanation of technical data, sweet video. I’m eager to know where this goes. 😊

  • @iAkashPaul
    @iAkashPaul ปีที่แล้ว

    Andrew Barry (Boston Dynamics, MIT) had created Pushbroom Stereo like 7/8 years ago, now it should be quite feasible without 120FPS cameras or stereo pair since we have decent monocular depth estimation sorted!

  • @moochasas
    @moochasas 10 หลายเดือนก่อน

    That is an awesome project..... well done..

  • @f_2476
    @f_2476 2 ปีที่แล้ว

    Wow what a great video with simple explanations great work buddy you deserve millions subscribers, highly recommending your channel and I actually enjoying watching your clips with fruitful info's.. .. Thanks appreciated 👍👍👍

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      Thanks so much for the kind words. You're exactly the type of person I try to make videos for

  • @omarramadan5185
    @omarramadan5185 ปีที่แล้ว

    Amazing project and video! Very clear explanation on how you drone roughly works
    I do have a question though that you may have possibly answered throughout the video but it seems like I missed it.
    At 11:45, why did the drone backtrack and took the longer path to the right of the obstacles rather than going left from the left most obstacle? is it because we predefined the area at which nodes and edges can exist?

    • @NicholasRehm
      @NicholasRehm  ปีที่แล้ว

      Correct, the grid overlay showed viable nodes/edges that it could plan over, which was just an arbitrary rectangle within my backyard (with margin so I wouldn’t hit the tree!)

    • @omarramadan5185
      @omarramadan5185 ปีที่แล้ว

      @@NicholasRehm ah yes that makes alot of sense! Thank you for the hasty reply

  • @theK8pTn-G
    @theK8pTn-G 2 ปีที่แล้ว

    Legendary effort! Very VERY cool! A great production! Remember watching Terminator as a kid? I think this was just as exciting. :D :D :D Bravo!!!!!!!! Well done!!!!!!

  • @Jp_Robotics
    @Jp_Robotics 3 ปีที่แล้ว +1

    Awesome ❣️🔥

  • @yevhenmikhalov2258
    @yevhenmikhalov2258 ปีที่แล้ว

    that was amaising, thanks!

  • @yeshassudharshan8791
    @yeshassudharshan8791 9 หลายเดือนก่อน

    Thank you for demonstrating yet again that engineers can do anything . Also could you point to resources and courses(if any) as to where to learn more about ROS, computer vision or basically how to make drones smart.

    • @NicholasRehm
      @NicholasRehm  9 หลายเดือนก่อน

      This is the class I took, all lectures and course material is free and open source: pear.wpi.edu/teaching/rbe595/fall2023.html I even gave a guest lecture last semester :)

  • @subvsvid3616
    @subvsvid3616 ปีที่แล้ว

    What animation software is used in 00:56 How Waypoint Autonomy Works

  • @oliverer3
    @oliverer3 2 ปีที่แล้ว

    This is so cool! I've been trying to do stuff like this but I've yet to gather all the software-related knowledge to achieve things like this.

  • @kwhp1507
    @kwhp1507 3 ปีที่แล้ว +1

    Where are you from? I’ve got some motors and frames I can send you.

  • @__FJ__
    @__FJ__ 3 ปีที่แล้ว +1

    Hi! That was entertaining and very interesting. Thank you for making this video. I should put this on my pretty dumb “robotic” lawn mower.

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +1

      I have definitely thought of doing an automated lawnmower, haha. Thanks for the comment

    • @PuceBaboon
      @PuceBaboon 3 ปีที่แล้ว

      @@NicholasRehm Then you have to deal with the "negative" obstacles, too (I have a cliff-like drop off on two sides of my field). Time for a "It's the end of the world as we know it" algo. :-)

  • @adekunleafolabi1040
    @adekunleafolabi1040 3 ปีที่แล้ว +1

    This is exactly what my partner and I are working on for our final year project.

  • @minerharry
    @minerharry 2 ปีที่แล้ว +1

    Lmao “immensely complex and high risk”

  • @erolrecep
    @erolrecep 2 ปีที่แล้ว +1

    It's an awesome project! Great job! Thanks for sharing with us.

  • @LeRainbow
    @LeRainbow 2 ปีที่แล้ว

    I find it insane how you made your own FC ... code and all.

  • @حسينجوادجمالفخري
    @حسينجوادجمالفخري 3 ปีที่แล้ว

    Love you man ❤️😘

  • @matthewallen3375
    @matthewallen3375 2 ปีที่แล้ว

    Its a good level of weeds for me. well done video.

  • @hubba002123
    @hubba002123 11 หลายเดือนก่อน

    Very cool work. I've been thinking about doing something like this for fun/hobby. How are you controlling the quad from your computer? I've been trying to figure out this simple first step. Do you add wifi or something to your teensy? Or, are you broadcasting a signal directly to your quad receiver like your computer is a transmitter? The computer transmitting directly to the quad receiver is what I've been trying to figure out.

  • @HclPudding
    @HclPudding ปีที่แล้ว

    The drone knows where it is at all times. It knows this because it knows where it isn't.

  • @ayuschmannov2461
    @ayuschmannov2461 2 ปีที่แล้ว

    Lovely lovely

  • @pshishiraithal6623
    @pshishiraithal6623 9 หลายเดือนก่อน

    may I know where I can find the circuit schematics ,code etc for this project , it would be really helpful for me

  • @moodberry
    @moodberry ปีที่แล้ว

    Good smarts shown in your project, but I have a basic question. Why are you using the optical sensor instead of, say, a front facing Lidar sensor, so that essentially you could maneuver in dark spaces. It looks like you could only fly this in daylight.

  • @galileo1836
    @galileo1836 ปีที่แล้ว

    what are the applications that you are using the test your drones

  • @TechMalaya
    @TechMalaya 3 ปีที่แล้ว

    nice bro

  • @kiphaynes
    @kiphaynes 3 ปีที่แล้ว +2

    Nice job! I am working on something very similar. May I ask a couple of questions? Are you sending position setpoints, velocity setpoints, or acceleration setpoints? Or a combination thereof? Are you using a downward facing optical flow connected directly to the px4? Are you using the px4 EKF2 estimator? Are you generating a map of the space that is stored for later, maybe using something like rtab_map?

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +2

      The quad is stabilized at desired angle setpoints using my opensource teensy-based flight controller dRehmFlight VTOL. The pi is sending angle setpoint commands based on position feedback from the realsense camera and a cascaded PID controller I wrote. The px4flow sensor you saw on the underside is unused for this project; I was experimenting with my own visual-inertial odometry implementation before just settling on the realsense camera for odometry. No px4 or other pre-existing packages were used for this project other than the apriltag tracker which was a ROS package I borrowed. Best of luck with your project!

  • @jdragon8184
    @jdragon8184 2 ปีที่แล้ว

    hey i just learned control system and state space , was wondering on how will i feed refernce path so that my mpc can make uav follow it

  • @STPromosMusic
    @STPromosMusic 3 ปีที่แล้ว

    I beg you, build Justin Capra's YR-VVI, that should mean you no longer need a propeller, I'd love to see a thing like that fly, even if in model version.
    If there's one person who can do it, it's you. Although it won't stop me from trying it myself in the future with my basic RC planes and drones building experience XD

  • @thomaslincoln401
    @thomaslincoln401 2 ปีที่แล้ว

    Eh it's alright!
    Just recently found this channel and going to give some of this stuff a try!

  • @nbtph9769
    @nbtph9769 3 หลายเดือนก่อน

    If possible can you make another follow up video where you go more in the algorithms?

  • @bodybychiken
    @bodybychiken 3 ปีที่แล้ว

    Is there any way to get a part list, or step by step guide?

  • @marwinthedja5450
    @marwinthedja5450 2 ปีที่แล้ว +1

    Graph theory?
    Subbed!

  • @boiboi505
    @boiboi505 2 ปีที่แล้ว

    The drone knows where it is at all times, by knowing where it isn't.

  • @SkivaksXD
    @SkivaksXD 2 ปีที่แล้ว

    The drone knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the drone from a position where it is to a position where it isn't, and arriving at a position where it wasn't, it now is. Consequently, the position where it is, is now the position that it wasn't, and it follows that the position that it was, is now the position that it isn't.
    In the event that the position that it is in is not the position that it wasn't, the system has acquired a variation, the variation being the difference between where the drone is, and where it wasn't. If variation is considered to be a significant factor, it too may be corrected by the GEA. However, the drone must also know where it was.
    The drone guidance computer scenario works as follows. Because a variation has modified some of the information the drone has obtained, it is not sure just where it is. However, it is sure where it isn't, within reason, and it knows where it was. It now subtracts where it should be from where it wasn't, or vice-versa, and by differentiating this from the algebraic sum of where it shouldn't be, and where it was, it is able to obtain the deviation and its variation, which is called error.

  • @alienbeef0421
    @alienbeef0421 ปีที่แล้ว

    2:16
    The missile knows where it is at all times

  • @shahnejad313
    @shahnejad313 2 ปีที่แล้ว

    I just stumbled on this video. I am very impressed with your demonstration of DIY drone autonomous flight pattern. I am looking for similar drone navigation system without the use of GPS. I am planning to scan a cell tower using a cylenderical coordinate system using 4 ground targets as a mean to position the drone on a cylindrical grid and collect RF signals. The position accuracy could be in mm. How would you go about doing such a design? Please send your contact info. Thanks

  • @dcandteam
    @dcandteam 2 ปีที่แล้ว

    Amazing

  • @elclay
    @elclay 4 หลายเดือนก่อน

    Amazing! I wonder if the integration with mavros or the ROS wrapper used, is available for the dRehmFlight software?

    • @NicholasRehm
      @NicholasRehm  4 หลายเดือนก่อน

      DRehmFlight doesn’t support mavlink

  • @flyingmonkey3822
    @flyingmonkey3822 2 ปีที่แล้ว

    I love it! Civ Div channel just did a video where he talks about bringing a DJI mavic with him into Ukraine, and how they use jammers and so their cheap drones just fall out of the sky so for the money he’d rather invest in better boots. But with the some hardware and some hacking on INav these cheap drones could just return to home instead.

  • @CBJamo
    @CBJamo 3 ปีที่แล้ว

    Excellent project, I love seeing people using ros. You should give ros2 a try, the architecture is substantially more robust.
    On to the questions:
    What was the load like on the pi?
    Why two cameras?
    You mentioned moving away from the april tags to optical object detection. Have you considered using the depth data from the realsense instead of optical?
    What is the battery connector on post at the back for?

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว

      1. About 60% cpu load, mostly from the usb camera driver/AprilTag tracking
      2. The realsense camera is super wide angle and relatively low resolution, so its hard to remove image distortion for tracking algorithms to use. So it ended up just being easier to throw on a cheap HD usb camera for the target tracking
      3. I don't know what a more robust obstacle detection scheme would look like at the moment, but it definitely could leverage the realsense data!
      4. This quad was initially built a while back for a competition which required a disarming key X inches away from the propellers. That connector just completes the connection between the ESCs and propulsion battery with a shorted XT-60 connector

  • @8bithavok
    @8bithavok 2 ปีที่แล้ว +1

    The drone knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is, whichever is greater, it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the drone from a position where it is to a position where it isn't and, arriving at a position where it wasn't, it now is. Consequently, the position where it is, is now the position that it wasn't, and it follows that the position that it was is now the position that it isn't. In the event that the position that it is in is not the position that it wasn't, the system has acquired a variation; the variation being the difference between where the drone is and where it isn't. If variation is considered to be a significant factor, it, too, may be corrected by the GPS. However, the drone must also know where it was. The drone guidance computer scenario works as follows: because a variation has modified some of the information the drone has obtained, it is not sure just where it is, however it is sure where it isn't, within reason, and it knows where it was. It now subtracts where it should be from where it wasn't, or vice versa. And by differentiating this from the algebraic sum of where it shouldn't be and where it was, it is able to obtain the deviation and its variation, which is called error.

  • @blinkingspirittheblu2088
    @blinkingspirittheblu2088 ปีที่แล้ว +1

    very beautiful but need faster hardware like nvidia jetson or orin...

  • @ChadKovac
    @ChadKovac 2 ปีที่แล้ว

    I'm attracted to he idea of having a quad flying through my woods doing my patrol for me. ;)

  • @bhavyachhabra1600
    @bhavyachhabra1600 2 ปีที่แล้ว

    Hi, great video! What softwares have you used in this video??

  • @Larock-wu1uu
    @Larock-wu1uu 3 ปีที่แล้ว +1

    Great video! thanks a lot for sharing this with us :-) Are you still using your custom flight software dRhemFlight? I am using it as well in a VTOL project. How do you plan to integrate with currently available path planning software? Will you for example implement a MAVLink communication or will you eventually switch to PX4 / Ardupilot? Your firmware is great to get started as it is intuitive, but I realized that it has some limitations when it comes to interfacing with some of the opensource software out there. Do you plan to switch firmware, do you re-implement your own path planning / ground station software or do you aim to make your firmware compatible with current software? What is your take on that? I find it very difficult to decide which direction to go. Reimplementing stuff is great if you want to learn how things work, on the other hand using available software as much as possible accelerates the development. Thanks a ton for your answer.

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +1

      Yea, dRehmFlight for the inner loop stabilization but none of the autonomy. All of that was done on the pi in ROS and was also all custom. I think dRehmFlight is going to stay just about what it is in its current state so it can stay more of a teaching/learning tool and less of a competitor in the heavily developed autopilot market. The beauty of it in my opinion is just how fast you can splice in some simple code to get custom functionality, but of course the drawback is the lack of heavily developed features like autonomy or immediate compatibility with other systems

  • @fahrulrputra2589
    @fahrulrputra2589 ปีที่แล้ว

    Very nice video, but how much is the rate of both apriltag detector and dijkstra algorithm ? Considering it's very computational heavy

    • @NicholasRehm
      @NicholasRehm  ปีที่แล้ว

      About 10 hz on both of them

  • @JoseRamos-su3ep
    @JoseRamos-su3ep 2 ปีที่แล้ว

    Really like the platform you have there, do you files you can share for that?

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว +1

      If you shoot me an email I'll see what I can do

    • @JoseRamos-su3ep
      @JoseRamos-su3ep 2 ปีที่แล้ว

      @@NicholasRehm will do!!!!

    • @JoseRamos-su3ep
      @JoseRamos-su3ep 2 ปีที่แล้ว

      @@NicholasRehm I think I did it right, through TH-cam

  • @rezaulkarimreza4233
    @rezaulkarimreza4233 5 หลายเดือนก่อน

    r u made this flight controller ?? how ??

  • @RameshPatel-hu6lr
    @RameshPatel-hu6lr ปีที่แล้ว

    Firstly I have love the hardwork for this video.
    Do you have any blog or document on this. I'm collage student & I want to build exactly the same with ros2 and jetson. And thats my dream 😅. I need some guidence pls.

    • @NicholasRehm
      @NicholasRehm  ปีที่แล้ว

      If you shoot me an email I can send you a paper from this project

  • @dubber889
    @dubber889 2 ปีที่แล้ว

    Could you share the ROS source code for this ? what ros nodes and ros topics do you use. Because i'm reaserching the same area right now, it will be helpful if i know the references for what i'm doing now. Thank you

  • @Ry-jw8nk
    @Ry-jw8nk 2 ปีที่แล้ว

    How does the drone know its starting and goal point? How are these nodes and transfer points defined in the implementation?

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      I tell it the start and goal point and it’ll fly to the start on takeoff, wait till I let everything start running, and it figures out how to get to the goal location. Manually defining the start and goal node location is part of the motion planning algorithm, kinda like asking google maps to plan a route for you

  • @chutidoni974
    @chutidoni974 2 ปีที่แล้ว

    Congratulation. 💫💫🔥🔥🔥🔥

  • @phpn99
    @phpn99 9 หลายเดือนก่อน

    The NASA team that wrote the motion planning software for the autonomous Mars Rover, used the A* algorithm.

  • @mugslschlaengli5928
    @mugslschlaengli5928 3 ปีที่แล้ว

    My biggest hurdle: ROS.
    Tried getting into it on an NVidia Jetson board, and also had a Teensy 4 as my uart interface with my rover.
    Guess I have to give it another try some time. Did you come across any helpful starting resources for ROS?

    • @NicholasRehm
      @NicholasRehm  3 ปีที่แล้ว +1

      Starting from a raspberry pi image from ubiquity robotics with a clean install of ROS + dependencies was a lifesaver. Then going in and making your own “templates” for each node is really helpful to get an understanding of how data is handled by ROS. Once you get all the ROS topics into and out of each script, writing the code is the easy/fun part

  • @creased528
    @creased528 2 ปีที่แล้ว

    Hi ! This is cool and all but can I ask a question? How does your companion computer, in this case, your Rpi, communicate with the Flight Controller of the drone.

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว +1

      Just a basic serial connection

  • @eyal4
    @eyal4 2 ปีที่แล้ว

    What did you use to stream video and data from the raspberry pi to the computer? I'm having a problem finding a good explanation on how to implement this. Great video!

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      Most of everything was happening on the pi. ROS usb_cam package to interface with the usb camera, and tag tracking, position controller, and motion planning done in individual ROS nodes too. I wrote a simple serial script in ROS to send over angle/throttle commands to the flight controller which dealt with stabilization only

    • @eyal4
      @eyal4 2 ปีที่แล้ว

      @@NicholasRehm thank you, but i ment what did you use to transfer live data and video feed from the raspi to the conputer that yoy watched the video on. Local wifi? Rf analog transmission? Thank you👍🏼

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว +1

      @@eyal4 oh haha, I used a wireless hdmi set from Amazon to send the pi desktop down to a monitor. It can only do about 40 ft range but it’s awesome for pre-flight setup and monitoring stuff when flying close by

    • @eyal4
      @eyal4 2 ปีที่แล้ว

      @@NicholasRehm I see, and is there specifik reason that you used raspi 4 and not jetson nano? thank you very much, keep up the good work. Is
      Alwas intresting to follow your videos

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      @@eyal4 mostly just because of the documentation available for setting up the pi, and it’s what I had on hand

  • @samopal9740
    @samopal9740 2 ปีที่แล้ว

    Great content! Did you use only existing packages to hook up Realseans with Px4? (Is there any guid on this?) Thanks!

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      No it’s all my own code

    • @samopal9740
      @samopal9740 2 ปีที่แล้ว

      @@NicholasRehm Is it an open source code? Thanks!

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      @@samopal9740 the flight controller is but none of the autonomy

  • @vimalrajayyappan2023
    @vimalrajayyappan2023 2 ปีที่แล้ว

    hey, Thats good. One small question , there is freedom of movement on top right?. Why cant we make the drone fly bit high to avoid obstacle instead going around it ? If thats the case, let me know the procedure?

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว

      I constrained the problem to a 2D plane. What if it were in a cave and couldn’t go over?

    • @vimalrajayyappan2023
      @vimalrajayyappan2023 2 ปีที่แล้ว

      @@NicholasRehm Right. How to overcome that?

  • @STOLerant
    @STOLerant 2 ปีที่แล้ว

    Could this be done using an off the shelf FC or is your custom solution required?
    I think this is a great video. I have been wanting a project like this but don't know the coding side well.
    Is it possible to feed object recognition and labeling into a beta flight or Inav OSD?

    • @NicholasRehm
      @NicholasRehm  2 ปีที่แล้ว +1

      You'd need to do your additional computing on a companion computer and feed over control commands (same commands a pilot sends over the radio) to the flight controller. I don't know if betaflight supports this directly, but you could probably spoof it somehow

    • @STOLerant
      @STOLerant 2 ปีที่แล้ว

      @@NicholasRehm newest generation of Raspberry Pi products are pretty capable and easy to get a hold of. INav would probably be a better platform but any F4 or above flight controller will yield impressive results on their own. Just a matter of making the two do the talky talks. I am not sure how to do that part lol.

  • @technoaddicted6824
    @technoaddicted6824 ปีที่แล้ว

    which simulation software is used here to replicate real drone visuals ..?

  • @Allan_aka_RocKITEman
    @Allan_aka_RocKITEman 3 ปีที่แล้ว +2

    _"...unless you really like pain."_
    THAT is why I just settle for watching videos of this stuff...😉

  • @whoisamp620
    @whoisamp620 2 ปีที่แล้ว

    this would be great for a lawnmower mod, please make one