mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 07:06:51 +00:00
29 lines
615 B
C
29 lines
615 B
C
#include "Vehicle.h"
|
|
|
|
#include <Arduino.h>
|
|
|
|
double loadCellCalibrate();
|
|
void thrustInfo();
|
|
void processTVC();
|
|
void write2csv();
|
|
|
|
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
|
|
} |