1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-15 22:56:53 +00:00
2021-11-04 02:58:49 +00:00

31 lines
724 B
C

#include "Vehicle.h"
#include <Arduino.h>
void thrustInfo(struct Vehicle &);
void processTVC(struct Vehicle &);
void write2CSV(struct outVector &, struct Vehicle &);
void printSimResults(struct Vehicle &);
double loadCellCalibrate();
double loadCellCalibrate() {
// place code to calibrate load cells in here
double loadTotal;
for (double t = 0; t == 10; ++t) {
loadTotal += 1;
delay(15);
}
return loadTotal / 10;
}
void thrustInfo() {
// place code to retrieve load cell data and convert to a thrust value in here
}
void processTVC() {
// place code to turn angles from TVC function into commands in here
}
void write2csv() {
// place code to make the teensy write to an output file in here
}