Dronekit's abstraction away from the flight code is so powerful! It seems equivalent to what Operating Systems did to computers! Where is the line though for dronekit's potential- has it be used to integrate new sensors to dynamically affect the drone's movement (obstacle avoidance, precision landing), essentially bypassing the need to modify the flight controller's source code (which can be lengthy and difficult to understand completely)? This just blows me away. Thanks again for sharing your knowledge.
@MrJawwadzahed7 жыл бұрын
Well I was about to 'hard-code' all my way-points. I didn't know this was even possible. Great stuff... Thank you sir :)
@prandtlmayer7 жыл бұрын
Jay , I am glad I was helpful, but please don't call me sir. You make me feel old.
@maoharn2 жыл бұрын
@@prandtlmayer 😂
@prandtlmayer7 жыл бұрын
Don't give up. When it comes to that is usually something easy that is hard to spot. I'll try and give you an answer soon
@arpitsrivastava84317 жыл бұрын
Tiziano Fiorenzani Well its good.But my one problem is not solved that what to do with raspberry pi and apm ,I want to use 3G dongal for far mission.Please help me what to do with raspberry pi and apm
@prandtlmayer7 жыл бұрын
Open a terminal and open Python (just write python). You should now be in python 2.7 (check the version please). Then write help('module') and you should have all the modules currently installed. If you don't see dronekit, just uninstall it and try and reinstall
@kaanucar223 жыл бұрын
Can I just show to mission route on Mission Planner map? I have to show the mission route. Please, please help me?
@miloudsefiani63405 жыл бұрын
thanks our teacher, i want know why when i click in Write WPS Fast. i get an error " there was an expected error " when i see details of error i see " Timeout on read -setWPTotal ..."
@prandtlmayer5 жыл бұрын
I haven't used that feature yet. You might want to check on the forum
@enesyurt78642 жыл бұрын
Hello Tiziano, I really like your works and I have a question, I want to create a system like: While my drone flying on a rectangle path, when it detects something with image processing I want to take its location, put a waypoint in there and I want to know when I reached that point in the next tour (to do some missions e.g opening servo and dropping a ball, etc.) How can I add a waypoint autonomously while proceeding with the mission Is there a way to do this? Thanks in advance.
@erayilgazi48252 жыл бұрын
Hello, your videos are very useful, but ı have a question. İ want to make a ground control station on the fixed wing, ı want to hybridize manually and autonomously. Is it possible to do this? What kind of resource do you have?
@johntan68543 жыл бұрын
hi sir, your video is very useful and interesting, but i have a question, i mean i have met a error when i click on writeWP after pointing the WP, which the error is ( there was an expected error " Timeout on read -setWPTotal " ) and something, may i know why and how to solve this issue? thanks in advanced and hope to receive your reply soon!
@nadhmiamara67184 жыл бұрын
hy Tiziano ! im trying to run the drone_delivery.py on server , is it possible to run the js code with your own access token and mapid ? everytime the map does'nt display! i need help please
@rootready5 жыл бұрын
Nice useful video. Thank you for this! But, the most interesting, challenging, exciting task is INDOOR positioning and automation.. What's about this? Thank you.
@prandtlmayer5 жыл бұрын
This is really an interesting subject and I am working on it
@masoodabbasi25273 жыл бұрын
Hi Tiziano , nice work. Would you tell me when current location is set as last way point and drone has reached that position then where the drone would go with return to home?
@prandtlmayer3 жыл бұрын
RTL moves to the location the drone armed
@sudharsansubramani16853 жыл бұрын
Is it possible to create a python script to interface with the mission planner such that the python script input the coordinates and the mission planner plots the course?
@prandtlmayer3 жыл бұрын
You can also import python scripts.in mission planner too. Check on the forum
@aadilhusain12153 жыл бұрын
When I'm adding the script through sudo python .py file it says no module named drone kit ... I checked and install it twice how I'm suppose to remove this error
@prandtlmayer3 жыл бұрын
That is a problem when installing with sudo privileges. Uninstall drinking and install it from source again
@franciscourena56364 жыл бұрын
Great job Question Can you program the FPV plane to fly further than the range of the ground station and have the FPV plane to return to Its location via waypoints? For example, the ground station is 25 mile range, but the destination is 100 miles. Can you set up the FPV plane to travel fro. Point A to Point B to Point A 100 miles each way?
@prandtlmayer4 жыл бұрын
Not legally
@franciscourena56364 жыл бұрын
@@prandtlmayer So it can be done! Let's say you have an automated flight path from point A to Point B but your ground station failed, can the FPV plane accomplish its mission A-B-A viewpoints using the GPS??
@CodeBroRob5 жыл бұрын
how can i see camera output tho? would love to play with this and see what it sees as it flies around.
@prandtlmayer5 жыл бұрын
Check this out: discuss.ardupilot.org/t/gsoc-2019-airsim-simulator-support-for-ardupilot-sitl/42890
@nevzatbugrahanturk38094 жыл бұрын
Is it possible to adding a new waypoint during the flight in AUTO mode?
@prandtlmayer4 жыл бұрын
Adding a waypoint changes the mission, so you need to upload the new mission. Mind that the vehicle will keep going to the current old waypoint and will update to the new mission only when heading for the next one. What you could do is pause the mission by setting the vehicle in Guided, upload the new mission and then change mode to Mission again
@pavniparghi82533 жыл бұрын
if i am trying from the other terminal it shows that no heartbeat found
@prandtlmayer3 жыл бұрын
Have you installed from source? Check connections and make sure the baudrate match
@shahrukhansari19425 жыл бұрын
It is working fine on SITL but not on real drone....cmds.wait_ready() is giving timeout error. Why dronekit script takes time to connect with drone while mission planner not?
@prandtlmayer5 жыл бұрын
I've been using dronekit on my drones for 4 years. Check your connections, speed up the serial to 921600, change the sr2 for the parameters to 10Hz
@shahrukhansari19425 жыл бұрын
I'm not using any companion computer(like : Raspberry pi or any other) on my quadcopter .I am uploading the script directly on pixhawk via 433 hz telemetry module from the Ubuntu PC. Is that the reason it is taking time to upload the mission?
@shahrukhansari19425 жыл бұрын
I set serial_baud to 921600 and sr2_params to 10 hz but it didn't work.
@prandtlmayer5 жыл бұрын
It doesn't work that way. Pixhawk runs on a microprocessor and you need to upload Ardupilot firmware. The python script runs on a companion or on the computer. I suggest you have a good reading of the documentation on the Ardupilot website
@yusufyigitbas11256 жыл бұрын
I wonder that how to code the script for changing flight modes by using transmitter, while the script is running.Is it possible to check the modes in loops or commands in auto mode?If it is not possible,Should i add multitasking threads?
@prandtlmayer6 жыл бұрын
You can change the flight mode while the script is running with the ground station or the transmitter no problem. And you always know the flight mode in the script. I recommend you dedicate a switch on the tx to enable and disable the script as well
@yusufyigitbas11256 жыл бұрын
Thank you sir!
@dronepilot13335 жыл бұрын
I have Arducopter running on my tarot ironman and intend to make an experiment as a delivery drone. What firmware would you recommend? Ideally, it will deliver to a designated GPS location and return to launch once mission is completed.
@prandtlmayer5 жыл бұрын
Arducopter has that implemented already. One of the mission item can be a delivery with a string also
@dronepilot13335 жыл бұрын
Tiziano Fiorenzani cool. I will check it out.
@gozeenpinjar5 жыл бұрын
What should I do if I wanted to land the drone at the last way point and return it
@prandtlmayer5 жыл бұрын
You can either program a landing in the mission or you can set the mode to landing. Consider that in Landing mode you won't be able to send commands to correct the position. You will need the RC or to override the first 4 channels
@gozeenpinjar5 жыл бұрын
@@prandtlmayer I didn't get one thing, if the script runs on a pi and the pi is on the drone then how should I connect the pc in which mission planner runs cous that's how it should work right? And can I Connect the pi and pc over the internet? If yes then how?
@ns3lover7796 жыл бұрын
Thank you sir ,what is the name of the simulator ?
@noahorosw7 жыл бұрын
I'm having trouble starting dronekit sitl command not found . So I pip install dronekit-sitl , installs ! Try to start , and command not found ???
@prandtlmayer7 жыл бұрын
Noah Wheeler which os?
@noahorosw7 жыл бұрын
Windows 10 , and Ubuntu 17.10 for virtualbox
@prandtlmayer7 жыл бұрын
That sounds like a problem with the path. Check your parh and verify dronekit has been installed in one of those folder
@noahorosw7 жыл бұрын
Can you leave a description of the path ? /home/xyz/ardupilot/Tools/etc... ??? This must be where I'm making my mistake ?
Could you do one tutorial on collision avoidance while running a mission ?
@prandtlmayer3 жыл бұрын
Collision avoidance is pretty recent addition in Arducopter. Let me think of that
@angelleal30053 жыл бұрын
@@prandtlmayer Consider doing it. It's worth the time.
@liamcummings66733 жыл бұрын
Where can I download a copy of these scripts?
@prandtlmayer3 жыл бұрын
there is a link to my github in the description
@emrekaanozkan17056 жыл бұрын
hi i m using dronekit on raspberry pi bu i want to use your autopilot script and mission planner same time but i cant it. How can ı can it ?
@prandtlmayer6 жыл бұрын
You have two choices. Either you connect the pi to telemetry 2 and use telemetry 1 for a datalink or you run a proxy on the pi, either mavproxy or mavlunk-router to proxy the connection to both a TCp port to localhost and a udp port to your computer running mission planner (or broadcast)
@emrekaanozkan17056 жыл бұрын
Tiziano Fiorenzani ı m using uart raspi on tele2 port but tele1 not connect on udp how can ı solve this problem
@prandtlmayer6 жыл бұрын
As I said, you can either connect a datalink to telem1 and use a ground datalink to mission planner or you set a mavproxy in the pi and proxy the connection to udp 14550, where you connect with mission planner
@emrekaanozkan17056 жыл бұрын
thanks:) but ı dont know what to add to the script
@prandtlmayer6 жыл бұрын
I'm sorry Kaan, but I really don't understand what you're asking. Have you looked at any of my other videos? Maybe you can find you answer. Help me understand better
@ser7ser7i6 жыл бұрын
Thank you.
@joemama.5565 жыл бұрын
hi! I d like to ask you a few questions. Im currently briefing the construction of an fpv fixed wing platform. The issue is that i need to keep it as low cost as possible, but one of the main goals is implementing image tracking for the on board gimbal. The system would have a 2 or 3 axis self stabilized gimbal and connected to the servo inputs. The video feed would pass through a capture card an directly to the mission planner. My idea was writing some code that could talk to the servo inputs of the gimbal and follow a certain colour/shape. I'd trigger the code at a certain moment to lock on whichever color is on the center of the screen(video feed). Also this software is intended to run on some sort of windows 10 tablet. So not very high specs should be required. My question is: Is this achievable with python? Or would I need another type of code? Thanks a lot!
@prandtlmayer5 жыл бұрын
You can use Python and dronekit. You can control the gimbal's angles, no problem.
@joemama.5565 жыл бұрын
@@prandtlmayer thank you so much! I will be following all your videos, as I think they will be very helpful, great videos too👍👍