hii.. iam trying use arduino to send arming command, but mission planner stil get status disarming, any idea? ( imu and gps can sending normaly, only arming command not effect )
Hello Tiziano thank you so much for these valuable informations. I have a question, for my project im trying to make plane to dive with 45 degrees (an acrobatic drone). I use NAV_WP commands but pitch doesnt reach even -25 degrees. I tried to do that in GUIDED mode also but it doesnt go to the exact target location, it starts to loiter. Thank you so much.
I have massive UAV drone being printed with turbine, I am wondering if its possible to keep this bird up for atleast 4 hours (I will be putting some solar plates on the wings to support). what size battery would you recommend for such a project? considering the pi 4b power requirements? Also I am wondering if you would be willing to inbox me and I can pay for some assistance in coding this project.
I figure you are wondering what range can you get with a pi and a wifi, correct? Well, I had my pi zero w and a good wifi router mounted 4 meters off the ground. I had connection up to 500 meters
So you can also just arm and fly using normal FBWA and Stabalised ect? You dont have to have a waypoint track setup? One more can we just use this new code standalone or do we need to install your other codes? Sorry and flight by 3/4g with modem stick in companion PC yes/no or maybe? Thanks you made me go out and learn at the ripe old age of 47.
Angus Whitehouse i takeoff and land in fbwa. It's so easy. That is up to you and the skill of the pilot or the levelo of autonomy you want to achieve. You can do the same I did setting in fbwb and override the channels, but I don't like it and I'd rather use guided. It makes more sense
Buddy, I am almost 40 and still try and keep up with innovation. You can never stop studying or you die inside. I did that mistake in the past. I died. Now I am reborn
Use my video for setting up a pi or a pi zero (we actually used a zero w for our test, 500 m away, still plenty wifi). Or you can setup a Maverick image for companion pc. Google it
Tiziano Fiorenzani really 500m with a picture zero? Amazing. I agree FBWA is how I like to fly also. I am just helping with the 4g softmod for the Parrot disco and Bebop release which will be done with by end of week. So I take it I could use a 4g sub modem instead of a Wi-Fi connection if I was to want to fly long rang? As am really keen to get long long range then try getting into solar on the plane. A mate has a setup the keeps battery full charged if not flying over 4v it's amazing, not ready for release but amazing, Yep I am 47 stopped learning and it does kill you and depress you. You got me off my butt months ago with a comment so started by making a magic mirror to learn and am now moving to the 4g and one the weekend will be trying your code, o can you do irpt on a RPI 2? Thanks for the encouragement.
Sure, 4G is great. I think you can probably even stream back a low res video. If you do any video or release anything, let me know and I'll mention it in my next video
Have it autonomously go from A to B, once at B pick up some more altitude > cut the engines > once gyro confirms freefall state: deploy chute. Amazon-level services for your local mafia 8D
Hi, very nice vedeo, congratulations!! May be I ask you a stupid question,but i hope somebody can answer me. Can I programe the raspberry or ardupilot to work in 4G instead by WiFi? Sorry I don't know a lot about this. Thanks
The problem is still I need ardupilot right? I'm looking 4 something where I can use whole Ras pi for flight controller itself... If u manage to do something like that, plz help me out...I need autopilot and flight plan codes...it will help to understand flight mechanics and control algorithm clearly... By the way thanks 4 ur work..keep it up
The raspberry pi needs an autopilot to fly. It lacks the sensors you need to fly. Now, you can either use an autopilot running Ardupilot or you can get a navio2
@@prandtlmayer yep... that's Right..but I'm trying with raw sensors like compass ,gyro, accelerometer, pressure sensor, range sensor and also GPS sheilds ... I want to learn the core mechanics of autopilot and self balancing with PID control...it's bcz shake of greater development and innovation... I wish u can manage to develop one by urself help us out...and u r a expert on drones... u can do it. Thank u for ur reply...
@@nurashams4093 if you want to do it just for fun it's ok. But consider that the Pi doesn't have a real time OS, thus running a filter or a control system might be a challenge. That is why usually we use micro controllers running real time OS, like the STM32 running Chibios or NuttX. You need at least a real time linux. I'd give a try to the #Navio2: amzn.to/2S66TTI
Sir I love your videos but I would like to understand everything I mean from starting to end of your code I’m new to python programming please I’ll appreciate it a lot if you can calmly create a video explaining line by line of your code to help new developers understand and learn it the proper way if you have a patron where people pay to get such vital information I would love to know too sir thanks
@@prandtlmayer what do you mean renamed? anyways I already see your previous tutorials in controlling copter drones using python script. My question is does the copter script on your tutorial and the script in this plane is the same? I am trying to implement a custom control using python script on the plane, I already had an idea but I am not quite sure
If you browse on my repository you will find all the scripts and library used in my tutorials, they might just be named differently. The library I wrote for a plane is very similar to one you can write for your copter. It is just specialized for planes in the way you control the trajectory by steering the course, or the takeoff being commanded with a mission.
I'm having a hard time to understand the controls of the plane listed here in the docs ardupilot.org/plane/docs/common-mavlink-mission-command-messages-mav_cmd.html#mav-cmd-nav-loiter-unlim, do you have any examples that I can control my plane using keyboard as the same you did at copter.
Very nice video!! Congrats!! Do you have an email where to contact you, I'm working with drones and I have problems to test the scripts in dronekit in the physic drone.
Tiziano Fiorenzani I understand... well I want to test a simple takeoff in my Intel RTF drone.... I wrote this script: #! /usr/bin/python from dronekit import connect, VehicleMode, LocationGlobalRelative import time vehicle = connect('tcp:127.0.0.1:5760', wait_ready=False) def arm_and_takeoff(aTarget): ### I commented this lines because the code doesn't pass from this loop ### #print 'Pre arm-checks' #while not vehicle.is_armable: # print "Initializing...' # time.sleep(1) print 'Arming motors' vehicle.mode = VehicleMode("GUIDED") vehicle.armed = True while not vehicle.armed: print "waiting for arming" time.sleep(1) print "Take Off!" vehicle.simpe_takeoff(aTarget) while True: print "Altitude: ",vehicle.location.global_relative_frame.alt if vehicle.location.global_relative_frame.alt >= aTarget * 0.95: print "Altitude target reached" break time.sleep(1) arm_and_takeoff(10) print "Take off complete!" time.sleep(10) print "Landing" vehicle.mode = VehicleMode("LAND") But my drone doesn't takeoff it just arms and then stops... what am i doing wrong?
YES! YOU LEGEND! Thankyou for sticking to your word.
Tiziano mate you rock this is awesome!!!! thank you so much for your hard work preparing and producing these videos.
Thank you so much Tiziano, although I have tried for 2-3 months, but it great works!!!
hii.. iam trying use arduino to send arming command, but mission planner stil get status disarming, any idea? ( imu and gps can sending normaly, only arming command not effect )
You are a life saver
I have a problem that ImportError: No module named dronekit. Please expalin me how can I solve?
Hello Tiziano thank you so much for these valuable informations. I have a question, for my project im trying to make plane to dive with 45 degrees (an acrobatic drone). I use NAV_WP commands but pitch doesnt reach even -25 degrees. I tried to do that in GUIDED mode also but it doesnt go to the exact target location, it starts to loiter. Thank you so much.
Bad ass man , bad ass ...
Thank you so much
Hello sir please do you have a discord channel?
I have massive UAV drone being printed with turbine, I am wondering if its possible to keep this bird up for atleast 4 hours (I will be putting some solar plates on the wings to support). what size battery would you recommend for such a project? considering the pi 4b power requirements? Also I am wondering if you would be willing to inbox me and I can pay for some assistance in coding this project.
Also the main objective of this project is to circle my land of 20-40 acres while monitoring using a camera.(coded to recognize people or vehicles)
This sounds like a question for the Ardupilot forum
thank you, I tried contacting betaflight with raspberry pi, the problem is range test. how extend distance rasberry pi utp connection.
I figure you are wondering what range can you get with a pi and a wifi, correct? Well, I had my pi zero w and a good wifi router mounted 4 meters off the ground. I had connection up to 500 meters
So you can also just arm and fly using normal FBWA and Stabalised ect? You dont have to have a waypoint track setup? One more can we just use this new code standalone or do we need to install your other codes? Sorry and flight by 3/4g with modem stick in companion PC yes/no or maybe?
Thanks you made me go out and learn at the ripe old age of 47.
Angus Whitehouse i takeoff and land in fbwa. It's so easy. That is up to you and the skill of the pilot or the levelo of autonomy you want to achieve. You can do the same I did setting in fbwb and override the channels, but I don't like it and I'd rather use guided. It makes more sense
Buddy, I am almost 40 and still try and keep up with innovation. You can never stop studying or you die inside. I did that mistake in the past. I died. Now I am reborn
Use my video for setting up a pi or a pi zero (we actually used a zero w for our test, 500 m away, still plenty wifi). Or you can setup a Maverick image for companion pc. Google it
Tiziano Fiorenzani really 500m with a picture zero? Amazing. I agree FBWA is how I like to fly also. I am just helping with the 4g softmod for the Parrot disco and Bebop release which will be done with by end of week.
So I take it I could use a 4g sub modem instead of a Wi-Fi connection if I was to want to fly long rang? As am really keen to get long long range then try getting into solar on the plane. A mate has a setup the keeps battery full charged if not flying over 4v it's amazing, not ready for release but amazing,
Yep I am 47 stopped learning and it does kill you and depress you. You got me off my butt months ago with a comment so started by making a magic mirror to learn and am now moving to the 4g and one the weekend will be trying your code, o can you do irpt on a RPI 2?
Thanks for the encouragement.
Sure, 4G is great. I think you can probably even stream back a low res video. If you do any video or release anything, let me know and I'll mention it in my next video
Have it autonomously go from A to B, once at B pick up some more altitude > cut the engines > once gyro confirms freefall state: deploy chute.
Amazon-level services for your local mafia 8D
Try to implement that and post your results
Have u made any tutorial for MATLAB px4 PSP. If so plz share it
sorry, I don't have a Matlab license at the moment
Hi, very nice vedeo, congratulations!! May be I ask you a stupid question,but i hope somebody can answer me.
Can I programe the raspberry or ardupilot to work in 4G instead by WiFi?
Sorry I don't know a lot about this. Thanks
Yes, you just need a modem for that
@@prandtlmayer thank you :)
@@urkicastro9461 did u do that ?
@@amiryousefi5374 no didnt prepare the proyet finally
The problem is still I need ardupilot right? I'm looking 4 something where I can use whole Ras pi for flight controller itself...
If u manage to do something like that, plz help me out...I need autopilot and flight plan codes...it will help to understand flight mechanics and control algorithm clearly...
By the way thanks 4 ur work..keep it up
The raspberry pi needs an autopilot to fly. It lacks the sensors you need to fly. Now, you can either use an autopilot running Ardupilot or you can get a navio2
@@prandtlmayer yep... that's Right..but I'm trying with raw sensors like compass ,gyro, accelerometer, pressure sensor, range sensor and also GPS sheilds ... I want to learn the core mechanics of autopilot and self balancing with PID control...it's bcz shake of greater development and innovation...
I wish u can manage to develop one by urself help us out...and u r a expert on drones... u can do it.
Thank u for ur reply...
@@nurashams4093 if you want to do it just for fun it's ok. But consider that the Pi doesn't have a real time OS, thus running a filter or a control system might be a challenge. That is why usually we use micro controllers running real time OS, like the STM32 running Chibios or NuttX. You need at least a real time linux. I'd give a try to the #Navio2: amzn.to/2S66TTI
Can you make a automatic drone for mass Carrier.
I don't think I understand
I think he want to say how to make a big drone which can lift heavy weight for autonomous operation
The concept will be the same only starting and stopping point will be known for the drone
Great!! :)
Sir I love your videos but I would like to understand everything I mean from starting to end of your code I’m new to python programming please I’ll appreciate it a lot if you can calmly create a video explaining line by line of your code to help new developers understand and learn it the proper way if you have a patron where people pay to get such vital information I would love to know too sir thanks
Hi mr. tiziano where can I privately message you I have some few questions to ask
I just renamed them
@@prandtlmayer what do you mean renamed? anyways I already see your previous tutorials in controlling copter drones using python script. My question is does the copter script on your tutorial and the script in this plane is the same? I am trying to implement a custom control using python script on the plane, I already had an idea but I am not quite sure
If you browse on my repository you will find all the scripts and library used in my tutorials, they might just be named differently.
The library I wrote for a plane is very similar to one you can write for your copter. It is just specialized for planes in the way you control the trajectory by steering the course, or the takeoff being commanded with a mission.
@@prandtlmayer so basically controlling plane from left to right and up and down is the same on how you control the copter right?
I'm having a hard time to understand the controls of the plane listed here in the docs ardupilot.org/plane/docs/common-mavlink-mission-command-messages-mav_cmd.html#mav-cmd-nav-loiter-unlim, do you have any examples that I can control my plane using keyboard as the same you did at copter.
Very nice video!! Congrats!!
Do you have an email where to contact you, I'm working with drones and I have problems to test the scripts in dronekit in the physic drone.
Alex Omonte Carreño post it here or on the dronekit forum
Tiziano Fiorenzani I have already post in here and you didn't answer, then in dronekit also i don't have an answer
Sorry, sometimes I miss messages that yourube consider spam. Post it here and I'll do my best to answer. Or on Github. Or on linkedin
Tiziano Fiorenzani I understand... well I want to test a simple takeoff in my Intel RTF drone.... I wrote this script:
#! /usr/bin/python
from dronekit import connect, VehicleMode, LocationGlobalRelative
import time
vehicle = connect('tcp:127.0.0.1:5760', wait_ready=False)
def arm_and_takeoff(aTarget):
### I commented this lines because the code doesn't pass from this loop ###
#print 'Pre arm-checks'
#while not vehicle.is_armable:
# print "Initializing...'
# time.sleep(1)
print 'Arming motors'
vehicle.mode = VehicleMode("GUIDED")
vehicle.armed = True
while not vehicle.armed:
print "waiting for arming"
time.sleep(1)
print "Take Off!"
vehicle.simpe_takeoff(aTarget)
while True:
print "Altitude: ",vehicle.location.global_relative_frame.alt
if vehicle.location.global_relative_frame.alt >= aTarget * 0.95:
print "Altitude target reached"
break
time.sleep(1)
arm_and_takeoff(10)
print "Take off complete!"
time.sleep(10)
print "Landing"
vehicle.mode = VehicleMode("LAND")
But my drone doesn't takeoff it just arms and then stops... what am i doing wrong?
What autopilot stack are you running? PX4 or ArduCopter?
U are good
Hi Tiziano, can I contact with you by email?
Find me on LinkedIn
I will give you 100$