1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-15 22:56:53 +00:00

keep platforms the same

This commit is contained in:
Anson 2021-11-14 17:13:49 -07:00
parent e6f7e4c160
commit 8528b028e5

View File

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