1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-24 23:21:29 +00:00

Platformio stuff

This commit is contained in:
2021-11-04 02:58:49 +00:00
parent 0d3c0a9d1c
commit 5abdc75c81
7 changed files with 41 additions and 10 deletions

View File

@@ -36,6 +36,8 @@ void burnStartTimeCalc(Vehicle &State) {
else if ((i > 3.382) && (i < 3.46))
thrust = -195.78 * i + 675.11;
else
thrust = 0;
velocity = (((thrust / mass) + g) * dt) + velocity;
h = (((thrust / mass) + g) * dt) + h;