mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-23 14:41:25 +00:00
Formal build for Avionics Integration Test
This commit is contained in:
@@ -80,7 +80,7 @@ void init_Vehicle(Vehicle &State) {
|
||||
State.momentArm = 0.145; // [m]
|
||||
|
||||
// Sim Step Size
|
||||
State.stepSize = 1.0; // [ms]
|
||||
State.stepSize = 20.0; // [ms]
|
||||
|
||||
// Other Properties
|
||||
State.massPropellant = 0.06; // [kg]
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user