mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-08-02 11:31:34 +00:00
Formal build for Avionics Integration Test
This commit is contained in:
@@ -75,7 +75,7 @@ void setup() {
|
||||
testGimbal(servo1, servo2);
|
||||
Serial.println("Servos Tested");
|
||||
|
||||
delay(1000);
|
||||
delay(3000);
|
||||
Serial.println("Simulated Vehicle Initalized");
|
||||
|
||||
// Determine when to burn
|
||||
@@ -104,17 +104,18 @@ void loop() {
|
||||
State.time += State.stepSize;
|
||||
|
||||
if ((State.z < 0.0) && (State.thrustFiring == 2)) {
|
||||
printSimResults(State);
|
||||
Serial.println("Run duration:" + String(micros() - initTime) + " us");
|
||||
|
||||
closeFile();
|
||||
delay(20000);
|
||||
delay(3000);
|
||||
|
||||
Serial.println("SUCCESS");
|
||||
Serial.println("Aborting Sim");
|
||||
teensyAbort();
|
||||
}
|
||||
|
||||
delay(20 - ((micros() - last) * 1000.0));
|
||||
delay(20.0 - ((micros() - last) / 1000.0));
|
||||
}
|
||||
|
||||
void init_loadCells() {
|
||||
|
Reference in New Issue
Block a user