![Pankaj Mali](/img/default-banner.jpg)
- Видео 8
- Просмотров 124 183
Pankaj Mali
Индия
Добавлен 31 май 2014
Love robotics and things that fly
Get Started with LIDAR | pixhawk | Indoor Navigation | Raspberry pi | Computer Vision | Drones
This video is all about getting started with LIDAR. Step by step guide to build you own Custom Designed Drone to Develop ROS based projects.
---------------------------------------------------------------------------------------------------------------------------
Github: github.com/punkypankaj
---------------------------------------------------------------------------------------------------------------------------
Buy this amazing drone courses
1. Drone Programming Primer:
dojofordrones.com/drone-programming-course/?ref=4
2. How to Build a Raspberry Pi Drone:
dojofordrones.com/how-to-build-a-raspberry-pi-drone-course/?ref=4
3. Drone Delivery and Precision Landing:
dojofordrones.com/drone-deliver...
---------------------------------------------------------------------------------------------------------------------------
Github: github.com/punkypankaj
---------------------------------------------------------------------------------------------------------------------------
Buy this amazing drone courses
1. Drone Programming Primer:
dojofordrones.com/drone-programming-course/?ref=4
2. How to Build a Raspberry Pi Drone:
dojofordrones.com/how-to-build-a-raspberry-pi-drone-course/?ref=4
3. Drone Delivery and Precision Landing:
dojofordrones.com/drone-deliver...
Просмотров: 6 283
Видео
Precision Landing Simulation | ROS Gazebo | ArduPilot SITL | Dronekit | OpenCV Raspberry pi Aruco
Просмотров 5 тыс.Год назад
Get started with Drone Simulation and test your python scripts before crashing your real drone. ROS based 3d Simulator that is GAZEBO where you can develop your custom models or vehicle using gazebo API, In this video we will be using ArduPilot plugins which has IRIS modeled drone for simulation. we will see complete process and simulate Precision landing python scripts which includes Aruco mar...
Basics of ARUCO marker | OpenCV | Dronekit | Raspberry pi | Python | Computer Vision | Drones
Просмотров 2,5 тыс.Год назад
This video is all about getting started with ARUCO markers. Step by step guide to develop amazing computer vision based Robotics applications. Github: Camera calibration (code) github.com/punkypankaj/camera_calibration Github: test.py code github.com/punkypankaj/Aruco-Marker-Pose-Estimation Opencv: docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html Buy this amazing drone courses 1. Drone P...
Get Started With Robot Operating System | Build your Custom Drone | ROS Drone
Просмотров 7 тыс.3 года назад
This video is all about getting started with Robot Operating System (ROS). Build you own Custom Designed Drone to Develop your ROS based projects. DRONE DOJO COURSES Buy this amazing drone courses 1. Drone Programming Primer: dojofordrones.com/drone-programming-course/?ref=4 2. How to Build a Raspberry Pi Drone: dojofordrones.com/how-to-build-a-raspberry-pi-drone-course/?ref=4 3. Drone Delivery...
Install GAZEBO with ArduPilot Plugins and Simulate your Drone | OpenCV Aruco Marker | guide Part-2
Просмотров 16 тыс.3 года назад
Get started with Drone Simulation and test your python scripts before crashing your real drone. This video is part two of the complete simulation setup video. In this section we will see installation of ROS based 3d Simulator that is GAZEBO where you can develop your custom models or vehicle using gazebo API, In this video we will be using ArduPilot plugins which has IRIS modeled drone for simu...
Install Dronekit-SITL, MavProxy | GAZEBO with ArduPilot Plugins and Simulate your Drone | Part-1
Просмотров 35 тыс.3 года назад
Get started with Drone Simulation and test your python scripts before crashing your real drone. This video is part one of the complete simulation setup video. Part-1 : In this section of video you will see step by step guide for installing Dronekit, Dronekit-SITL, MAVProxy and then simulate and visualize your drone on any Ground control station ( in this video its Mission Planner) and also on m...
Autonomous Takeoff and Land Python Script Demonstration | Dronekit Python RPI | Beginners Guide
Просмотров 22 тыс.3 года назад
Detailed demonstration for running your first python dronekit script on actual drone with Pixhawk and raspberry pi as companion computer Setup. Methods on running the script and way to gain manual control over your drone if something goes wrong. In next videos we will get in detailed with dronekit python and see how we can use dronekit API'S with computer vision libraries and Robot Operating Sy...
Connecting Raspberry pi with Pixhawk | Get Started to run your Python code | Step by Step Guide
Просмотров 30 тыс.3 года назад
Very easy and basic guide to setup communication between Raspberry pi and Pixhawk flight controller. Follow the official ardupilot documentation for reference for better understanding . In next videos we will see how we can write our first python script using drone kit to autonomously takeoff and land, use computer vision and more. ardupilot doc: ardupilot.org/dev/docs/raspberry-pi-via-mavlink....
Very cool drone brother! I tried following along, but I am getting unusual behavior when hovering and was wondering if you could help me. I used your code to takeoff, but once I get the "altitude reached" message, the drone does not stay still at the desired altitude. Instead, it oscillates up and down, like its in water, and never hovers in place, like yours does, until the mode is switched to LAND mode. So if I try to hover at 2 meters, it will get to 2 * 0.95, then it will bob up to 3, then down to 1, then back up to 3, then back down to 1, and neither of those is 2 * 0.95. I have the break statement when altitude is reached, so I am not sure what is happeneing. I also did several autotune. Have you ever experienced this?
Hello, In order to debug this issue, i request you to take off using RC and put the drone in Loiter mode and just observe . If you find similar behaviour then its because of the faculty measurement. I have this same issue 7 years back with chinese cloned pixhawk 2.4.8, i replace the autopilot and it was all good. When ever i was gaining or loosing altutude it used to do up and down with some jerks.
@@PankajMali Oh really, interesting... I also have the 2.4.8 chinese clone. However, I think my issue might be different because I just tried a flight and put it in loiter to reproduce the bug, like you said, but it did not reproduce the bug. When I enabled loiter from my RC controller, it hovered very still, with no dipping up and down. Its a very strange bug, and now I am thinking that it might have something to do with the dronekit code and my copter version. I am running Copter version 4.3.7, so I am wondering if something behind the scenes has changed from the older versions. Do you remember what Copter version you were using in the mission from the video? If thats the case, then I might have to code up a PID controller or something because the dipping up and down oscillations are very symmetric. If I set the desired height to 2, then it oscillates between 1 and 3. After checking the dataflash log, I see a dampinging happening aswell so that the wave goes 3 to 1, then 2.7 to 1.3, then 2.5 to 1.5, and stays there such that the drone keeps dipping up and down. I will also try to go up higher, like 15 meters, and try to hover for a longer duration, like you do. Wish me luck as I try to take a deep dive into debugging territory lol.
Hello there really cool video! As a new drone enthusiast and want to learn drone simulation. I have a bunch of questions is there any way we can chat via zoom Id really appreciate it!
Any idea why most drones don't use ROS1/ROS2? From what I've seen, they typically use either PX4 or ArduPilot.. maybe MavRos. Is ROS harder to configure and build on small embedded hardware? I'd like to play with a simple demo.. using a BLDC motor and hall-effect sensors to feedback for the commutation. Could ROS be used for this?
Hello, Most drones use PX4 or ArduPilot rather than ROS because they’re optimized for real-time control and work well with specific drone hardware, like motors and sensors. These platforms are easier to set up for drones and are designed for efficient performance in flight. However, **you can use ROS** for a small demo involving a BLDC motor and hall-effect sensors. ROS can handle the high-level control, while you'd need to configure the motor and sensor feedback. For drones, many people use PX4/ArduPilot for flight control and then connect ROS through MAVROS to handle higher-level tasks like navigation and planning.
ruclips.net/video/RfAOdCRdhlg/видео.html Headless Gazebo, Iris ArduCopter Precision Landing, Display Aruco ID & Distance on Camera ROStopic. Using Ubuntu-20.04.6LTS, Gazebo-11, ROS Noetic. Besides this, WFB-ng (HD_FPV Ground Station) is also working. All above is installed just on 64GB USB Pendrive. It works on real ArduCopter Drone too like F450 or any via Raspberry Pi 3B /4B companion PC, and parallely can handle HD_FPV transmission too. I have ordered Google Coral Edge TPU USB module, likely to receive it today or on Monday, it can help Pi to do really lot lot more at much higher resolution and frame rate but it is not must.
So where is Gazebo?
Its in part 2, check next video
@@PankajMali I didn't watch second part. But I mean, people want to see a case when that SITL drone will fly within Gazebo sim environment.
bruh from where did you bought that drone frame ?
Its custom designed and built
ruclips.net/video/7YjJcZqGvFQ/видео.html
Is that a purple screen ubuntu 18 command prompt?
Yes all this videos have been tested using ubuntu 18, upcoming videos will are on ubuntu 20, 22
Hi I need some help please reply
Hello, What's the error?
@@PankajMali actually I am building a drone integrating with ros technology Can you help me with that please ?
@@PankajMali hello
Yeah sure
@@PankajMali thank you How can we communicate then ?
Where can i reach you bro i want you to help me some thing i was trying to build even if you charge me some money i am ok with that.
You can catch me up on instagram @punky_pankaj
can u communicate between apm/pixhwak and arduino???
Yes it works
Hello Pankaj, brilliant video! Thank You! Do you have the GitHub code for this video? It seems as thought the code that you gave in the description is not the same as the one in the video.
Hello. Are you available to help/answer some questions?
Yes please
@@PankajMali Thank you! Basically... (Im from Brazil, so sorry for any english mistakes) Im building the parts to build a drone with raspberry pi and pixhawk. My main doubt is: As i can see, i can just choose some waypoints and flight autonoumously using mission planner, but its possible to stream the video while drone is flying? I mean... There is a raspberry and a camera on the drone, do you know a good way to watch the camera recording on real time through internet? Or only using something like VNC/team viewer?
Hello, what kind of lidar sensor is it? Would you be able to post the link for it? Thank you for the video!
Hello, This is TF-mini s from benewake robu.in/product/tfmini-s-micro-lidar-distance-sensor/
@@PankajMali Thank you! I really appreciate it!
drone kit is slowly getting depricated , so what are you planning to use ? or suggest me something please
Hi sir, thank you for the great video! Do you know of any resources to implement this precision landing on an actual drone?
Hello, you can checkout our courses on dronedojo channel and website
Hello sir, May I ask if you installed Raspbian OS or Ubuntu into the RPi? I encountered the error "command not found" when keying in "sudo raspi-config" into my Ubuntu RPi? Thank you very much for your help sir :)
Hello, It depends on the requirements, if you want to use ros for your project then you xan go with ubuntu or else for this setup raspbian is fine . Can you please elaborate on your error
Sir is pixhawk is needed for raspberrypi, can I use Apm2.8 instead of Pixhawk?
Yes you can use apm2.8 instead of pixhawk . Try to get piixhawk as apm is pretty old now with less flash memory
I mean for a try I can use APM2.8 after getting successful I will replace it from pixhwak
And sir please make a video gesture controlled and person tracking or face tracking drone using raspberrypi and camera module
I have build gesture control using nvidia nx xavier and a usb web camera, I'll publish the video soon . I'll try to see if i can make my model and trained data lighter to support rpi.
Yes you can use but you need to find right firmware version and latest mission planner doesnt support apm board so check archives for older version. Check this fir more details : discuss.ardupilot.org/t/apm-2-8-is-it-supported/82880
I am not able to run Dronekit script in python . I have python 3.8 and Ubuntu 20.04 and python has been automatically installed while I was setting up Ardupilot what can I do ??
Hello, can you please share the specific errors you are getting, as i have tested different python versions from 3.6/7/8/9... with ubuntu 20 i didnt find any issue yet.
hi brother , huge respect for your work , how can i contact you brother??
Hello, Thank you, you can catch me up on instagram @punky_pankaj
Please the Misiion Planner is not arming on my Ubuntu 22.04 when i run the code and when i forcefully arm it says not data recieved int 3 seconds ajnd the timer keeps increasing what could be wrong
Theres connection issue
Please check Github repository for update on python3 packages as in video setup is based on python2 which is deprecated now.
but dronekit doesnot support python 3.so using python 3 for other would work with dronekit?i didnt under stand how python 3 for other and python 2 for dronekit would work together
@numberthree-gf5zb dronekit works with python3
@@PankajMali i am having problem of using python 3 with dronekit and mavproxy.i am wanting to take telemetry data as well as control drone usng raspberry pi running debian buster.can you provide me with resources and adaquate examples link or some reference
Where is the repository I mean under what name
@@PankajMali please can more better because it is not downloading
Good but the background music was disturbing
No longer adding music in new videos
Sir can you please provide your contact info🙏. I have some doubt to clear and i need some help for my project
Hi, you can catch me up on instagram @punky_pankaj
can't we use serial0 to connect raspberry pi and pixhawk?
It depends on the board you are using like rpi3/4/5, jetson nano and their serial communication architecture. You can just check the port being used by ls /dev/tty* when you connect your hardware to rpi
So, ttyAMA0 is not mandatory, we may use another like serial0. @@PankajMali
Your videos are probably good unfortunately I can’t hear you with the background music, it is more of a blinding of your voice and work
Hello, Thank you, i am improving the voice in upcoming videos
I constantly receive link:error no heartbeat in last 5 seconds. How can i resolve this?\
This happens when there's no connection between rpi and pixhawk. 1. Check the tx rx pins , might be revered. 2. Check for setting on rpi 3.check baudrate which is assigned to telemetry ports the one which you are using with mission planner. 57600/ 921600
@@PankajMalicould you make a new video to how to integrate pixhawk and raspberry pi along with picam for a line follower drone?
@@dawatamang6765 sure
Hi... what is the frame used for the multirotor?
Hello Siddharth, Frame is custom designed.
@@PankajMali is it possible to share the design files? If not it's ok! ☺️
do you provide training for newbie?
Yeah, you can catch me up on instagram @punky_pankaj
Can we add custom logic and new behaviours to the drone which is already running on some ardupilot code , for eg arduplane? using this dronekit
Yes ,we can add . Either by adding in the fitmware and compiling or by using the companion if you are going with computer vision.
@@PankajMali can all ardupilot params and modes be accessed by dronekit alone? and whether using dronekit is sufficient for testing new logics for a modified drones testing?
Yes you can access all the modes using dronekit and test new logic.
brother, drone kit work with python 2.7 but other version mode set not work! and i am try and tired! i can't install dronekit 2.9.0 in python 3 or 4 also in windows mavproxy can't change mode return the same mode!
Hi, Use python version 3.6. And if you already have anyother pythin 3 eg. Pythin 3.8/3.11 then set python 3.6 on default and then install all the pythin packages using pip3 install . It will workk
In what time the rasberrypi gives commands to the pixhawk. How to put codes in the rasberrypi.
Hello, Its immediate once you start the code, you can find detailed video : ruclips.net/video/LqtGI_iaqj0/видео.htmlsi=EruMwqTMzJaOTTN3
brother i have question to u about Camera cali...saying "searching for chessboard not found" celebration not work plz help about this...
Hello, Please share the error what you got
Sir which camera are you using right now for precision landing... Instead of pi camera can we use rog web camera for better stream quality?
Yes you can use any camera connected to the rpi usb and your rpi model should be able to handle the data rates if the video quality is more
Im using rpi v2 8mp camera
@@PankajMali if I use rog camera is it necessary to change horizantal field view in the code..
Can you help me please ?? Please
Hello, Yeah, whats the error?
remove the music, it frastruting following the tutorial with tath music playing
Yeah, no more much in my latest videos
How are u communcating with drone in groundstation? Is it with same wifi connected to RPI.. I have connected RPI to telem1 port and 3DR to telem2 port,, i want access to RPI in my laptop throught 3Dr telemetry without using wifi can i do that???
Hardware Setup: Telemetry Module to Pixhawk:Connect the telemetry module to the Telem port on your Pixhawk.This establishes a communication link between Pixhawk and the telemetry module. Telemetry Module to Raspberry Pi: Connect the telemetry module to your Raspberry Pi.This enables communication between the Raspberry Pi and Pixhawk through the telemetry link. Telemetry Module to Laptop (for Configuration/Control): If you want to configure or control the Pixhawk directly from your laptop, you can connect another telemetry module to your laptop.This creates a communication link between your laptop and Pixhawk for configuration purposes.Remote Access:Connect to Raspberry Pi from Laptop:Access your Raspberry Pi remotely from your laptop through the telemetry link.Use an SSH client on your laptop to connect to the Raspberry Pi using its IP address on the telemetry network. Summary:Pixhawk <-> Telemetry Module 1: Communication link for Pixhawk.Raspberry Pi <-> Telemetry Module 2: Communication link for Raspberry Pi and Pixhawk.Laptop <-> Telemetry Module 3: Optional connection for configuring or controlling Pixhawk directly.This way, you have a telemetry link between Pixhawk, Raspberry Pi, and your laptop. The laptop is optional and can be used for configuration purposes, while the Raspberry Pi serves as an intermediary for extended range communication. the Raspberry Pi is not placed on the drone itself but rather acts as a ground station. The Pixhawk is typically mounted on the drone and communicates with a telemetry module on the drone (air module). This air module establishes a wireless communication link with a ground module, which in this case is connected to a Raspberry Pi.The Raspberry Pi, functioning as a ground station, allows you to remotely access and control the drone over an extended range. It's a common configuration where the lightweight Raspberry Pi is used for processing and communication on the ground, while the Pixhawk handles flight control on the drone.
ros support on pixhawk 2.4.3?
We dont have any direct connection with ros and pixhawk 2.4.8, pixhawks is just hardware and you can run ros on companion computer and send setup mavros and send data over uart connection to pixhawk from companion computer.
i want to make indoor drone with ros can u help on that @@PankajMali
Are we losing any dronekit functionality/functions by using python e.g. 3.9 instead of 2.7?
Hii, In general, when transitioning from Python 2 to Python 3, there are syntax differences and some changes in library names.
speak slower, cannot understand indian lang !!
Ok noted
for this simulation do we necessarily need a raspberry pi??
Hi, No you dont need any hardware or raspberry pi.
@@PankajMali then, can you tell me what is that terminal??? where to download it
really inspired by your works bro.....
Thank you
Hello, i have created custom mode for aruco based landing so in that mode the drone will go to destination that i have given, then detect aruco and land but problem is that set_destination from guided mode is not working in custom mode, can you help me how can i solve this problem to go specific destination.
hi, please check this implementation for your application for creating a custom mode and set a mav command active, if you have done in some other way then please elaborate. 1. Modify Mode Enumeration (Mode.h): enum class Mode : uint8_t { // Existing modes... GUIDED = 4, // Existing modes... CUSTOM_MODE = 12, // Add more modes as needed }; 2. Modify `set_mode` Function (mode.cpp file): void Copter::set_mode(uint8_t mode) { // Existing code... switch (mode) { case static_cast<uint8_t>(Mode::GUIDED): // Handle GUIDED mode... break; case static_cast<uint8_t>(Mode::CUSTOM_MODE): // Activate set destination function or perform custom actions... set_destination_custom(); break; // Existing cases... } } 3.Implement Set Destination Function (GCS_MAVLink.cpp file): void Copter::set_destination_custom() { // Implement your set destination logic here // This might involve extracting coordinates from a MAVLink message // and setting the destination for your custom mode float x = /*...*/; float y = /*...*/; float z = /*...*/; set_destination(x, y, z); } Ensure that `set_destination` is appropriately implemented and performs the required actions based on the provided coordinates, ou can try this with mavproxy and SITL on mission planner. 4. Handle MAVLink Command (GCS_MAVLink.cpp file): case MAV_CMD_DO_SET_MODE: { // Extract custom mode value from the command uint8_t custom_mode = static_cast<uint8_t>(msg.param1); // Set the mode based on the custom mode value copter.set_mode(custom_mode); } break;
@@PankajMali Thanks ✨😊
Hi Pankaj ... May I know which Telemetry model used ? I am planning to use 3DR 915MHz with 500mW is this ligal in india?
Hi, Yes yiu can use 915 Mhz telemetry and the one that i have on this setup is wifi telemetry module from cuav with range less than 30 meters.
bruh.. what frame is that?
Hi, Its custom designs nd woth carbon fiber tubes and sheets
Do you have a video for setup?
Yes, I'll soon upload it
Why do people put music background on technical videos i do not know?... but good content.
Yeah background music is not required i have stopped adding music on my new videos. Thank you
Dear Pankaj thanks for the video. I have a question: I applied your code (test1) but I have an error with motor
Hii, Can you please elaborate your error.
@@PankajMali the problem is: the mode in mission planner is stabilize and I have to change it manually to Guided after I run the code in order to get rid of the error. If I don’t do that then the error in arming the motor will appear. Does that make sense for you?
@@PankajMali this is exactly what is happing after I run the code: Waiting for arming Taking off! Altitude: 0.0 Altitude: 0.0 Altitude: 0.0 Altitude: 0.1 Altitude: 0.2 Altitude: 0.3 Altitude: 0.4 Error: autopilot: Disarming motors Altitude: -0.1
Hii Can you please tell me what code are you using? Are you able to chnge mode from mavproxy terminal ? If yes then change mode to guided and give commands like. ARM THROTTLE >>> TAKEOFF 5. If it performs this then we can go to next step to run a python code to do same task . Please test it and let me know if ny errors.
If I go directly to mission planner and change the mode to guided, the error will not appear
Hello, I'm working on my final year uni project (indoor drone application). The biggest hurdle that I'm facing is stability is, stability. Although I've never flown the drone autonomously, but the drone keeps tilting in one or the other way (manual mode). I've checked the CG but it doesn't help. Also the drone does not maintains it's height, any suggesting what would help?
Hello , Lets catch up on telegram and lets check your setup . @Punky_pankaj
thanks a lot sir, it gives me a general view of drones programming, hope i can reach far on this learning journey
Hi, I'm glad it helped you