Тёмный
No video :(

How To Connect PixHawk to Raspberry Pi and NVIDIA Jetson 

aka: Matchstic
Подписаться 5 тыс.
Просмотров 37 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@HoffmanTactical
@HoffmanTactical Год назад
Keep these videos coming! There is a lack of good CV / AI / UAV content on the internet, and it's a fascinating area.
@IamG3X
@IamG3X Год назад
Man your voice is so soothing to hear. And the editing is perfect to follow. Step by step guide is on point. Really deserve top views and likes for this RU-vid category.
@mohamedaminefaiz6378
@mohamedaminefaiz6378 4 месяца назад
Perfect work! Please continue, you're helping a lot people with these videos!
@jnick6
@jnick6 Год назад
clear and concise. as a newbie, this was really needed. especially when it comes to the running commands and their meaning.. reading code is my second fear, fist is algebra. thanks a lot, subbed.
@AndrewBakerEngineer
@AndrewBakerEngineer Год назад
Great video. At Honeywell we use the Cube Orange and the Jetson Xavier NX combo. We don't bother with the GPIO header and just go straight from the Jetson's USB to the Cube's microUSB. Works fantastic.
@NOVAAlimentos-ux2xw
@NOVAAlimentos-ux2xw Год назад
Hi AerialRobotics, are you have some tutorials you can share us about the communication by Jetson Xavier NX USB and Cube's microUSB?
@Film-maker
@Film-maker 6 месяцев назад
Hi Andrew, I hear many have issues connecting Cube Orange. Is there a way to avoid connection problems?
@akshaydevanpally3764
@akshaydevanpally3764 Год назад
This video really helped me, thanks for such videos
@Dragoneer
@Dragoneer 7 месяцев назад
Great tutorial man, that's gonna really help me out later. I see you cut the 5V wire, but I also would like to know, is the PixHawk capable of supplying the full 20W range specified for the Nano through the telem2 port? That would be really handy as I want to install the board to the drone itself. And I'm not sure that I trust the PixHawk board will permit that power draw... Edit: Figured I would use a buck converter from the battery instead, that way I can guarantee that it is capable
@faraazk.8015
@faraazk.8015 Год назад
just came across this vid, nicely done sir
@olegmikulskiy
@olegmikulskiy 10 дней назад
Hi Mark, thanks for the video. Can you try to connect Raspberry PI to SpeedyBee or other cheap fly controllers?
@abeshifat7707
@abeshifat7707 Год назад
would you please make a video how i can make a indoor flying drone who perform like a flying robot . like if i want i can move a glass of water from one room to another room using this drone and put the glass in another room in accurate position . And what types of hardware is needed to be done to make this. Like Jetson Nano , pixhawk 2.4.8 , GPS and last thing how i can control it auto by using laptop or computers . by the way i cant write English properly so hope you kindly forgive me if i make some mistake to write this . I will be waiting for your video .Carry on brother .
@alexbattikha
@alexbattikha Год назад
are there any alternatives to the a203 carrier board? or is it possible to connect a pixhawk to jetson without any external carrier boards?
@12_auliaputriajuntira73
@12_auliaputriajuntira73 Месяц назад
please answer it
@DhruvArne-ff8kw
@DhruvArne-ff8kw 3 месяца назад
Libxslt is not installing
@sgan5551
@sgan5551 3 месяца назад
Hello Sir, your videos are very useful. Thank you very much I am newbie to Drone building DIY. I have Pixhawk 2.4.8 and wanted to use it with 4-in-1 ESC along with Raspberry PI 4 or 5. I watched all the videos out there on this scenario and all of them uses individual ESC's for each motors. I came across encoder to use but surely not understand it. I watched this video about connecting Raspberry PI to Pixhawk so I think I am okay there but not connecting 4-in-1 ESC to Pixhawk. Would you be able to suggest how I can get 4-in-1 ESC connected to Pixhawk? Or if you could do a video on it, would be awesome. Thank you so much for all your help in advance sir.
@vikaspoddar8443
@vikaspoddar8443 Год назад
welcome back Matchstic !!! can you do video on ROS2 integration with pix Hawk for robot management and PyTorch for object detection ???
@vikramurs9416
@vikramurs9416 Год назад
Yes, even i was looking for such kind of videos...
@akamatchstic
@akamatchstic Год назад
I can try - ROS is something I played with last year but didn’t end up using, so will have to learn it myself first 😅
@Film-maker
@Film-maker 6 месяцев назад
Hi Matt, very informative video! Would you know which new flight controllers will work with Jatson boards?
@danielq1985
@danielq1985 Год назад
First, love the videos. Second, how can I send you a proper set of wire strippers?
@akamatchstic
@akamatchstic Год назад
Thanks! So wire strippers… I do have one in a box, that is incredibly frustrating to get into 😅 Since I don’t have a PO Box etc, I am pretty uncomfortable giving out my address online, but I *seriously* appreciate the sentiment!
@DeanBateman
@DeanBateman Год назад
Now that it is connected, would love to see some examples of what you can do with them. Even if they are not fully coded examples
@akamatchstic
@akamatchstic Год назад
I can show you a fully functioning system using this if you wanted! This is the source code for Stanley, an autonomous drone using an RPi for the companion computer: github.com/Matchstic/stanley
@UsForever-you_me
@UsForever-you_me 28 дней назад
Hey, I have an AI model running on raspberry pi 0 2w, and the flight controller I have is the same as pixhawk 2.4.8. What are the benefits if I connect the raspberry pi to pixhawk ? I have seen how to connect, but what I fail to understand is, in my use case scenario will it be beneficial ?
@piyushmessi7758
@piyushmessi7758 Месяц назад
How do you power them up when flying with drone? I am having voltage issues
@royjones1053
@royjones1053 Год назад
Thanks again for the quality content
@eminbozkus3896
@eminbozkus3896 Год назад
Hi sir, Please give me a feedback. How can I connect my jetson nano with pixhawk cube orange on python scripts, using dronekit ? Actually I know about the software side but I need to help to hardware side.
@Sam-iy1kv
@Sam-iy1kv Год назад
nice, I used a uart-usb connector connet pxihwak to one usb port, seems using the pins is easiers
@elbhilatel7841
@elbhilatel7841 Год назад
Welcome, excellent explanation. Can you make a video of orange pi integration with pixhawk???
@akamatchstic
@akamatchstic Год назад
If I had access to one, sure! That said, in theory you can adapt the instructions in this video for the Orange Pi. This looks to be the pinout for the Orange 5: www.orangepi.org/img/pi-5-pin-definition.png I imagine its a case of ensuring the TX and RX jumper wires of the serial wire I showed to the pins marked UART3 - ensure the TX jumper goes to the RX GPIO! In software, it looks like that would map to /dev/ttyS3. See here for where I'm pulling that info (which is for the R1): learn.adafruit.com/circuitpython-on-orangepi-linux/uart-serial#the-hard-way-using-built-in-uart-3010837 Additionally, you may need to enable UART - see here (again, for the R1): learn.adafruit.com/circuitpython-on-orangepi-linux/orange-pi-r1#enable-uart-i2c-and-spi-3029848 TLDR; make sure to enable UART if needed, and connect to the relevant GPIO headers with the serial cable I showed in my video
@MuhammadJunaid-yr8jd
@MuhammadJunaid-yr8jd Год назад
Hey, thank you so much for guiding me just like WOW! I am thinking about how can we connect the companion computer pi or Jetson, with Pixhawk using their micro-USB cable, I have seen a guy who is connecting, can we do it after following all the commands provided by you or there is another configuration need for that...
@akamatchstic
@akamatchstic Год назад
You can technically use the micro-USB cable for serial but be aware that it disables some safety checks - for example, ArduPilot will assume it is not connected to a battery when using the USB link, and disables all battery failsafes.
@prathamvjain7569
@prathamvjain7569 7 месяцев назад
Bro I’m building package pickup drone using ros and jetson nano and using pixhawk for flight control
@ttaylor9916
@ttaylor9916 5 месяцев назад
maybe next a simple diagram that shows that you connect rx to tx?
@mohammadabdollahi2742
@mohammadabdollahi2742 8 месяцев назад
i have quastion for you what frame and vehicle do you use on your pixhawk and how do you upload it? i use simonhardware and upload it on linux but i didnt get the same result as you for example the AP:... commands i get some #%$#EREGF$F and some EPK and GPS ... |'ll be glad if you help me
@athiganesh6130
@athiganesh6130 9 месяцев назад
thanku for helping bro
@harmonydevdao55
@harmonydevdao55 Год назад
great content!
@DavidGutierrezhi
@DavidGutierrezhi 6 месяцев назад
bro what i have to do in the px4 im using the cube black, to enable mavlin in telemetry 1 or 2?
@sefaklcr
@sefaklcr Год назад
Hi mr. Matt, I have some questions about coding RP4 with PixHawk. We are trying to making a VTOL UAV and it has a simple task that it will change servo angle at the determined location and altitude. So, I want write a code for RP4 that will get this mission. How can I do that, can u help me? I am an amateur on RP4. Do you have some simple examples about that? :)
@user-mt8it3nd9n
@user-mt8it3nd9n Год назад
where can I type those command? I have connect pixhawk with resp pi.
@dsyeta174omkshirsgar2
@dsyeta174omkshirsgar2 5 месяцев назад
jetson says permission denied on THS1 port error 13
@kemaldemir7045
@kemaldemir7045 Год назад
hello, thanks for this informative video 🙋🏻‍♂️ i need to ask that, can i do the same steps for jetson xavier nx ? and also i need to give the power supply from a lipo batterry how can i do that? does anybody here to help me?
@akamatchstic
@akamatchstic Год назад
I’d imagine the exact same steps will work for Xavier - just make sure your GPIO connection is correct! For the Lipo battery, I’d recommend looking into using a UBEC to source a good supply of 5V, then power the device from that - this is what I did for my drone using the Jetson Nano
@HS_COMET
@HS_COMET Год назад
Your video is interesting. Let me ask you a question. Does connecting using usb to ttl work in the same way as connecting to gpio pins 8, 9, and 10?
@akamatchstic
@akamatchstic Год назад
It should do yes - the key thing is to ensure a serial device is available to receive/send MAVLink messages
@diannajames4453
@diannajames4453 Год назад
@@akamatchstic I too bought a usb to ttl device. But I do see how your way would save the cost and save an additional USB port.
@philippjansen6079
@philippjansen6079 Год назад
Hi Matt! Great video - do you think it is possible to connect a Orange Pi 5 to a Pixhawk?
@akamatchstic
@akamatchstic Год назад
Cheers! I would expect so, just double check the GPIO layout before you do. There may also be a need to enable appropriate hardware like for the Raspberry Pi via a config file
@philippjansen6079
@philippjansen6079 Год назад
@@akamatchstic Thanks Matt!
@alexandergeorgiev2631
@alexandergeorgiev2631 7 месяцев назад
Can you use ttyTHS2 instead?
@DineshKumar-ki2lf
@DineshKumar-ki2lf Год назад
Hey, just a quick question - have you experimented with PX4 firmware ?
@akamatchstic
@akamatchstic Год назад
Not as much as ArduPilot to be honest!
@RacecarJ0hnny
@RacecarJ0hnny Год назад
Why did you choose the carrier board rather than the Nano Dev Kit?
@akamatchstic
@akamatchstic Год назад
I’ve used both with a drone, with the carrier board I can just wire up an XT30 connector and not need to power it via GPIO
@ensam9317
@ensam9317 Год назад
But how to power it on the drone
@denisbrown261
@denisbrown261 10 месяцев назад
Hi, when I tried to run this command: sudo pip install PyYAML mavproxy, I got an error that said the SSL Certificate Verify failed. How could I fix this?
@LeviDeHaan
@LeviDeHaan 8 месяцев назад
Youre using anaconda? If so run conda deactivate and then run again.
@user-jw3hy1dh9z
@user-jw3hy1dh9z Год назад
thanks for sharing, i'm wondering if mavproxy can work on PX4 firmware?
@akamatchstic
@akamatchstic Год назад
Yep, should work just fine 👍🏻
@user-jw3hy1dh9z
@user-jw3hy1dh9z Год назад
@@akamatchstic thanks for reply, it works. However i have to wire tx rx through usb signal transform device.
@sairajesh4817
@sairajesh4817 10 месяцев назад
hai how u connected jetson nano without cable to pc and is there any files how to access jetson and can u sujected me which is better rasberry pi or jetson nano for pixhawk AI control
@akamatchstic
@akamatchstic 10 месяцев назад
I used SSH to run commands on both the Jetson Nano and Raspberry Pi. If you’re looking for longer flight times, the Raspberry Pi would be preferable due to less power requirements. It’s all down to your project’s requirements really!
@sairajesh4817
@sairajesh4817 10 месяцев назад
THANKYOU SIR @@akamatchstic
@VitaoHelloWorld
@VitaoHelloWorld Год назад
after install mavproxy i need to install dronekit or with only mavproxy i can send commands for px4?
@akamatchstic
@akamatchstic Год назад
Depends on your goal to be honest. I used DroneKit in a project to send commands from a companion computer over Python. Setup looked like this: My Python program -> DroneKit -> MAVProxy running locally -> PixHawk If you’re using DroneKit and don’t need MAVProxy to eg also forward data to a ground station, you can actually skip MAVProxy and connect directly to the serial port. With MAVProxy on its own, you can connect it up to anything that works with MAVLink data over the network. Eg multiple ground stations If used on its own, you’ll still be able to send commands to PX4 on the PixHawk. DroneKit is one source that can send those commands
@CM-nq3zu
@CM-nq3zu Год назад
Nice
@johnmelbolaybolay6725
@johnmelbolaybolay6725 Год назад
Why do I get a permission denied whenever I tried to run mavproxy in serial port ttyTHS1
@akamatchstic
@akamatchstic Год назад
You’ll need to run it as root
@ienMinh
@ienMinh Год назад
Hii Matchstic ! Can i connect the F405 mk3 lite filght control (other pikHawk)with Jetson Nano for project like u ?
@akamatchstic
@akamatchstic Год назад
In theory, yes! Looking at the documentation (ardupilot.org/plane/docs/common-mamba-basic-mk3.html ), you’ll need to solder the jumper wires directly to the board. I’m not 100% certain of the pins you need to solder to though. That docs page seems to suggest that the RX6 and TX6 pins are available for this, as well as any available Ground pin. As per the video, make sure you connect the soldered RX connection on the board to the TX GPIO pin, and the equivalent for TX to RX GPIO. In your autopilot parameters, you may need to update the relevant serial port’s protocol to 2 to get MAVLink messages flowing.
@ienMinh
@ienMinh Год назад
I looked on the jetso nano forum and someone asked the same question. why are Tx/rx2 and tx/rx4 pins empty but we don't connect them?
@RacecarJ0hnny
@RacecarJ0hnny Год назад
omg this is what im gonna do
@tselin7611
@tselin7611 Год назад
But it doesn't work for PX4 right?
@akamatchstic
@akamatchstic Год назад
Should work just fine with PX4 too, i just used ArduPilot for demonstration purposes
@eminbozkus3896
@eminbozkus3896 Год назад
I get an error saying MAV > link1 down. Could you help with the solution?
@akamatchstic
@akamatchstic Год назад
Sounds like one of the following: - the RX and TX pins are connected the wrong way around on the GPIO header - you’re using the wrong serial port (run the following to see available ones: ls /dev) - the cable is not soldered properly - the cable is not connected to the right telemetry port on the PixHawk (or equivalent)
@eminbozkus3896
@eminbozkus3896 Год назад
@@akamatchstic There is no problem with any of the steps you mentioned. Could there be another reason?
@chiuanshin1987
@chiuanshin1987 Год назад
@@eminbozkus3896 sir,I have the same problem, how did you solve it?
@eminbozkus3896
@eminbozkus3896 Год назад
@@chiuanshin1987 Yes, I solved. The problem is depend on the cables of rx,th,ground connection. You should connect the rx to tx, tx to rx and ground to ground, for communication. If your problem will continue I can help you on zoom or any video conference application.
@chiuanshin1987
@chiuanshin1987 Год назад
@@eminbozkus3896 Thank you so much, I successfully solved the problem by swapping "tx" and"rx", thank you again~!
@duanebowman9595
@duanebowman9595 Год назад
Are you still with US? Hope so. Can you do a more indepth Raspbeery 4??
@akamatchstic
@akamatchstic Год назад
Yeah I’m still here, just busy IRL! 😅 What do you mean by more in depth Raspberry Pi 4?
@duanebowman9595
@duanebowman9595 Год назад
@@akamatchstic I am A 70+ old fart. and 8min is hard for me to walk through. I need to do long range way points. Might try 4/5g to get what I need.
@canadianrepublican1185
@canadianrepublican1185 7 месяцев назад
cut ur hair.
@akamatchstic
@akamatchstic 7 месяцев назад
absolutely not!
@canadianrepublican1185
@canadianrepublican1185 7 месяцев назад
@@akamatchstic I used to have hair just like urs. :) So gas generators on bigger drones . Why does this seem uncommon?
@user-bc6dh8yk3o
@user-bc6dh8yk3o Год назад
hi, I'm making a drone. your drone is very awesome my project is using jetson. if I have a question about drone, can I email to you?
@user-bc6dh8yk3o
@user-bc6dh8yk3o Год назад
how do you connect jetson nano and pixhawk from a software perspective? something I have to download?
Далее
Teaching my custom AI drone to track humans
19:52
Просмотров 28 тыс.
ЭТО мне КУПИЛИ ПОДПИСЧИКИ 📦
22:33
Mission Planner SITL for Dummies
9:04
Просмотров 11 тыс.
My Raspberry Pi drone: the story so far
14:45
Просмотров 57 тыс.