waterloo-rocketry / or-airbrake-plugin

Rocket airbrakes simulation using OpenRocket and Ansys CFD
1 stars 0 forks source link

Trajectory prediction #15

Closed JacobG1003 closed 4 weeks ago

JacobG1003 commented 1 month ago

Redid RK4 function to consider horizontal velocity (angle) of rocket. (Also the implementation before had some issues) Created forces class and get_forces function which sore and calculate force in X and Y directions

To test run in debug mode and put a breakpoint at the end of the get_max alt function or uncomment the print line in get_max alt (move it out of while loop), Then run the ORK simulation with the extension on PID mode with 0 on each parameter and compare the final apogee value with the predicted values


This change is Reviewable

patrick-gu commented 1 month ago

Feel free to merge when ready