Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Automatic catcher? (http://www.chiefdelphi.com/forums/showthread.php?t=126912)

safiq10 20-02-2014 00:48

Automatic catcher?
 
Now Catching I believe is going to be a huge thing! (especially if you are a defensive/ support robot.... Like us) So my team was discussing if automatic catching would be possible. We thought that maybe you would use your camera to track the ball but that is as far as we got. We were wondering how it would be done and coded?

Chowmaster4695 20-02-2014 01:14

Re: Automatic catcher?
 
We use 8 limit switches on our 4 panel wings. When the ball hits the switch it automatically clamps down on it with over 300 lbs of clamping force. If you look at the 604 reveal video its very similar but better due to the autonomous action.

Nick.kremer 20-02-2014 01:16

Re: Automatic catcher?
 
Quote:

Originally Posted by Chowmaster4695 (Post 1346691)
We use 8 limit switches on our 4 panel wings. When the ball hits the switch it automatically clamps down on it with over 300 lbs of clamping force.

We also used a limit switch on our bot to clamp down on the ball after a catch.

Canon reeves 20-02-2014 09:10

Re: Automatic catcher?
 
We just go off of operator reflex!

Wayne TenBrink 20-02-2014 12:48

Re: Automatic catcher?
 
We just made the "wings" as non-rigid & energy absorbing as possible so the ball doesn't bounce out. Beyond that, its up to the driver teams to the transfer.

faust1706 20-02-2014 13:41

Re: Automatic catcher?
 
Quote:

Originally Posted by safiq10 (Post 1346682)
Now Catching I believe is going to be a huge thing! (especially if you are a defensive/ support robot.... Like us) So my team was discussing if automatic catching would be possible. We thought that maybe you would use your camera to track the ball but that is as far as we got. We were wondering how it would be done and coded?

Tracking a ball is a feat on its own than not many teams get around to doing, yet alone calculating its trajectory and autonomously moving to where it is going to land. It involves some serious geometry if your camera is not perpendicular to the ground. You also have to account for the delay. Can you write an efficient enough program that will give an accurate solution in time? It is a very complex problem, but a lot of fun to solve.

I would simply go off driver reflex, and I'm the vision programmer on the team.

Chris is me 20-02-2014 13:47

Re: Automatic catcher?
 
Obviously tracking the trajectory of the ball is insanely difficult in the FRC constraints, but I think you'll see plenty of catching mechanisms automatically actuate when a ball gets near enough. We're attempting to use an IR range finder for this.

JamesCH95 20-02-2014 13:55

Re: Automatic catcher?
 
Quote:

Originally Posted by safiq10 (Post 1346682)
Now Catching I believe is going to be a huge thing! (especially if you are a defensive/ support robot.... Like us) So my team was discussing if automatic catching would be possible. We thought that maybe you would use your camera to track the ball but that is as far as we got. We were wondering how it would be done and coded?

It is. We have done it.

This sensor (we're using two of them right now): https://www.sparkfun.com/products/8504

The sensor outputs an analog signal. To calibrate it we held the ball where we wanted our trigger point to be and recorded that value. The driver holds down a button on the control interface to open our catching mechanisms and when the sensor sees something that crosses the trigger point value the catcher snaps shut.

We added all of the hardware and code in the last two days of build, it's really simple and straight-forward.

Until then we were getting good results with driver reflexes, but wanted to automate it to remove some burden from the driver.

minhnhatbui 20-02-2014 14:08

Re: Automatic catcher?
 
Quote:

Originally Posted by JamesCH95 (Post 1346930)
It is. We have done it.

This sensor (we're using two of them right now): https://www.sparkfun.com/products/8504

The sensor outputs an analog signal. To calibrate it we held the ball where we wanted our trigger point to be and recorded that value. The driver holds down a button on the control interface to open our catching mechanisms and when the sensor sees something that crosses the trigger point value the catcher snaps shut.

We added all of the hardware and code in the last two days of build, it's really simple and straight-forward.

Until then we were getting good results with driver reflexes, but wanted to automate it to remove some burden from the driver.

This is what we are currently trying to look into since it eases the burden on the drivers. It does not however eliminate the need to position the robot correctly, and since we are relying on the drivers' instincts, this will take a lot of practice.

Tracking a ball will be a tough feat, especially with no reflective tape on the balls themselves and considering the lighting that comes from the roof. IMO, it would be better to spend this amount of energy and time elsewhere.

Joe Ross 20-02-2014 16:54

Re: Automatic catcher?
 
Quote:

Originally Posted by JamesCH95 (Post 1346930)
This sensor (we're using two of them right now): https://www.sparkfun.com/products/8504

Hopefully you used your maxbotix voucher to buy one of them.

Pault 20-02-2014 18:32

Re: Automatic catcher?
 
Quote:

Originally Posted by faust1706 (Post 1346920)
Tracking a ball is a feat on its own than not many teams get around to doing, yet alone calculating its trajectory and autonomously moving to where it is going to land. It involves some serious geometry if your camera is not perpendicular to the ground. You also have to account for the delay. Can you write an efficient enough program that will give an accurate solution in time? It is a very complex problem, but a lot of fun to solve.

I would simply go off driver reflex, and I'm the vision programmer on the team.

It's probably still a waste of time, but I can think of an easier way to do this. It requires a omnidirectional drivetrain. Basically you use PID. For left to right, it is simply using PID to try and center the ball on your camera's x-axis. Forwards and backwards is a bit more difficult. I would probably use some sort of function which combines the current size and height of the ball, and feed that into PID. It seems like with some tuning you could get it to work.

Amit3339 25-02-2014 06:11

Re: Automatic catcher?
 
Our Programming team made something huge. they tracked the ball with the camera and using Gyro drove to the ball(you can know when you're really close when the radius of the ball is pretty high-can be read from the dashboard) and then we just catch the ball.

Canon reeves 25-02-2014 07:17

Re: Automatic catcher?
 
Is it able to tell the difference from the opponents ball? Thats really cool though!

JamesCH95 25-02-2014 08:34

Re: Automatic catcher?
 
Quote:

Originally Posted by Amit3339 (Post 1349348)
Our Programming team made something huge. they tracked the ball with the camera and using Gyro drove to the ball(you can know when you're really close when the radius of the ball is pretty high-can be read from the dashboard) and then we just catch the ball.

Video or ban! :D

EricS-Team180 25-02-2014 09:38

Re: Automatic catcher?
 
Quote:

Originally Posted by JamesCH95 (Post 1346930)
It is. We have done it.

This sensor (we're using two of them right now): https://www.sparkfun.com/products/8504

We are currently using one LV-EZ4, looking up at a shallow angle, from the base of our catapult. It "works", but the threshold of where we want to trigger our grabber and hands is varying too much. ...say from an analog threshold of ~9 to ~30. The result is that we sometimes miss the auto-catch, and the operator has to recover manually. That doesn't sound like a big deal, but time is precious. For now, we've decided that the ultrasonic - mounted as we chose - is not as reliable as we want it to be. Unless we calibrate before each match, or understand the drift, we'll likely swap it out with an optical sensor at our first regional in Orlando.

@JamesCH95: have you seen your threshold move around like that?

@JoeRoss: you bet we used that voucher :)
Thanks,
Eric

Brian_R 25-02-2014 10:16

Re: Automatic catcher?
 
We have an automatic catch function using the same matixbot ultrasound rangefinder (may be a different model, but certainly the same brand and packaging). One of our students got it running on an ardunio - the threshold "catch" distance is set with a potentiometer, and the cRIO is sent a boolean digital signal (basically, "Catch" or "Don't Catch").

LEDs hooked into the arduino let us see where the catch threshold is, so we can make tweaks by powering on, messing with the potentiometer and waving a ball around in the pit. No Arduino code changes, no cRIO code changes.

The issue we've found with the autocatch is the timing very much depends on the speed of the ball - a lobbed ball from the human player needs to trigger the catch late (short range) so it doesn't snap shut before the ball is contained, but a shot with a lot of velocity (over the truss) needs to trigger earlier so the catch is in motion when the ball gets deeper into our robot. We're messing around trying to find a sweet spot, but we might have to tune for one and operate the other manually. We could add a second digital out for a second threshold, as well - have a "catch" and a "human load" threshold distance.

Our robot release video has some demos of this - I think many (most?) of these were automatic catches.

JamesCH95 25-02-2014 10:21

Re: Automatic catcher?
 
Quote:

Originally Posted by EricS-Team180 (Post 1349407)
We are currently using one LV-EZ4, looking up at a shallow angle, from the base of our catapult. It "works", but the threshold of where we want to trigger our grabber and hands is varying too much. ...say from an analog threshold of ~9 to ~30. The result is that we sometimes miss the auto-catch, and the operator has to recover manually. That doesn't sound like a big deal, but time is precious. For now, we've decided that the ultrasonic - mounted as we chose - is not as reliable as we want it to be. Unless we calibrate before each match, or understand the drift, we'll likely swap it out with an optical sensor at our first regional in Orlando.

@JamesCH95: have you seen your threshold move around like that?

@JoeRoss: you bet we used that voucher :)
Thanks,
Eric

In a word: no. We have them aimed near-vertical and they trigger very reliably as the ball drops into our catcher. It sounds like you have a geometry issue as much as anything else... from what you describe it seems like you're trying to bounce sound off of the ball nearly tangent to its surface.

EricS-Team180 25-02-2014 11:36

Re: Automatic catcher?
 
Quote:

Originally Posted by JamesCH95 (Post 1349430)
We have them aimed near-vertical and they trigger very reliably as the ball drops into our catcher. It sounds like you have a geometry issue as much as anything else... from what you describe it seems like you're trying to bounce sound off of the ball nearly tangent to its surface.

...hmmmmm Good point. Depending on the ball's entrance, the geometry could be working out to be close to tangential. That's something to take a closer look at.

Thanks
Eric


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

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