Go to Post Achieving a goal by merely finishing, or reaching mediocrity is not acceptable; Excellence is the only satisfactory result. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2012, 18:02
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Trajectory Calculator (W/ Drag)

Quote:
Originally Posted by JesseGR View Post
applied a few physics formulas to a Java application and made a calculator that can accurately determine the path of an object when fired at an angle and a velocity
How do you know it is accurate? i.e. what test data did you use to validate your model?

  #2   Spotlight this post!  
Unread 23-01-2012, 18:07
SenorZ's Avatar
SenorZ SenorZ is offline
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 929
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Trajectory Calculator (W/ Drag)

I can't seem to run this on my computer. Cannot find main class...?

Either way those curves don't look like there is any drag. Did you physically measure the air drag coefficient?
  #3   Spotlight this post!  
Unread 23-01-2012, 22:18
Lalaland1125 Lalaland1125 is offline
Registered User
AKA: Ethan Steinberg
FRC #2429
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: La Canada
Posts: 29
Lalaland1125 is an unknown quantity at this point
Re: Trajectory Calculator (W/ Drag)

Our team started working on the same idea(manually integrate the drag + projectile formulas to calculate the projectile path)(http://ideone.com/aoChY, but we haven't quite gotten it to the level of completeness you did.


This is going to require a lot of testing to get the constants right though(and to see if it is accurate at all).

(Also, no offense, but I would heavily suggest for you to refactor your code. All of those functions with repeated code and the whole "god" class is going to make things hard to modify and debug later on)

Last edited by Lalaland1125 : 23-01-2012 at 22:36.
  #4   Spotlight this post!  
Unread 23-01-2012, 23:41
robokiller robokiller is offline
Registered User
AKA: Jaxon Weis
FRC #2757 (B.A.D.)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Florida
Posts: 29
robokiller is an unknown quantity at this point
Re: Trajectory Calculator (W/ Drag)

I really want to play with a couple of these programs but yours is not working on my computer
"could not find main class: Main program will exit"
__________________
-- Jaxon Weis
  #5   Spotlight this post!  
Unread 23-01-2012, 18:12
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: Trajectory Calculator (W/ Drag)

Quote:
Originally Posted by Ether View Post
How do you know it is accurate? i.e. what test data did you use to validate your model?

Check it against mine?

I also wrote something about 2 weeks back. This one is in GNU Octave/Matlab

https://github.com/FRCTeam4069/Simul...sketball_sim.m
  #6   Spotlight this post!  
Unread 25-01-2012, 22:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Trajectory Calculator (W/ Drag)

Quote:
Originally Posted by shuhao View Post
Check it against mine? I also wrote something about 2 weeks back.
what test data did you use to validate your model?

  #7   Spotlight this post!  
Unread 25-01-2012, 22:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Trajectory Calculator (W/ Drag)

Quote:
Originally Posted by shuhao View Post
Check it against mine?

I also wrote something about 2 weeks back. This one is in GNU Octave/Matlab
Comparing a model to a model doesn't prove that either is correct. It only proves that they included similar factors, not that they included the correct factors (and factored them in correctly). The only way to validate a model is to compare it to actual test data.
Closed Thread


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 23:23.

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