1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-08-17 02:24:50 +00:00

Formal build for Avionics Integration Test

This commit is contained in:
bpmcgeeney
2021-11-14 16:41:25 -07:00
parent 82e43b1fe8
commit e6f7e4c160
3 changed files with 8 additions and 7 deletions

View File

@@ -240,10 +240,10 @@ void printSimResults(Vehicle &State) {
Serial.print("Final Angles: [" + String(State.yaw) + ", " +
String(State.pitch) + "]\n");
if (landing_velocity < 0.5) {
Serial.print("Landing Velocity < 0.5 m/s | PASS | ");
if (landing_velocity < 1.0) {
Serial.print("Landing Velocity < 1.0 m/s | PASS | ");
} else {
Serial.print("Landing Velocity < 0.5 m/s | FAIL | ");
Serial.print("Landing Velocity < 1.0 m/s | FAIL | ");
}
Serial.print("Final Velocity: [" + String(State.vx) + ", " +
String(State.vy) + ", " + String(State.vz) + "]\n");