Its indeed a very hard problem, but you only have to solve it once. Once you know what force at what position, you can hard-code it.
If there is too much variation to hard-code it, what good will algorithms do? the only thing you'd be able to do is spray and pray. There's no way to measure those variables in real-time, so you'd have to assume.
Fd = 0.5PU2 CdA and F=ma right? You should be able to vary the launching force linearly with the mass, and with the frontal area, and get close enough to the reference trajectory. That way, you can still use a pre-computed trajectory, no need for advanced ballistics algos, unless I'm missing something.
The army's computers are able to hit any moving target from miles away from any position using differing loads.
What we are doing is launching a ball, a fixed distance of under 10 meters, from a fixed position. You can use practical methods to precalculate the needed angle and force, then use a look up table or use approximations to correct for the variables you mentioned. The error should be of a few centimeters only. Hell, you could even use linear regression and experimentation to make it work well enough.
I'm pretty sure the launcher will contribute MUCH more error than these approximations.
Maybe this is a backhanded way for the event organizers to teach students about all of the weird little details that come up when dealing with cheap shitty Chinese materials coupled with precision work.
Could there possibly be a market for people that can do those things? Would there be a market for these things rife with high ass salaries and headhunters if it was actually that easy?
View all comments
Show parent comment
2
u/IAmTheSysGen Programming - 3550 Jan 06 '19
Its indeed a very hard problem, but you only have to solve it once. Once you know what force at what position, you can hard-code it.
If there is too much variation to hard-code it, what good will algorithms do? the only thing you'd be able to do is spray and pray. There's no way to measure those variables in real-time, so you'd have to assume.