1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-23 14:41:25 +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;

View File

@@ -2,10 +2,12 @@
#include <Arduino.h>
void thrustInfo(struct Vehicle &);
void processTVC(struct Vehicle &);
void write2CSV(struct outVector &, struct Vehicle &);
void printSimResults(struct Vehicle &);
double loadCellCalibrate();
void thrustInfo();
void processTVC();
void write2csv();
double loadCellCalibrate() {
// place code to calibrate load cells in here