Go to Post Without compromise, engineering would be boring. - Mike Betts [more]
Home
Go Back   Chief Delphi > CD-Media > Photos
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

photos

papers

everything



Vision Aim Ping Pong Ball Robot

Bpk9p4

By: Bpk9p4
New: 05-10-2016 20:45
Updated: 06-10-2016 11:33
Views: 1182 times


Vision Aim Ping Pong Ball Robot

Over the weekend we created a ping pong ball shooter for are Argobot and added vision aiming to it. We got amazing results and had to share it with Chief Delphi. You can see a video of the robot auto aiming and hitting 2 targets in 4 seconds https://www.youtube.com/watch?v=2pQD2WqQjCM

We are planning on making another one and making some game out of it. Any ideas on a game?

Recent Viewers

Discussion

view entire thread

Reply

06-10-2016 11:41

billbo911


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Nicely done!
So, which of the plethora of controllers available these days did you build this with?



06-10-2016 11:54

hionwind


Unread Re: pic: Vision Aim Ping Pong Ball Robot

How about Ping Pong?



06-10-2016 12:00

EDesbiens


Unread Re: pic: Vision Aim Ping Pong Ball Robot

How about making other robots like these and making a dodgeball game? If you find a way to detect when you are hit, it could be fun to see a competition among autonomous robots with different strategies...



06-10-2016 12:50

cad321


Unread Re: pic: Vision Aim Ping Pong Ball Robot

I'd love to see a close up of the shooting mechanism. Also is that a pixy cam I see being used for vision?



06-10-2016 13:11

Bpk9p4


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Quote:
Originally Posted by billbo911 View Post
Nicely done!
So, which of the plethora of controllers available these days did you build this with?
This is running off a chipkit wf32 board and programmed in full Labview. The base robot is from here http://www.playingwithfusion.com/pro...=65&catid=1009


I really like the idea of battles with other bots. It runs remote control with xbox controllers so we could setup match between people also. For the detection device we could have some catch on top like a Frisbee golf goal or something that you hit. I am not sure what would be good for a sensor to detect a target getting hit though. Any ideas.

The ping pong game would be fun but really hard but we might be able to do a Pong game where one robot shoots the ball and the other has to block the ball. That would get really interesting


Once i get home i can post some more detailed picture of the shooter. It is very simple and built from things just around the house. Good eye on the pixy camera. We are using that for vision. I am not to happy with it though it keeps loosing its configuration.



06-10-2016 14:51

thatprogrammer


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Nice robot with a solid visioning system!
What do you mean by the pixy losing its configuration? I have used a pixy for several months without every needing to "remind' it of what settings I had set it up with in pixymon.



06-10-2016 14:57

Bpk9p4


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Quote:
Originally Posted by thatprogrammer View Post
Nice robot with a solid visioning system!
What do you mean by the pixy losing its configuration? I have used a pixy for several months without every needing to "remind' it of what settings I had set it up with in pixymon.
Thanks it was a lot of fun to make. Can not wait tell we have two going and we can play some type of game.

For the Pixy cam i will set the vision settings on my Laptop and run the robot for a little bit. When i turn the robot off and come back it will have lost the config about 50% of the time. I am not sure if i am doing something wrong or maybe browning out because i use to never have this problem.

What do you use your pixy cam for?



06-10-2016 15:11

gblake


Unread Re: pic: Vision Aim Ping Pong Ball Robot

For scorekeeping,

Detecting when an IR beam is blocked by a ball that falls into a funnel and then into a "detection pit" should be pretty easy (As easy as anything is in these situations).

To account for changing ambient light, instead of looking for a single pair of blocked/unblocked values, you could turn the IR transmitter on/off frequently, and keep track of the changes in received signals (when they stop changing, the beam is blocked (or the receiver is saturated)).

Blake



06-10-2016 15:31

dirtbikerxz


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Can I get the code for the arduino please. I to am using a pixy on an arduino, but my vision tracking is really twitchy.



06-10-2016 15:44

Bpk9p4


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Quote:
Originally Posted by dirtbikerxz View Post
Can I get the code for the arduino please. I to am using a pixy on an arduino, but my vision tracking is really twitchy.
All my code is written in labview but i can post some screen shots once i get home. Basically i am just using a PD controller. i am using the P to get the robot to the position and the D to reduce overshoot / osculations.

Are you using motors or servo to turn your robot. Also what are you doing in your code to turn the robot



07-10-2016 21:39

Bpk9p4


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Quote:
Originally Posted by cad321 View Post
I'd love to see a close up of the shooting mechanism. Also is that a pixy cam I see being used for vision?
Here is a picture of the ping pong shooter. It is very simple just a servo and dc motor with a direct drive wheel. https://www.chiefdelphi.com/media/photos/43977?


Quote:
Originally Posted by dirtbikerxz View Post
Can I get the code for the arduino please. I to am using a pixy on an arduino, but my vision tracking is really twitchy.
You can see a screen shot of a code here http://imgur.com/a/BO1qq



19-10-2016 08:27

pryland


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Quote:
Originally Posted by Bpk9p4 View Post
Here is a picture of the ping pong shooter. It is very simple just a servo and dc motor with a direct drive wheel. https://www.chiefdelphi.com/media/photos/43977?




You can see a screen shot of a code here http://imgur.com/a/BO1qq
Broken image link



19-10-2016 09:09

Bpk9p4


Unread Re: pic: Vision Aim Ping Pong Ball Robot

Quote:
Originally Posted by pryland View Post
Broken image link
i just tried the link and it seems to work for me. If you want me to send the image to you directly send me a private message and i can do that



view entire thread

Reply
previous
next

Tags

loading ...



All times are GMT -5. The time now is 13:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi