Go to Post and don't overestimate the ability of an unskilled fool with exotic tools! - MissInformation [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 4.75 average. Display Modes
  #1   Spotlight this post!  
Unread 08-01-2012, 17:01
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: Ball Trajectory Planning

Hi all; thanks for all the feedback. I just got off with phone with Rhett Allain (http://www.wired.com/wiredscience/author/rhettallain/) - he is a physics professor and the friend-of-a-friend. He feels that the Magnus Effect can be effectively ignored in these foam basketballs because of their size, density, and low RPM of spin. Likewise, while air resistance will certainly be a measurable amount, it's exceptionally hard to calculate and also likely to be within the inconsistency of the machine itself in the best case scenario. This also means temperature, pressure, etc. can all be ignored.

Looks like you guys were right and I was wrong - no need to over-complicate it. This is good news for us though as the physics problem is now just one of projectile motion and nothing too nasty.

-Mike
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2012, 17:44
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
Re: Ball Trajectory Planning

Ive worked on finding a good formula to make a good curve but to no avail. I think im just going to make a chart when our launcher is working what maps out various distances and initial velocities/theta. This way you can just either create a curve in labview or just store the data on the crio to have the code refer to
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2012, 17:45
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Ball Trajectory Planning

Thats great news, I'm glad you went ahead and did a lot of research and posted it all here.

The information you are giving may be very vital to some of the games played this year!
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2012, 18:00
Rocketeeringer's Avatar
Rocketeeringer Rocketeeringer is offline
Registered User
FRC #0020 (The Rocketeers)
Team Role: Communications
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Clifton Park, NY
Posts: 18
Rocketeeringer is on a distinguished road
Re: Ball Trajectory Planning

I hear from some of my basketball friends that you want to aim for the square on the backboard, and that will guarantee you a basket.

Assuming you are shooting a basket straight on, could you just calculate the normal angle of the plane that would give you the most area between the uppermost point of the backboard and outward most point of the hoop that would give you the greatest chance of scoring?
Reply With Quote
  #5   Spotlight this post!  
Unread 08-01-2012, 18:01
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,935
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: Ball Trajectory Planning

I've been doing some basic physics on shooting the ball with near-optimal trajectory (still working on the equation for optimal trajectory) and have found that in some situations, essentially a full-field shot, ball initial velocities will need to exceed 10 m/s without accounting for air resistance (or spin, for that matter). As such speeds, wouldn't air resistance come into play?

Honestly, I'm doing this for fun without expecting accuracy, but I'd love to get as accurate as possible.

Ether, if you happen to be around, I'd love to get your input on this problem, since you know pretty much everything.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
Reply With Quote
  #6   Spotlight this post!  
Unread 09-01-2012, 20:24
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
Re: Ball Trajectory Planning

Quote:
Originally Posted by Basel A View Post
I've been doing some basic physics on shooting the ball with near-optimal trajectory (still working on the equation for optimal trajectory) and have found that in some situations, essentially a full-field shot, ball initial velocities will need to exceed 10 m/s without accounting for air resistance (or spin, for that matter). As such speeds, wouldn't air resistance come into play?

Honestly, I'm doing this for fun without expecting accuracy, but I'd love to get as accurate as possible.

Ether, if you happen to be around, I'd love to get your input on this problem, since you know pretty much everything.
Using the viscosity of the air, I'm able to estimate the resistive force on the sphere (since it is a sphere, it makes this calculation much simpler instead of using the drag calculations.. which is okay, but i just prefer this one).. at 10m/s you will encounter significant drag.

Here's an Octave/Matlab script that does the estimation (working with iterative solution... no calculus involvement yet.. which seemed rather difficult to do)

https://bitbucket.org/ultimatebuster...12/bbairdrag.m
Reply With Quote
  #7   Spotlight this post!  
Unread 10-01-2012, 13:04
Dan.Tyler Dan.Tyler is offline
Registered User
FRC #2449 (Out of Orbit)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2004
Location: Mesa, Arizona
Posts: 72
Dan.Tyler has a spectacular aura aboutDan.Tyler has a spectacular aura about
Wink Re: Ball Trajectory Planning

Quote:
Originally Posted by shuhao View Post
Using the viscosity of the air, I'm able to estimate the resistive force on the sphere (since it is a sphere, it makes this calculation much simpler instead of using the drag calculations.. which is okay, but i just prefer this one).. at 10m/s you will encounter significant drag.
But, it's NOT a sphere. The little bumps? They change the boundary layer behavior and aerodynamic effects.

This both increases the effective diameter of the ball and changes every other aerodynamic factor. The bumps will act to actually REDUCE overall drag by reducing pressure drag significantly; but it increases skin friction drag which increases the affect of most aerodynamic forces, including magnus effects. (same way that the little holes in a golf ball work... increase range, make it harder to remain accurate).

Just saying... if you want to be ultra accurate, you're forgetting some stuff.
And to anybody that thinks it won't end up coming down to testing and evaluation... well... good luck with that. Most of these simple equations are made with some extreme aerodynamic simplifications that will introduce an error of 10-25% in your calculations anyways.

Drag WILL be important. Magnus effect MIGHT be (depends on your launching mechanism). Being able to adjust your scaling factors (you should definitely have these) on the fly, mid-match, will probably be a nice thing to have.


I'd give you the math... but you either wouldn't understand it, or already know it.

Last edited by Dan.Tyler : 10-01-2012 at 13:06. Reason: Quote box mishap...
Reply With Quote
  #8   Spotlight this post!  
Unread 10-01-2012, 13:21
Tom I's Avatar
Tom I Tom I is offline
Slightly Crazy... slightly
AKA: Tom Indelicato
FRC #0811 (The Cardinals)
Team Role: Alumni
 
Join Date: Jul 2008
Rookie Year: 2005
Location: Nashua, NH
Posts: 171
Tom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to beholdTom I is a splendid one to behold
Re: Ball Trajectory Planning

I think the general agreement by most is that the math is VERY complex if you include all the contributing factors, but in reality it's not that important in the long run. I think teams should definitely put thought into the trajectory of their throwers, but anything beyond simple kinematic equations is going to be wasted effort. I think the quote from Ian Curtis put it best,
Quote:
Entire books have been written on drag, but FIRST robots tend to operate pretty well on the back of a napkin.
Rather than worry about every little detail that could potentially throw off a throw, people need to realize that this game, by it's nature, is going to be full of variables. Heck, the balls are going to get sliced up, no doubt, so that right there is going to throw off any calculations of drag. The best thing to do is to do basic calculations to get a good idea, then build a shooter that is consistent, and try to get as accurate as you can but accept the fact that there will always be percent error. The old expression goes "measure with a micrometer, mark with chalk, cut with an ax."
__________________
-Mentor-
-UMass Lowell '13-
-Former Team Lead-

Reply With Quote
  #9   Spotlight this post!  
Unread 10-01-2012, 13:24
Dan.Tyler Dan.Tyler is offline
Registered User
FRC #2449 (Out of Orbit)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2004
Location: Mesa, Arizona
Posts: 72
Dan.Tyler has a spectacular aura aboutDan.Tyler has a spectacular aura about
Re: Ball Trajectory Planning

Quote:
Originally Posted by Tom I View Post
I think the general agreement by most is that the math is VERY complex if you include all the contributing factors, but in reality it's not that important in the long run. I think teams should definitely put thought into the trajectory of their throwers, but anything beyond simple kinematic equations is going to be wasted effort. I think the quote from Ian Curtis put it best,

Rather than worry about every little detail that could potentially throw off a throw, people need to realize that this game, by it's nature, is going to be full of variables. Heck, the balls are going to get sliced up, no doubt, so that right there is going to throw off any calculations of drag. The best thing to do is to do basic calculations to get a good idea, then build a shooter that is consistent, and try to get as accurate as you can but accept the fact that there will always be percent error. The old expression goes "measure with a micrometer, mark with chalk, cut with an ax."
I'd have to fervently agree with the sentiment here.

But, some people still like to do the math. So I thought I'd hand over a few more tidbits of information like the word "boundary layer" to open a world to as much math as they could possibly want (and the realization that all the math in the world can't describe how air behaves)
Reply With Quote
  #10   Spotlight this post!  
Unread 10-01-2012, 13:33
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,578
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Ball Trajectory Planning

See this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=99485
Reply With Quote
  #11   Spotlight this post!  
Unread 10-01-2012, 21:40
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Ball Trajectory Planning

I cooked this program up a while ago... more like more than a year ago, and I'm not sure how it still works, but it does. Based entirely on the metric system, uses meters/kilograms/seconds/degrees/jouiles/etc std SI units.

I planned on making it able to work backwards using given variables but never got that far. Feel free to edit, compile and post. Executable in the zip, scource in the .c file.
Attached Files
File Type: c projectile.c (7.1 KB, 9 views)
File Type: zip Projectile_Motion_1~0.zip (7.1 KB, 12 views)
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
Reply With Quote
  #12   Spotlight this post!  
Unread 08-01-2012, 18:07
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: Ball Trajectory Planning

Quote:
Originally Posted by DjMaddius View Post
The information you are giving may be very vital to some of the games played this year!
Heh, thanks. I'm trying to get this whole cooperation thing though it goes against my extremely competitive nature
Reply With Quote
  #13   Spotlight this post!  
Unread 08-01-2012, 18:36
mathking's Avatar
mathking mathking is offline
Coach/Faculty Advisor
AKA: Greg King
FRC #1014 (Dublin Robotics aka "Bad Robots")
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 1999
Location: Columbus, OH
Posts: 639
mathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond repute
Re: Ball Trajectory Planning

