Software experiments for solving engineering problems of the future
ryan@freestatelabs.com
Github
Twitter
Projects:
rockets
├─
Introduction
├─
Physics
├─
LQR Controller
├─
Simulation
├─
Results
├─
References & Future Work
rockets
« Back: LQR Controller | Next:Results »
The simulation was developed using Julia and is dependent on the following packages:
All may be imported via the using Pkg; Pkg.add(PACKAGE_NAME)
command in the REPL.
The source code is not yet publicly available.
The program is organized into three modules:
Physics
: contains data structures and functions to compute the motion of the rocketLQR
: contains data structures and functions to compute the control strategy of the rocketVis
: contains data structures and functions for plotting and visualization of the flightThe program is designed to be run via test scripts. Each test script:
run_3dof()
that executes the simulation and produces results dataplot_3dof_sol()
and creates an animation via animate_scene()
DifferentialEquations.jl
- therefore, the control strategy is discrete, but the simulation itself is “piecewise-continuous”Shape
objects in Plots.jl
; this is a similar approach to creating animations in MATLAB in that the library was not necessarily designed for this