1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00

Load cell calibrate

This commit is contained in:
Anson Biggs 2021-11-03 22:44:23 +00:00
parent 50dd49481a
commit a129221588

View File

@ -1,12 +1,20 @@
#include "Vehicle.h" #include "Vehicle.h"
void loadCellCalibrate(); #include <Arduino.h>
double loadCellCalibrate();
void thrustInfo(); void thrustInfo();
void processTVC(); void processTVC();
void write2csv(); void write2csv();
void loadCellCalibrate() { double loadCellCalibrate() {
// place code to calibrate load cells in here // 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() { void thrustInfo() {
// place code to retrieve load cell data and convert to a thrust value in here // place code to retrieve load cell data and convert to a thrust value in here