Connecting Raspberry Pi w/ Pixhawk and Communicating via MAVLink Protocol

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • This is a high-level overview of setting up Raspberry Pi (amzn.to/2a78kf8) with Raspian OS and installing the necessary libraries to communicate with Pixhawk using MAVLink/MAVProxy. This is something I've been experimenting with over the last year and wanted to share the process.
    In upcoming videos I'll demonstrate installing DroneKit and using Python to do some more interesting things with Raspberry Pi and Pixhawk.
    This ArduPilot page is what I used to do the initial setup:
    ardupilot.org/d...
    You can download Raspian Jesse here:
    www.raspberryp...
    Here are the steps to install Raspian on your SD card:
    www.raspberryp...
    It's really an exciting time to be in the world of UAVs. I hope this video was helpful and please post any questions or comments below.

КОМЕНТАРІ • 391

  • @karkin96
    @karkin96 7 років тому +53

    The one and only youtuber making some higher end tutorials about drones connecting raspberry pi and pixhawk, with dronekit. Very interesting :) I sure hope there will be more tutorials about RPI and pixhawk coming!

    • @dennisbaldwin
      @dennisbaldwin  7 років тому +4

      Thanks so much for the good words. Yes more RPi/Pixhawk stuff coming soon. Take care.

    • @karkin96
      @karkin96 7 років тому +2

      Hi sir. I have done the dronekit configuration. However, I can only read from Pixhawk, I couldn't send commands from RPI to pixhawk. Any idea why?

  • @khushalbrahmbhatt5352
    @khushalbrahmbhatt5352 7 років тому +3

    I can't thank you enough for making these videos. They're the only video tutorials out there on using companion computers with pixhawk. They're really getting me through my college project.

    • @dennisbaldwin
      @dennisbaldwin  7 років тому +1

      Good luck on your project and thanks for the good words. I appreciate it.

  • @Nebul3r
    @Nebul3r 5 років тому

    ive been so interested in building a Long range fixed wing with autonomous capabilities read a load of non sense crap on groups when i asked about Pixhawk Ardupilot etc no one gave me a straight answer felt discouraged and demotivated, its very nice of you to explain in so much detail, atleast now i have proper superficial knowledge about what is what and whats going on, thanks allot!

  • @ravfpv6201
    @ravfpv6201 8 років тому

    Hey Dennis
    Your timing is incredible. I am currently working on a raspberry pi 3b project using Emlid apm sheild along with Emlid Reach. Unlike yourself, I am far from a computer programmer. So I'm running into a language barrier. Thank God I have teenagers. Looking forward to future videos on this discussion. Thanks for keeping us all in the loop Dennis
    Keith

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Keith, Emlid looks like some serious computing power! I'm familiar with Edison but wasn't familiar with Emlid until you mentioned it. I'll post an update soon and hopefully we can all learn from each other on this topic. Thanks for the feedback and I hope all is well.

  • @FPVcambodia
    @FPVcambodia 8 років тому +2

    That's pretty impressive Dennis; I was presented PI some 1 year ago from an open source club in Phnom Penh; and here we are integrating PIxhawk and this small powerful enough computing PI machine! Wow; this looks promising for a few Grams more on the craft with its slaves commands.... Cheers once again for such inspiring tutorials intros; truly inspiring... The only problem is that I do not code on Linux! ;( Cheers and Safe Flying!

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      I'm not sure if you're into programming at all, but if you are I'd love for you to join our gitter chat sometime. Maybe we can collaborate on some projects together. gitter.im/dbaldwin/DronePan Take care.

  • @brendendas
    @brendendas 8 років тому +10

    This is exactly what I was looking for, thank you. Eagerly looking forward to your next tutorial.

  • @Afiso
    @Afiso 4 роки тому +1

    Awesome, thank you. Finally i got it working because of your clear video. Greetings from Holland

  • @milicbogdanovic9853
    @milicbogdanovic9853 3 роки тому

    Dennis, I purchased QAV400 years ago I was going to use a raspberry pie and pixhawk to control QAV400, I am missing few items. Do to a job I put this aside for since 2013 and would like to finish my QAV400.
    Current Specs:
    - Lumenier QAV400 frame
    - T-Motor MT2212-11 1100KV motors
    - fpvmanuals 30 amp ESC’s with SimonK firmware
    - 3DR Pixhawk with GPS
    - APC 8x4.7 SF and APC 8x4.7 SFP
    - GoPro Hero 3 camera
    - Lumenier 5200mAh 4S battery
    As you can see I am missing few items, but my intent was to control the QAV400 via smart phone or tablet. I see you connected a raspberry pie, but not for that purpose, I love to pick your brain, so I can finish this build.

  • @jameslyons3306
    @jameslyons3306 8 років тому

    Perfect project! Can't wait to see all the uses that can come out of this setup. Gr8 vid, way to go!

  • @fxsti
    @fxsti 8 років тому

    Thanks for this video. Looking forward to more on this and anything you can share on obstacle avoidance.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Thanks for following. Appreciate the feedback.

  • @DaveMerc
    @DaveMerc 8 років тому

    Wow that was an eye opener! I had no idea that was being developed. Thanks for sharing.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      No problem. I've really enjoyed the flexibility of having a companion computer that communicates with the main flight controller. It really opens the doors for some interesting drone applications.

  • @karunakarank.1922
    @karunakarank.1922 8 років тому

    Wow, awesome is an understatement. Thanks for kindly sharing Dennis. As usual, you rock! I intend to do a similar setup soon I hope, and this helps.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Thanks for the feedback. Good luck when you get around to it. I think you'll find the possibilities are limitless.

  • @zevi
    @zevi 8 років тому

    Wow, this is great stuff! Im very excited to see what you can do with computer vision with the Pi!

    • @dennisbaldwin
      @dennisbaldwin  8 років тому +1

      You and me both :) Thanks for following along and I hope all is well.

  • @SamFugarino
    @SamFugarino 8 років тому

    Thanks Dennis, exactly what I'm wanting to explore. Thanks for sharing and keep the videos coming.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      My pleasure. I've really enjoyed working with Pi and Pixhawk, of course. Thanks for following.

  • @anujregmi4582
    @anujregmi4582 4 роки тому +1

    hello guys there are few things that have changed following the 2016 to 2020, the raspberry pi no longer calls rasbian but the raspberry pi OS which is the same. The most important thing is that the wxgtk2.8, you can use 3.0 so follow the linux installation of the MAVproxy that line of the code from them and then the rest is same ...enjoy...

    • @ishikakajaria8754
      @ishikakajaria8754 3 роки тому

      Hii which document is this?

    • @anujregmi4582
      @anujregmi4582 3 роки тому

      @@ishikakajaria8754 which document means????

    • @ishikakajaria8754
      @ishikakajaria8754 3 роки тому

      @@anujregmi4582 the linux installation one but I found it thanks. I keep getting Link one down after I test the mavproxy. Can u help me why this is happening?

    • @anujregmi4582
      @anujregmi4582 3 роки тому

      @@ishikakajaria8754 Well Currently i am not working in that but i cannot say you exactly what is going wrong i need more information, I can try to see if possible send me a video. But there is another guy also who has made a recent video about raspberry pi connection with Pixhawk. This is his video link:
      ua-cam.com/video/kB9YyG2V-nA/v-deo.html

  • @lidiatoscano5334
    @lidiatoscano5334 8 років тому

    This is very cool, I am just trying to do the same thing only with the Beaglebone . . . your video was very helpful. Thanks!

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Glad it helped and good luck with your Beaglebone project. Keep us posted on your progress!

  • @adibbins
    @adibbins 8 років тому

    Great Dennis, as always very useful and as others have said very exciting. I look forward to further instalments.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Appreciate it. I will be posting an update soon.

  • @BarefootBeekeeper
    @BarefootBeekeeper 6 років тому

    Nice work! Looking forward to some practical applications for this.

    • @dennisbaldwin
      @dennisbaldwin  6 років тому +1

      Thanks, Phil. Good luck with your projects.

    • @BarefootBeekeeper
      @BarefootBeekeeper 6 років тому

      Dennis Baldwin My main interest is in using thermal imaging on a drone. I have a Tarot 680 with Pixhawk and Four Duo-R almost ready to fly, so interested in how I may be able to add some AI functions.

  • @mums2109
    @mums2109 2 роки тому

    I was liiking for a video like this! thank you!

  • @georgehadjipavlis7141
    @georgehadjipavlis7141 8 років тому

    Amazing. Can no wait for your next videos. Keep up the great work.

  • @MasboyRC
    @MasboyRC 4 роки тому +1

    Awesome, thanks for explain and presentations. I appreciate it 👍

  • @vineetaquarius
    @vineetaquarius 8 років тому

    Thanks for sharing the info please do your videos on weekly basis or monthly basis , i am waiting for flight of the transition plane quad you had build .i really like your habit of deep understanding of the systems.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Thanks for the good words. I'll try to post more often. Appreciate your feedback.

  • @jianhuaixie
    @jianhuaixie 6 років тому

    thank you so much.The detail you showed is just I need.

  • @DeFiNerds
    @DeFiNerds 8 років тому

    Another great video!! I'm waiting for the next one. I'm gonna start playing with dronekit.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Glad to hear that. I hope you enjoy it and please let us know how it works out for you.

    • @dbmarsbilisimteknolojileri8747
      @dbmarsbilisimteknolojileri8747 8 років тому +1

      Hi Dennis,
      Thanks for this very good video!
      However, when we try to apply the video, we have been stucked at the following part:
      pi@raspberrypi:~ $ ls /dev/tty*
      /dev/tty /dev/tty19 /dev/tty3 /dev/tty40 /dev/tty51 /dev/tty62
      /dev/tty0 /dev/tty2 /dev/tty30 /dev/tty41 /dev/tty52 /dev/tty63
      /dev/tty1 /dev/tty20 /dev/tty31 /dev/tty42 /dev/tty53 /dev/tty7
      /dev/tty10 /dev/tty21 /dev/tty32 /dev/tty43 /dev/tty54 /dev/tty8
      /dev/tty11 /dev/tty22 /dev/tty33 /dev/tty44 /dev/tty55 /dev/tty9
      /dev/tty12 /dev/tty23 /dev/tty34 /dev/tty45 /dev/tty56 /dev/ttyAMA0
      /dev/tty13 /dev/tty24 /dev/tty35 /dev/tty46 /dev/tty57 /dev/ttyprintk
      /dev/tty14 /dev/tty25 /dev/tty36 /dev/tty47 /dev/tty58
      /dev/tty15 /dev/tty26 /dev/tty37 /dev/tty48 /dev/tty59
      /dev/tty16 /dev/tty27 /dev/tty38 /dev/tty49 /dev/tty6
      /dev/tty17 /dev/tty28 /dev/tty39 /dev/tty5 /dev/tty60
      /dev/tty18 /dev/tty29 /dev/tty4 /dev/tty50 /dev/tty61
      pi@raspberrypi:~ $ sudo -s
      root@raspberrypi:/home/pi# mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter
      Using MAVLink 1.0
      Using MAVLink 1.0
      Connect /dev/ttyAMA0 source_system=255
      Running script /root/.mavinit.scr
      -> module load droneapi.module.api
      DroneAPI loaded
      Loaded module droneapi.module.api
      no script MyCopter/mavinit.scr
      Log Directory: MyCopter/logs/2016-08-15/flight15
      Telemetry log: MyCopter/logs/2016-08-15/flight15/flight.tlog
      MAV> Waiting for heartbeat from /dev/ttyAMA0
      I can not get any heartbeat. It stucks at this stage.
      Could you please send your suggestions about this issue? Why it stucks at this stage and what should I do?
      Thanks in advance.

    • @dbmarsbilisimteknolojileri8747
      @dbmarsbilisimteknolojileri8747 8 років тому +1

      Hi Dennis,
      Thanks for this very good video!
      However, when we try to apply the video, we have been stucked at the following part:
      pi@raspberrypi:~ $ ls /dev/tty*
      /dev/tty /dev/tty19 /dev/tty3 /dev/tty40 /dev/tty51 /dev/tty62
      /dev/tty0 /dev/tty2 /dev/tty30 /dev/tty41 /dev/tty52 /dev/tty63
      /dev/tty1 /dev/tty20 /dev/tty31 /dev/tty42 /dev/tty53 /dev/tty7
      /dev/tty10 /dev/tty21 /dev/tty32 /dev/tty43 /dev/tty54 /dev/tty8
      /dev/tty11 /dev/tty22 /dev/tty33 /dev/tty44 /dev/tty55 /dev/tty9
      /dev/tty12 /dev/tty23 /dev/tty34 /dev/tty45 /dev/tty56 /dev/ttyAMA0
      /dev/tty13 /dev/tty24 /dev/tty35 /dev/tty46 /dev/tty57 /dev/ttyprintk
      /dev/tty14 /dev/tty25 /dev/tty36 /dev/tty47 /dev/tty58
      /dev/tty15 /dev/tty26 /dev/tty37 /dev/tty48 /dev/tty59
      /dev/tty16 /dev/tty27 /dev/tty38 /dev/tty49 /dev/tty6
      /dev/tty17 /dev/tty28 /dev/tty39 /dev/tty5 /dev/tty60
      /dev/tty18 /dev/tty29 /dev/tty4 /dev/tty50 /dev/tty61
      pi@raspberrypi:~ $ sudo -s
      root@raspberrypi:/home/pi# mavproxy.py --master=/dev/ttyAMA0 --baudrate 57600 --aircraft MyCopter
      Using MAVLink 1.0
      Using MAVLink 1.0
      Connect /dev/ttyAMA0 source_system=255
      Running script /root/.mavinit.scr
      -> module load droneapi.module.api
      DroneAPI loaded
      Loaded module droneapi.module.api
      no script MyCopter/mavinit.scr
      Log Directory: MyCopter/logs/2016-08-15/flight15
      Telemetry log: MyCopter/logs/2016-08-15/flight15/flight.tlog
      MAV> Waiting for heartbeat from /dev/ttyAMA0
      I can not get any heartbeat. It stucks at this stage.
      Instead of ttyAMA0, I also tried serial0. But it did not send any heartbeat either.
      Could you please send your suggestions about this issue? Why it stucks at this stage and what should I do?
      Thanks in advance.

  • @deltavcreations1862
    @deltavcreations1862 3 роки тому +1

    Hi Dennis
    I have a question or maybe a clarification.
    I have been seeing everywhere, whenever RPI and Pix are connected - it is suggested to do over Telem1/2 to RPI serial Pins or use an FTDI connector to an RPI USB.
    What should happen if we connect it directly from Pixhawk USB to RPI USB?
    I tried that connection and it still works at least for reading Flight data using Drone kit. Just wanted to know, why it is recommended to connect over telem port!
    Thanks in advance!

  • @SYNFPVPILOT
    @SYNFPVPILOT 8 років тому

    Great vid. I've planned to experiment w/ CV on a 150lb rover I built. Object recognition and tracking is high on the list for my project. Watching your progress w/ RP closely.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Sounds like an awesome rover!!! I'm by no means an expert when it comes to object recognition, but will hack together an example. Thanks for following along.

  • @jonnymorley1344
    @jonnymorley1344 7 років тому

    Excited for the rest!

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      Thanks. Appreciate you following along.

  • @AnasSuhaimi
    @AnasSuhaimi 5 років тому

    This is exactly what I need. Thanks man.

  • @ziqinqin3806
    @ziqinqin3806 4 роки тому +1

    I am a novice, I am looking forward to a tutorial on how to use mavlink and connect with raspberry PI, thank you very much for sharing

  • @clyde1820
    @clyde1820 6 років тому +1

    Where does the control of the RPi step in? Does it override the current Flight Mode (e.g. Mission) and the Telemetry 1 Port or what? And can I also use the RC at the same time, because I thought the RC was usually connected to Telemetry 2 port.

  • @danielnainggolan8796
    @danielnainggolan8796 3 роки тому +1

    Hallo Dennis..
    I have a problem when the connect to pixhawk..
    When the syntax is run, the command is "link 1 down" and "no link"..
    Can you help me to solve the problem..
    Thank you..

  • @garyballiet8340
    @garyballiet8340 8 років тому

    I quite recommend Navio+ for those wanting to go that way. It is a hat (daughterboard) for the pi. Does away with the pixhawk and runs an rtl distro.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      I've been wanting to check that out. Thanks for sharing your experience.

  • @emi83ro
    @emi83ro 8 років тому

    Cool! Next thing to do would be to put a 3G module on Raspi for extremely long distance communication and fpv with a bit of lag :)

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Totally! I've been thinking about a cellular modem would be cool. Even if it could grab images from the PI and upload them in realtime. Hadn't thought about streaming FPV. That would be interesting :)

  • @zzzzzz-du9et
    @zzzzzz-du9et 4 роки тому +2

    Thanks bro

  • @MarkJWilliams0
    @MarkJWilliams0 8 років тому

    Cool stuff Dennis! I played with this a little while back but never got very far. Plenty of ideas and not enough time...

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      I hear you. There is always never enough time ;) Thanks for the feedback.

  • @CrownThyGood
    @CrownThyGood 7 років тому

    I bought a rpi 2 just to see if my problem was with the 3. It didnt get me a heartbeat so I tried the rpi 2 and a new pixhawk. I got a heart beat! I went through the setup wizard for the new pixhawk. Immediately after I arm, it goes into disarm: STABILIZE> arm throttle
    STABILIZE> Got MAVLink msg: COMMAND_ACK {command : 400, result : 0}
    ARMED
    Arming checks disabled
    DISARMED
    Thanks Dennis for your help!

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      So glad to hear that. Good work Ashley!

  • @benjaminmathon7417
    @benjaminmathon7417 8 років тому

    Awesome, can't wait to see more

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Thanks. Appreciate you following along.

  • @AASSDD2022
    @AASSDD2022 4 роки тому

    Hi there! Nice and useful video, thanks for sharing. Just a quick question, hope you can help me: do you know if I can supply the Pixhawk with a power supply instead of a LiPo battery? I will be a lot of time working with PC, so I don't need to fly the drone yet. Thanks for your time and hope you are ok these days!

  • @JARC99_
    @JARC99_ 4 роки тому

    I first want to thank you for this awesome viedo and channel, it has served as a great inspiration for a bunch of academic and personal projects I am planning on undertaking. Using OpenCV for object detection and tracking on UAV platforms is one of the topics I am interested in and I'm looking into buying a Raspberry Pi 4 for this. I am kinda of on a budget so I wanted to ask you, whether the 2GB Raspberry Pi 4 would be enoguh for this application or if getting more RAM would be mandatory?

  • @benjaminmathon7417
    @benjaminmathon7417 8 років тому

    You can also connect it with USB, that's necessary if you want to use the Intel compute stick with a powerful Core M. Just allow the serial coms back using raspi-config then use the command "mavproxy.py --master=/dev/ttyACM0 --baudrate 57600 --aircraft MyCopter"

    • @benjaminmathon7417
      @benjaminmathon7417 8 років тому

      if the command is not working, try "ls /dev/tty*" with you ardupilot device unplug and again after you plug it back, you should have a new ttyxxxx device.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      Good tip. Thanks for sharing!

  • @gwyne8353
    @gwyne8353 2 роки тому

    Very nice tutorial, thanks! Do you know if this would work on Matek H743-wing V2 FC? Or just the Pixhawk? Cos it's kinda expensive and I'm looking for an alternative FC into Ardupilot where I could connect many sensors too

  • @acelere
    @acelere 8 років тому

    Dennis, great video (as all your others - you are great). The possibilities are huge. Could you share what is your big plan? I guess this will help (at least for me) build a mental picture and fit the puzzle pieces together... Tks!

    • @dennisbaldwin
      @dennisbaldwin  8 років тому +1

      No big plan other than experimenting with opencv and some other external sensors to give input to Pixhawk. I'd love to get OpenCV object recognition for avoidance and tracking. I'm not an expert in this area, but want to experiment with that combined with DroneKit. Hope that gives you some insight. If you have any suggestions I'd love to hear them. Thanks.

  • @yokonthesage
    @yokonthesage 4 роки тому +4

    The 6 pin ftdi to toe entry cable is found where? What’s it called or how do you make one?

    • @nathanschroeder2193
      @nathanschroeder2193 3 роки тому

      I had trouble with this myself, but ended up getting it working. I would be very interested if someone has a better suggestion:
      -I bought a set of "Dupont" wires
      -My pixhawk came with a telem to telem 6 pin wire
      I cut the telem cable in half, and spliced each of the wires to a dupont wire of the corresponding color (leaving the 4th, and 5th pins unconnected) according to these instructions:
      www.researchgate.net/publication/323683430_Communicating_with_Raspberry_Pi_via_MAVLink

  • @zz-nc5kx
    @zz-nc5kx 5 місяців тому

    I would like to control a GoPro camera on my quadcopter - switch between video/still and trigger the camera.

  • @gilquinones6652
    @gilquinones6652 2 роки тому

    Hi Dennis Great Presentation. I am using Cube PX2 with Raspberry pi. I see an issue with MAV> Link 1 Down. I cannot get around it. Any Ideas?

  • @massimilianonball
    @massimilianonball 8 років тому

    Many many compliments Dennis!! I want to make something similar to you but with openvpn on 4g network between the raspberry and the pixhawk :-)

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      That sounds like a great project. Please keep us posted on any progress!

    • @massimilianonball
      @massimilianonball 8 років тому

      +Dennis Baldwin yes, for sure!!

  • @ZiemzyOG
    @ZiemzyOG 2 місяці тому

    How do you get your pixhawk to recognize the camera module? I have been looking for a while and cannot find anything ):

  • @sergiopostigo1412
    @sergiopostigo1412 6 років тому +4

    Question: Is it a good practice to feed the pi directly from telemetry port?. I want to do something similar but I´m afraid about the current that the pi will drag from the pixhawk.

    • @noahorosw
      @noahorosw 6 років тому

      The pi3 continues to reboot , and I can't connect through ssh . So I plug in hdmi , and see the pi trying to reboot . So I solder small power outlet wires from main board , and install ubec and plug into pi . Now I can ssh to pi no more trying to reboot everything works good . Don't use telemetry port 2 to power pi .

    • @khtan5531
      @khtan5531 5 років тому

      I have a similar experience where the pi kept trying to reboot when it was powered from the telemetry 2 port. I ended up using a small powerbank to power the pi via its own usb port and strapped it to my drone.

  • @jashwaaradhya2989
    @jashwaaradhya2989 5 років тому +1

    Thank you, Thank you, Thank you, Thank you, Thank you

  • @imemyself2820
    @imemyself2820 6 років тому

    Wow I had no idea this was even remotely possible :O

  • @user-nr4tn8zp2o
    @user-nr4tn8zp2o 6 років тому

    Great video. Have a question. While running drone using MAVlink protocol, can I also see that drone's status connecting to Mission Planner?

  • @manueljohn7674
    @manueljohn7674 5 років тому

    Very helpful tutorial. I am using an APM 2.8 flight controller.Can I proceed with the same procedure for APM.

  • @ericjohn3817
    @ericjohn3817 5 років тому

    Thank you so much for the sharing. I have a question about the Raspberry PI you used. Is it a 32bit or 64bit? Does it matter? Thank you.

  • @pdeepakjayan5515
    @pdeepakjayan5515 5 років тому

    NICE VIDEO. if instead of using an ardupilot for a drone, if I have to use ardusub in pixhawk to control my REMOTELY OPERATED SUBMERSIBLE, how will I start the mavproxy?

  • @haussmanndabo9528
    @haussmanndabo9528 7 років тому

    Hi Denis , thanks , really thanks for your vidéos .

  • @tfergusonjr
    @tfergusonjr 7 років тому

    This is a great demo. I look forward to watching more of your videos. Have you experimented with Intel Edison and Pixhawk? I have a Pixhawk 2 w/ integrated Edison. I want to learn how to program it similar to what you have done.

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      I have limited experience with Edison but would really like to get more familiar with it. Thanks for watching and I appreciate the feedback.

  • @khtan5531
    @khtan5531 5 років тому +1

    Is it possible to connect the Raspberry Pi 3 to the Pixhawk via the USB ports on both devices (instead of connecting the GPIO pins to the Telem port) ?

  • @siddharth4662
    @siddharth4662 2 роки тому

    Hi Dennis... both the Telem ports on my Pixhawk are already occupied... what would be the option to connect a RPi to the Pixhawk?

  • @angelleal3005
    @angelleal3005 3 роки тому

    In my case I have a jetson nano and a pixhawk mini. I don't have a second telemetry port on the pixhawk. Can I use any other port and do the same software configuration you did here ?

  • @henrikarrour8442
    @henrikarrour8442 Рік тому

    Instead of a mac, would a pc/laptop running windows 7 / 10 could be used?
    Thank you.
    Henri

  • @erfanmonemi8112
    @erfanmonemi8112 3 роки тому

    Hello. Thank you so much for this tutorial. I’m going to make a flying wing with 4g telemetry like this but the problem is that the official 3DR pixhawk isn’t available in my country, and a clone of that from Radiolink is also expensive and is said to be not much stable so I was thinking if I can do the same using apm2.8 and an old frimware of ardupilot. Is that possible and is that the same as what you showed in the video? Thank u so much in advance for your help.

  • @blackmennewstyle
    @blackmennewstyle 8 років тому +1

    PixHawk, Debian, SSH, Python

    • @dennisbaldwin
      @dennisbaldwin  8 років тому +1

      I wish it was Christmas here in TX so it wasn't so hot! Glad you are into all these technologies. I absolutely love them. Have a great week yourself.

  • @anishpratheepkumar4184
    @anishpratheepkumar4184 4 роки тому

    Hai, I am trying to connect my pixhawk to rapberrypi. Could you please let me know where to find the command list (documentation) for communicating to pixhawk from raspberry terminal ? I mean commands you mentioned here like 'Arm safety off'.
    I am looking for controlling altitude, roll, pitch and yaw from terminal so i need a related command list to do the same.
    Thanks in advance!

  • @koukibghr9836
    @koukibghr9836 4 роки тому

    Thnk you for this video ...i have a question about the pixhawk ...can we change the algorithm of PID control with an other algorithm if yes how can we do it

  • @koustubhjaiswal6509
    @koustubhjaiswal6509 4 роки тому

    Hi, I am currently working on a project that involves an onboard Raspberry Pi, I have a question that how do I communicate with the onboard computer from my laptop on the ground, shall I add a Wireless internet connection onboard the UAV or is it possible to communicate via the telemetry radio connected to Pixhawk?

  • @angelleal3005
    @angelleal3005 3 роки тому

    I am currently trying to connect a Jetson nano with the Pixhawk but haven't found much information about it. Do you know if it's possible ? and maybe how to approach this task ?

  • @crcpeart
    @crcpeart 5 років тому

    Thank you for this video.
    Subscribed

  • @PaulFreemanTheTall
    @PaulFreemanTheTall 8 років тому

    Hi Denis, another very interesting video, thanks for that. Supposing one built a bunch of programs on the Pi and wanted to trigger them from the ground e.g.: to execute custom flight operations, what do you think would be a good way to go about that? Is it possible to transmit commands from the operators Tx (I have a Taranis) to the Pi to trigger these 'operations' or would it be necessary to have a separate command radio to transmit commands? I was wondering if it would be possible to use MAVLink to encode ones own command protocol and add those commands to whatever method is used to send e.g.; MAVlink commands from a ground station like qgroundcontrol to the aircraft. My real desire is to use this to develop a richer camera controller for the Olympus OPC 4/3 camera, but its analogous to executing remote commands on a Pi, in fact the same protocol might be used to operate the Raspberry Pi camera, or to control some other kind of sensor such as Lidar etc.

    • @dennisbaldwin
      @dennisbaldwin  8 років тому +1

      This is such a good question that I've been sorting through lately. I'll post some more info later this week. I'm traveling right now but have some ideas to achieve this. I like your idea of more fine grained control of the your camera. I've been wanting to do the same with my Canon S110 and other cameras that I put into my wing.

  • @joenorris6805
    @joenorris6805 4 роки тому

    Thank you very mich for this tutorial! have you ever used the raspberry pi as a receiver for the pixhawk?

  • @isabido
    @isabido 7 років тому

    Hi Dennis, what version of raspberry are you using? We are testing on a PI v1, and the mavproxy service loads 90% cpu, with a very slow response. Thanks for sharing your videos.

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      Version 2. I've never used V1 so I'm not sure if that's a known issue. Please let us know what you discover.

  • @karan7848
    @karan7848 2 роки тому

    I am having a power-up issue. It says low battery power. Any idea how I can overcome this. Same hardware R-Pi4 + pixhawk 2.4.8

  • @IdleBroadcast
    @IdleBroadcast 7 років тому

    I'm working with an Arduino to receive telemetry information via serial 4 on PixHawk however some but not all MAVLink messages are received despite boosting the rates: for example setting SR2_EXT_STAT to 10Hz and I still only receive 2/7 messages which are supposed to be bundled with SR2_EXT_STAT. Do you know if PixHawk limits which messages go to the extra serial ports or if I am missing some step in getting the other messages?

  • @TurBull4nc3
    @TurBull4nc3 3 роки тому

    Hi, do u connect a telemtry radio to your raspberry pi as well or just the pixhawk and the computer?

  • @karatugba
    @karatugba 2 роки тому

    I am planning to use ROS2 with Fast DDS in my companion computer, in this case do I need to install Mavlink? I have read px4 guide page and there was always a Mavlink for Flight Mode etc. And I confused. Could you help me with this issue?

  • @sibujacob977
    @sibujacob977 3 роки тому

    V. good information. Can you attach the link for "installing DroneKit and using Python to do some interesting things with Raspberry Pi and Pixhawk "

  • @mohsinraza-xp8pj
    @mohsinraza-xp8pj 7 років тому +1

    sir please help i have error this error while connecting to my rpi2 with pixhawk..
    serial exception devise respond readiness to read but returned no data (multiple devices connected or multiple acces on port?)

  • @JARC99_
    @JARC99_ 4 роки тому

    Would you recommend buying a pixhawk 2.4.8 like yours in 2020 or should I look for something better? I'm plannin on using a companion computer as well.
    Excellent video BTW :-)

    • @zaknick
      @zaknick 4 роки тому

      The most common flight controller is still Pixhawk. Navio2 is also pretty sweet. You're building an aerial drone? I'm building a sub.

    • @JARC99_
      @JARC99_ 4 роки тому

      FLUX_CAPACITOR yes, an aerial one :-)

  • @franciscourena5636
    @franciscourena5636 4 роки тому

    Great presentation
    What is the range a FPV Can transmit?
    200 KM?

  • @Migueldeservantes
    @Migueldeservantes 8 років тому

    May I ask... do this system have to be used with pixhawk??? or its compatible with other AP like the ardupilot? I'm very interested.. but in honesty I just can't change all my aircraft auto pilot controllers...

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      A lot of ArduPilot based flight controllers support companion computers as discussed here: ardupilot.org/dev/docs/companion-computers.html I have messed with APM 2.6 but will take a look. Good luck getting going.

  • @Hazar-bt6nf
    @Hazar-bt6nf 4 місяці тому

    Can we establish the connection using serial0 instead of ttyAMA0?

  • @ezekielmonfero2646
    @ezekielmonfero2646 3 роки тому

    Can arduino connect with the pixhawk while the arduino are connected in 3 sensors like ph do and turbidity sensor?

  • @rsua19
    @rsua19 7 років тому

    your the man! awesome video!

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      Thanks for the good words. I appreciate it.

  • @melonstreams9369
    @melonstreams9369 2 роки тому

    Are there any commands that can be run through Rpi Terminal where the wheels would move?

  • @jodumagpi
    @jodumagpi 8 років тому

    Thank you very much for this

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      No problem. Glad to share it. Thanks for the feedback.

  • @SatinKab
    @SatinKab 4 роки тому

    Hey, I hope you will see this comment. I am new to raspberry pi coding and I am not sure which raspberry pi model to buy. Will this image still work on a raspberry pi 4?

  • @dgb5820
    @dgb5820 4 роки тому

    Great video, do you think it’s possible to connect the nvidia nano with a wifi add on for nano

  • @followmeback2599
    @followmeback2599 6 років тому +1

    Sir, I did like u what u done in youtube it showing same problem left ones right and right ones left compass calibration. Pls help me sir.

  • @BDRCkid
    @BDRCkid 7 років тому

    Dennis, At 10:22 into this video you show changing the Uart from zero to two. Looks like in my version of Raspbian jessie that line is not there at all. Have you noticed this and possibly have a way around it? Also did you have to change your values in mission planer such as SERIAL2_Protocal. It dose not look like they are listed in MP anymore. Thanks for the videos too.

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      I'll have to take a look at this as I'm not really sure. It's been a few months since I've messed with this setup, but I plan on revisiting soon. I'll share what I find out and please do the same if you figure it out first. Thank you.

    • @BDRCkid
      @BDRCkid 7 років тому

      Thanks for the reply, I think I have found out how to enable the serial channel on the newest version or Raspbian jessie. I don’t have it in front of me now but if you click the raspberry in the top left corner of the desktop it was under preferences or system settings. Basically its in the same screen to enable ssh and VNC. I still need to find the parameter for the serial ports on the pix-hawk to get it to work. Did you do this too. I noticed this step was not in your video.

    • @BDRCkid
      @BDRCkid 7 років тому

      Update, I think I got it workings with out changing any of the prams. I think there is an extra space in the documentation for the code to install on the pi 3. I copied and pasted from git hub these lines in the link. github.com/bduva002/ardupilot_wiki/commit/4264da1884e3dd835de864ebea316b76e4c65059 .
      Now I just have to figure out why the modes wont change. when I type mode RTL i get argument is not a float or it is unknown.

  • @badrobot1179
    @badrobot1179 7 років тому

    Hey dennis great Video. I was curious if I can read sensor values(accelerometer and gyro) from the Pixhawk to Raspberry Pi during flight and issue commands to the pixhawk from the Pi, like move from Point A to Point B and maintain pose and prevent drifting?

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      Definitely possible based on the documentation I've read, but have never implemented this before. If I can get some free time I'll put together a tutorial. Thanks for the question and good luck with your setup.

  • @Ais-qc1bc
    @Ais-qc1bc Рік тому

    brother i just can read data but arm throttle, mode GUIDED -like as setting command not work
    how can i do now? plz tell me?

  • @hyunsimon3992
    @hyunsimon3992 8 років тому +1

    Hi. You connected raspberry pi and mac with Wi-Fi network
    I will fly my drone(pixhawk connected by raspberry pi) outside.
    and I wanna keep connection between my laptop and raspberry pi while drone is flying even far away
    flight distances would be 1/4 miles(maximum).
    I know using RF modules, I can get streaming video data.
    But I wanna receive not only video but also image processing data using openCV and send extra operation messages from my laptop to drone.
    Do you know the solution about this problem?
    Thanks~

    • @dennisbaldwin
      @dennisbaldwin  8 років тому

      The telemetry radios definitely are the way to go for traditional command/control. Regarding OpenCV and accessing the image data I'm not sure what the best approach is at the moment. I have a similar need and will continue to research and share my findings. Let us know if you figure anything out as well. Thanks for the question and wish I had a better answer.

  • @diegoamaya6353
    @diegoamaya6353 7 років тому

    Did you make a video for image processing? I want to load OpenCV in my Raspberry Pi, do image processing and tell the UAV where to go, but I can't find how to set the waypoints dynamically. Thanks

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      I'll need to look into this. I haven't been able to do any image processing yet, but definitely plan to. Let us know if you come up with anything. Thanks.

  • @Manoj-yantrayug
    @Manoj-yantrayug Рік тому

    hello, can you do the same with pixhawk cube orange and pi4 as i'm getting some tracback error, if u have the solution let me know how to sort it out. thank you

  • @dorrosen2121
    @dorrosen2121 3 роки тому

    Hello, i'm unable to install some of the libraries and would love for some help. i'm getting those after the line i type in:
    sudo apt-get install screen python-wxgtk2.8 python-matplotlib python-opencv python-pip python-numpy python-dev libxml2-dev libxslt-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
    Package python-wxgtk2.8 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'python-wxgtk2.8' has no installation candidate
    Any advice?
    Thanks

  • @emirzmen
    @emirzmen Рік тому

    Thank you for the video. I have a telemetry connected to my laptop. Is it possible to send data from my laptop to raspberry pi over Pixhawk?

    • @dennisbaldwin
      @dennisbaldwin  Рік тому

      I need to know a little bit more about your setup. Is there a telemetry module connected to Pixhawk? If so you should be able to connect your Pi to another telemetry port and get MAVLink out of it.

  • @game-f-un-limitedgamer8958
    @game-f-un-limitedgamer8958 5 років тому

    Why did you disable serial link with raspi-config in the beginning and then enabled it in the boot script? Any specific reason?

  • @pjwlk
    @pjwlk 7 років тому

    Awesome video - Thanks!!!

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      No problem. Thanks for following along.

  • @LenRamSa
    @LenRamSa 7 років тому

    Dennis, thanks for such a great educational video. I'm considering putting together a Drone with Pi Zero (or Pi Zero W) and the PXFMini flight controller (designed for Raspberry Pi by Erle Robotics). Have you tried something similar?. are there any advantages of your setup over the one I'm considering?.

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      Thank you for the kind words. I don't have any experience with either of those hardware components, but sounds like a really cool project. I've seen both of them and have wanted to mess around with them. Please keep me posted on how your project goes.

  • @MichelMrz
    @MichelMrz 7 років тому

    Hi Dennis, I wonder if there is a way i can use Raspberry pi to save GPS data from pixhawk while at same time it tooks pictures from Raspberry pi camera i hope there is code or any instruction on how doing it :) i'm doing a similar project as u did here i must say i really enjoy ur channel. I already connected my pixhawk to Raspberry, and everything works fine.

    • @dennisbaldwin
      @dennisbaldwin  7 років тому

      Very cool to hear about your project. I'm not sure about saving the GPS data while taking a picture. That sounds like a neat idea. Hopefully I can look into this soon. Thank you for the feedback on my channel. Take care.

  • @T-Sav
    @T-Sav 7 років тому

    Does this allow you to control servo out puts? If yes could use this with a 4g modem to fly and stream video over 4g network