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

Hiroki Tanaka liked Hiroki Tanaka's profile
Oct 13
DIY Drones via Twitter
RT @chr1sa: The US government just approved 5 US-made drones for purchase, all based on the @Dronecode @PX4Autopilot standard. Great news f…
Aug 20
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3
DIY Drones via Twitter
RT @davsca1: Here is the video of the performance. This paper was a huge group effort and more than one year of work, where we combined and…
Jul 16
DIY Drones via Twitter
RT @chr1sa: My talk on PX4 and FAA certification is coming up at 1:45 PST today on the PX4 Dev Summit livestream. Includes some cool new st…
Jul 7
DIY Drones via Twitter
RT @seesharp: I'm tuned into the PX4 / Dronecode free live conference. Great stuff. Microsoft AirSim talk in 10 minutes. https://t.co/0zbZ2…
Jul 6
DIY Drones via Twitter
RT @chr1sa: Here's today's best times in the @DIYRobocars/@donkey_car virtual race of AI cars compared to last month's race on the same tra…
Jun 20
DIY Drones via Twitter
Jun 19
DIY Drones via Twitter
The difference between proper RC cars and toys (when you’re turning them into robots) https://ift.tt/2MUTvxd
Jun 14
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…
Jun 5
DIY Drones via Twitter
Review of the new Nivida Jetson NX for robocars https://ift.tt/36TrS0G
Jun 2
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…
May 31
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://twitter.com/i/web/status/1265714415137153024
May 27
DIY Drones via Twitter
New! Online Training on Drones for Disaster Response https://ift.tt/3ehdHoT
May 26
More…