Simple ballistic scenario simulation CLI tool, outputs matplotlib plots with simulated trajectory and discrete solutions. Includes modular solvers and drag models with vacuum being available while linear or other models will be added in the future.
Examples:
# Artillery example
python -m ballistics_lab.main --x0 0 --y0 0 --speed 400 --angle 30
# UAV Payload example
python -m ballistics_lab.main --x0 0 --y0 100 --speed 18 --angle 0CLI Args:
- launch parameters
--x0Initial horizontal position (meters) default:0.0--y0Initial vertical position (meters) default:0.0--speed(required) Launch speed (m/s)--angleLaunch angle (degrees) if omitted solver will compute it when targeting--gravityGravity acceleration (m/s^2) default:9.81
- targeting (optional)
--target-xTarget horizontal position (meters)--target-yTarget vertical position (meters) default:0.0--arcWhich solution to use when 2 existlow-> flatter, fasterhigh-> steeper, longer default:low
- simulation control
--tmaxMax simulation time (seconds) default:120.0--dtTime step (seconds) default:0.001