Quote:
I hear from some of my basketball friends that you want to aim for the square on the backboard, and that will guarantee you a basket.
You don't want to aim for the square on the backboard in general in basketball if you are shooting from a distance from in front of the rim. You aim for the backboard (and banking the shot in) when you are in close to and below the basket, particularly from the side. For shots from more than a few feet basketball players are taught to aim for the hoop itself and not the backboard.
__________________
Thank you Bad Robots for giving me the chance to coach this team.
Rookie All-Star Award: 2003 Buckeye
Engineering Inspiration Award: 2004 Pittsburgh, 2014 Crossroads
Chairman's Award: 2005 Pittsburgh, 2009 Buckeye, 2012 Queen City
Team Spirit Award: 2007 Buckeye, 2015 Queen City
Woodie Flowers Award: 2009 Buckeye
Dean's List Finalists: Phil Aufdencamp (2010), Lindsey Fox (2011), Kyle Torrico (2011), Alix Bernier (2013), Deepthi Thumuluri (2015)
Gracious Professionalism Award: 2013 Buckeye
Innovation in Controls Award: 2015 Pittsburgh
Event Finalists: 2012 CORI, 2016 Buckeye
Reply With Quote
  #14   Spotlight this post!  
Unread 08-01-2012, 18:50
Rocketeeringer's Avatar
Rocketeeringer Rocketeeringer is offline
Registered User
FRC #0020 (The Rocketeers)
Team Role: Communications
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Clifton Park, NY
Posts: 18
Rocketeeringer is on a distinguished road
Re: Ball Trajectory Planning

Quote:
Originally Posted by mathking View Post
You don't want to aim for the square on the backboard in general in basketball if you are shooting from a distance from in front of the rim. You aim for the backboard (and banking the shot in) when you are in close to and below the basket, particularly from the side. For shots from more than a few feet basketball players are taught to aim for the hoop itself and not the backboard.
ooooh got it, thank you!
Reply With Quote
  #15   Spotlight this post!  
Unread 08-01-2012, 18:52
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Ball Trajectory Planning

http://hyperphysics.phy-astr.gsu.edu...traj.html#tra7

This should do work for you! Gives you everything you need to know. As long as you know the speed at which the ball is launched and the angle it will tell you how far it will launch. With some manipulations with the equation you can determine much other stuff also.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

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