Hi I have a competition in one month. I have the quad but I need to make the quad fly above a field and fly to different orange buckets(unknown position). I have looked at the red balloon project already but need more help. I am using a raspberry pi, pixhawk, and noir camera. I want the drone to fly a set path and then when it sees an orange bucket it centers itself over it for 5 seconds and then continues back onto its set path. How can I control it so that when it sees the orange bucket the raspberry pi tells it to go forwards or right or left until it is centered over it. I am new to this so please link me to anything or explain(video would be really helpful). I have already gotten the camera to identify colors and blobs I just need to figure out how to tell the pixhawk to center itself over the blob. Thanks!

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

Join diydrones

Email me when people reply –

Replies

  • Hey sevyon! Unfortunately I ended this project without being able to get it. I believe that the pi 3 is not compatible with the pixhawk. I checked about 2 months ago and the only listed pi companion computer was the pi 2. Perhaps you could try that. For the project we got as far as identifying colors but flying towards it was our problem since we couldn't establish a mavlink connection between the pixhawk and pi 3. We use open cv for the color tracking and I believe there should be several github projects you can use. Best of luck on your project!
  • Hi ! i am doing a project similar to your's !

    i am interested to know if you are able to achieve it with raspberry pi with opencv.

  • What do you mean by directories?
  • Ok, so where would I put all these files? Do they go on the raspberry pi. Thanks you have been so much help.
  • Thank you so much! I am not used to github so I thought what was listed on the first page of the github was all. Is the ball on strategy script the onethat controls the movement (like reading frames so when the blob is in the frame accelerate). Once again thanks!
  • Am I missing a part of Randy's code because it looks like they only have the color recognition. I have gotten that using open CV.what I need is code to figure out how to make the drone fly towards the red blob until it is centered above it. If he does include that could you please tell me which github file to download because it seems like there is only code for color recognition. Also could you please explain position vectors? Thank you!
  • what would be an example code for simple telling the drone to move 3 feet forward. Also is there some functions like set_target that would attatch an anchor to a red blob and tell the drone to keep moving until it was centered, if so could you pleasae include and example thanks!

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…