Raspberry Pi for Autonomous Planes - Simulation with Flightgear

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 79

  • @atw98
    @atw98 6 лет назад +5

    YES! YOU LEGEND! Thankyou for sticking to your word.

  • @angusfraser5562
    @angusfraser5562 6 лет назад

    Tiziano mate you rock this is awesome!!!! thank you so much for your hard work preparing and producing these videos.

  • @editorofjournalofphysicsan4119
    @editorofjournalofphysicsan4119 5 лет назад +1

    Thank you so much Tiziano, although I have tried for 2-3 months, but it great works!!!

  • @wongsorc6918
    @wongsorc6918 2 года назад +1

    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 )

  • @hitanshipatidar2251
    @hitanshipatidar2251 3 года назад +1

    You are a life saver

  • @nayminkhant3198
    @nayminkhant3198 2 года назад

    I have a problem that ImportError: No module named dronekit. Please expalin me how can I solve?

  • @dennzii
    @dennzii Год назад

    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.

  • @noahorosw
    @noahorosw 6 лет назад +1

    Bad ass man , bad ass ...

  • @coolcolumbus
    @coolcolumbus 4 года назад

    Thank you so much

  • @rmworldnews5430
    @rmworldnews5430 Год назад

    Hello sir please do you have a discord channel?

  • @frederickbergen4262
    @frederickbergen4262 3 года назад

    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.

    • @frederickbergen4262
      @frederickbergen4262 3 года назад

      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)

    • @prandtlmayer
      @prandtlmayer  3 года назад

      This sounds like a question for the Ardupilot forum

  • @GeraMF
    @GeraMF 5 лет назад

    thank you, I tried contacting betaflight with raspberry pi, the problem is range test. how extend distance rasberry pi utp connection.

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      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

  • @atw98
    @atw98 6 лет назад

    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.

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      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

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      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

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      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

    • @atw98
      @atw98 6 лет назад

      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.

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      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

  • @pixelsafoison
    @pixelsafoison 4 года назад

    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

    • @prandtlmayer
      @prandtlmayer  4 года назад

      Try to implement that and post your results

  • @dinesh1286
    @dinesh1286 5 лет назад

    Have u made any tutorial for MATLAB px4 PSP. If so plz share it

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      sorry, I don't have a Matlab license at the moment

  • @urkicastro9461
    @urkicastro9461 5 лет назад +1

    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

    • @prandtlmayer
      @prandtlmayer  5 лет назад +1

      Yes, you just need a modem for that

    • @urkicastro9461
      @urkicastro9461 5 лет назад

      @@prandtlmayer thank you :)

    • @amiryousefi5374
      @amiryousefi5374 3 года назад

      @@urkicastro9461 did u do that ?

    • @urkicastro9461
      @urkicastro9461 3 года назад

      @@amiryousefi5374 no didnt prepare the proyet finally

  • @nurashams4093
    @nurashams4093 5 лет назад

    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

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      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

    • @nurashams4093
      @nurashams4093 5 лет назад

      @@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...

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      @@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

  • @Smuziik
    @Smuziik 5 лет назад

    Can you make a automatic drone for mass Carrier.

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      I don't think I understand

    • @AmateurInventor
      @AmateurInventor 5 лет назад

      I think he want to say how to make a big drone which can lift heavy weight for autonomous operation

  • @Smuziik
    @Smuziik 5 лет назад

    The concept will be the same only starting and stopping point will be known for the drone

  • @paolacasabona2655
    @paolacasabona2655 4 года назад

    Great!! :)

  • @rmworldnews5430
    @rmworldnews5430 10 месяцев назад

    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

  • @kevinrenpallado598
    @kevinrenpallado598 5 лет назад

    Hi mr. tiziano where can I privately message you I have some few questions to ask

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      I just renamed them

    • @kevinrenpallado598
      @kevinrenpallado598 5 лет назад

      @@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

    • @prandtlmayer
      @prandtlmayer  5 лет назад

      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.

    • @kevinrenpallado598
      @kevinrenpallado598 5 лет назад

      @@prandtlmayer so basically controlling plane from left to right and up and down is the same on how you control the copter right?

    • @kevinrenpallado598
      @kevinrenpallado598 5 лет назад

      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.

  • @ivanomonte4370
    @ivanomonte4370 6 лет назад

    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.

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      Alex Omonte Carreño post it here or on the dronekit forum

    • @ivanomonte4370
      @ivanomonte4370 6 лет назад

      Tiziano Fiorenzani I have already post in here and you didn't answer, then in dronekit also i don't have an answer

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      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

    • @ivanomonte4370
      @ivanomonte4370 6 лет назад

      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?

    • @prandtlmayer
      @prandtlmayer  6 лет назад

      What autopilot stack are you running? PX4 or ArduCopter?

  • @emmanuelsheshi1553
    @emmanuelsheshi1553 4 года назад

    U are good

  • @djmarck22
    @djmarck22 5 лет назад

    Hi Tiziano, can I contact with you by email?

  • @Smuziik
    @Smuziik 5 лет назад

    I will give you 100$