Projectile mathematics
Estimate launch speed, angle, and flight time, then calibrate a real FTC launcher with measured shots.
Projectile maths gives you a starting point for a launcher: how fast the ball must leave, which angle might work, and how long the shot will take. Real balls also experience drag and spin, so use the model to narrow your experiments, then tune on the .
Measurements
Measure from the point where the ball leaves the launcher to the point its centre should pass through at the target.
| Symbol | Measurement |
|---|---|
| Horizontal distance to the target, in metres | |
| Target height minus release height, in metres | |
| Launch angle above horizontal, in radians | |
| Ball speed at release, in metres per second | |
| Time since release, in seconds |
The height difference can be negative. The distance is from the release point, so a launcher mounted away from the robot's centre needs that offset included.
For a tilted opening, choose the crossing point and check the whole ball's through the opening. A point on an AprilTag is not automatically the point you want to shoot through.
Speed and angle
First assume a stationary launcher, constant gravity, and no air resistance. Horizontal speed stays constant, while gravity changes the vertical speed:
Here is approximately . Setting and gives the speed needed at a chosen angle:
Use a forward launch angle between zero and 90 degrees. The denominator must be positive, and the result must be finite. An invalid result means that angle cannot reach the chosen point under this model; do not turn it into a shot by clamping the denominator.
Example
Suppose the horizontal distance is 2.4 m, the target is 0.7 m above release, and the launch angle is 50°. These are example measurements, not field .
The model gives about 5.63 m/s at release and 0.664 seconds of flight. The vertical speed at the target is:
This is about −2.20 m/s, so the ball is descending. That matters when scoring through an opening from above. Still check the approach angle, surrounding structure, and ball clearance; reaching one coordinate is only part of the shot.
A 45° launch gives the greatest range only for equal launch and landing heights in this ideal model. It is not a general rule for the best scoring angle.
Flight time
You can also choose a flight time and calculate the required velocity components:
Then calculate speed with and angle with . A shorter flight needs more horizontal speed; a longer flight generally needs a higher arc. Check both against what the launcher can produce and what the field allows.
Flight time is also needed for shooting on the move. Changing the aim without preserving the vertical path can make a moving shot miss high or low.
Flywheel speed
A wheel of diameter metres turning at has rim speed:
That is the speed of the wheel surface. Ball exit speed also depends on compression, slip, hood contact, and the arrangement of the wheels. Do not convert the calculated ball speed straight into RPM and assume the launcher is calibrated.
Check which the measures and include its gear ratio. Keep motor RPM, wheel RPM, and ball speed as separate quantities in the code.
Calibration
Keep the launcher height and ball type fixed while building a table. For each distance, find a repeatable RPM and hood setting, then record:
| Record | What to note |
|---|---|
| Distance | Measure from the release point |
| Wheel RPM | Requested and measured speed |
| Hood setting | Angle or calibrated position |
| Flight time | Release to the target |
| Hits and attempts | Count every attempt |
| Spread | Note the miss direction and variation |
Slow-motion video can help measure flight time. Start when the ball separates from the launcher, not when the feeder starts. The quotient is the average horizontal speed over the flight; with drag, it is not the instantaneous exit speed.
Interpolate between tested distances. Outside that range, stop and collect more data rather than silently reusing the nearest setting. Log speed recovery between consecutive shots so a slow second ball does not get mistaken for a distance error.
For BIOBUZZ, calibrate POLLEN and NECTAR separately. Their different sizes can change launcher contact and flight. Repeat the relevant tests when the HIVE's opening changes position or orientation.