hoverSlamModel
HoverSlamModel makes calculations and holds data related to performing the final burn. It calculates throttle levels and when the engines should fire with equations of motion.
Table of contents:
Contructing
parameters | type | default | Description |
---|---|---|---|
bias | float | - | how high is your rocket, advised to overshoot this value a little |
maxTwr* | float | -1 | maximum TWR during final burn, if it’s less than 0, hoverSlamModel will automatically calculate maximal possible TWR |
* optional parameters
Public methods
public methods | return type | Description |
---|---|---|
getThrottle() | float | returns throttle percentage |
getThrottle()
No parameters
Returns throttle percentage. The method uses numerical solution with equations of motion to predict when the burn should start.
Code examples
Give code examples