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:
21
include/teensy.h
Normal file
21
include/teensy.h
Normal 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
|
||||
}
|
Reference in New Issue
Block a user