https://github.com/2columbiformes/rocket-matlab-plots
Plots rocket trajectory with quaternions and 6DOF, no roll control
https://github.com/2columbiformes/rocket-matlab-plots
euler-equations hamiltonian-systems matlab-script quaternion rigid-body rigid-body-dynamics rocket thrust-vector-control
Last synced: 3 months ago
JSON representation
Plots rocket trajectory with quaternions and 6DOF, no roll control
- Host: GitHub
- URL: https://github.com/2columbiformes/rocket-matlab-plots
- Owner: 2Columbiformes
- License: mit
- Created: 2024-12-15T20:38:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T21:00:50.000Z (10 months ago)
- Last Synced: 2025-04-03T03:29:00.082Z (6 months ago)
- Topics: euler-equations, hamiltonian-systems, matlab-script, quaternion, rigid-body, rigid-body-dynamics, rocket, thrust-vector-control
- Language: MATLAB
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Attached are two matlab files for plotting and crudely animating rocket evolving 6DOF attitude and position values.
This uses quaternions, the quaternion evolution equation, euler's rigid body equations, and Newton's second law.
Pcon in the files is the hamiltonian conjugate momenta of the quaternions, but they are not actively used.The number of letters in the variables for the vectors describe how many components are in them, Quat has 4, Ang has 3 (angular velocity),
Anm has 3 (angular momentum), Angv has 4 (angular velocity with 0 as first component), Pcon has 4.Inertia matrix should be symmetric, otherwise, bad things may happen. (it's always symmetric in real life for reasons)