1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-22 06:01:23 +00:00

Resolve "Separate native and teensy code"

This commit is contained in:
2021-11-03 22:33:10 +00:00
parent ad602ca834
commit 66590a33fe
6 changed files with 273 additions and 220 deletions

21
include/teensy.h Normal file
View File

@@ -0,0 +1,21 @@
#include "Vehicle.h"
void loadCellCalibrate();
void thrustInfo();
void processTVC();
void write2csv();
void loadCellCalibrate() {
// place code to calibrate load cells in here
}
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
}