https://github.com/elucidation/thrustvectorcontrol
Simulating a 2D Hovering SpaceX Grasshopper with a Thrust Vector Control) engine.
https://github.com/elucidation/thrustvectorcontrol
Last synced: about 1 year ago
JSON representation
Simulating a 2D Hovering SpaceX Grasshopper with a Thrust Vector Control) engine.
- Host: GitHub
- URL: https://github.com/elucidation/thrustvectorcontrol
- Owner: Elucidation
- Created: 2013-08-31T19:39:09.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T07:08:07.000Z (over 10 years ago)
- Last Synced: 2025-03-31T12:57:25.554Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 10
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
2D Hovering Rocket with TVC (Thrust Vector Control) engine.
---

The system is controlled by 3 PD controllers.
The first controls throttle based on altitude.
The second controls TVC angle based on orientation.
The third modifies TVC angle based on lateral drift.
The rocket is modelled as a simple 5.5x33m box massing 10 tons, with a maximum thrust of 500 kN.
A blue line shows the force in the normal direction.
Thrust is shown as a red line, which is in the direction dictated by the TVC controllers.

Pressing 'i' for info returns PID values:
```
PID Values:
lateral drift : PID(1.5,0,5.25)
altitude : PID(0.3,0,0.67)
attitude : PID(0.4,0,0.2)
```