Object Avoidance Pixhawk Quadcopter

I'm not looking for answers I'm looking for guidance. I'm doing a University quadcopter project, and I purchased a pixhawk for autonomous flight mode and I will be using mission planner. I'm going to use 5 ultrasonic sensors placed on the drone, that will ultimately, connect to a beaglebone black. I was thinking of writing a python script for the sensors but I'm slightly confused and don't know where to begin.

How do I interrupt the way point mission planner to run my script once the quad copter is too close to an object? I'm not exactly sure how this works.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • We wrote a searching pattern algorithm that the drone would travel, while a separate raspberry pi like board was doing image processing to look for characteristics of a flame. Once it found a flame it would send an interrupt to the flight controller and release a chemical to drop on the fire. The payload was carried by a custom designed box with a solenoid controlled release door.
  • Thanks for your reply. And what were you able to do at the end of the project with your drone? 

    Adam Kutchak said:

    BOM.xlsx.pdf

    That is just about everything except we didn't use a flir Tau camera, we used some hd webcam

    Object Avoidance Pixhawk Quadcopter
    I'm not looking for answers I'm looking for guidance. I'm doing a University quadcopter project, and I purchased a pixhawk for autonomous flight mode…
  • BOM.xlsx.pdf

    That is just about everything except we didn't use a flir Tau camera, we used some hd webcam

  • What was your architecture? What kind of drone did you use? Which camera and which onboard computer? 

    Thanks a lot for your time



    Adam Kutchak said:

    We had a camera attached and it search for a fire and drop a chemical fire suppressant (baking soda) on the fire
    Object Avoidance Pixhawk Quadcopter
    I'm not looking for answers I'm looking for guidance. I'm doing a University quadcopter project, and I purchased a pixhawk for autonomous flight mode…
  • We had a camera attached and it search for a fire and drop a chemical fire suppressant (baking soda) on the fire
  • Can I ask what you did achieve? Im trying to do something similar and any help you could give would be great

  • Unfortunately it didn't, the object avoidance was a stretch goal that we didn't have time for
  • Did this ever get completed? 

  • 3D Robotics

    Use DroneKit for that, with an onboard companion computer (RaspberryPi works great).  It's uses Python based. You can get the Ultrasonic sensor states with this the VehicleState function. 

    • So I will write the entire mission planning script with this? Or is there a way to interrupt the mission planner, make it move away from an object, then return to the mission planner? I apologize I don't know much about drones, my group decided they wanted to do a drone project.

This reply was deleted.

Activity

DIY Drones via Twitter
RT @Struktur3D: We have just posted on @DIYDrones for the first time in a long time. Continuing with our search for a #lasercutting service…
6 hours ago
DIY Robocars via Twitter
RT @chr1sa: The dev team is having fun with virtual @DIYRobocars track generation with Unity on the @donkey_car discord: https://t.co/l0Jd9…
Wednesday
DIY Drones via Twitter
Review of the new Nivida Jetson NX for robocars https://t.co/bWjd3sH2o4
Tuesday
DIY Robocars via Twitter
RT @chr1sa: My review of the new @NVIDIAEmbedded Jetson Xavier NX in robotics and @DIYRobocars applications https://t.co/O7TfJZhiF9 https:/…
Monday
DIY Drones via Twitter
RT @chr1sa: Somehow I missed this, but last week @Nvidia released a new version of its Isaac robot development framework. Lots of new Lidar…
Monday
DIY Robocars via Twitter
RT @Smartphone89: DonkeyCar Racing League Korea #donkeycar @diyrobocars https://t.co/mDlHDR1d98
May 29
Jørn Ramnæs liked VIDEO LINK's profile
May 28
Mark Harrison left a comment on Moderators
"Wow, Ning2 looks really great on mobile. I had sort of drifted away as my browse-time went more on my phone, so this is great."
May 28
Hank Deucker left a comment on PIXHAWK
"I am sure most will say not again, Pixhawk telemetry. I do need help and all can be reassured that I have spent many hours scouring the net for useful information. I am not new at quadcopter flying, I started in 2012 and have progressed through many…"
May 28
DIY Robocars via Twitter
https://t.co/rLmFr8M2UK
May 28
DIY Drones via Twitter
Welcome to the new DIY Drones design!. You may have noticed that DIY Drones looks a little different today. That's… https://t.co/cg2EmeDGMQ
May 27
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://t.co/brqRuujjY2
May 26
DIY Robocars via Twitter
https://t.co/8EMCvYW6oz
May 25
DIY Robocars via Twitter
RT @OttawaAVGroup: We are going to try something new this week. We will be having a drop-in style meeting Wednesday @ 7-9pm EST. Pop in and…
May 25
DIY Robocars via Twitter
RT @tawnkramer: Thanks Everyone for another fun virtual race! Amazing Ai racers competing head-to-head, Virtual Makers Fair event. Catch us…
May 23
DIY Robocars via Twitter
RT @make: Find out the latest from @diyrobocars at 10am PT from @chr1sa of @3DRobotics on Virtually Make Faire! #makerfaire #maketogether #…
May 23
More…