mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 15:17:23 +00:00
Merge branch 'main' of https://gitlab.com/lander-team/lander-cpp
This commit is contained in:
commit
07d330c904
@ -13,7 +13,7 @@ plt.title("Acceleration, Velocity, and Altitude Plots")
|
||||
plt.plot(df.t, df.az)
|
||||
# plt.title("Acceleration vs Time")
|
||||
plt.xlabel("Time (s)")
|
||||
plt.ylabel("Acceleration (g" "s)")
|
||||
plt.ylabel("Acceleration (m/s)")
|
||||
|
||||
# Velocity
|
||||
plt.subplot(3, 1, 2)
|
||||
@ -27,7 +27,7 @@ plt.subplot(3, 1, 3)
|
||||
plt.plot(df.t, df.z)
|
||||
# plt.title("Altitude vs Time")
|
||||
plt.xlabel("Time (s)")
|
||||
plt.ylabel("Altitude (m)\n")
|
||||
plt.ylabel("Altitude (m)")
|
||||
|
||||
plt.savefig("./public/AVA.png")
|
||||
|
||||
@ -40,7 +40,6 @@ plt.title("Deflection and Angular Velocity Plots")
|
||||
plt.plot(df.t, df.yaw, label="Yaw")
|
||||
plt.plot(df.t, df.pitch, label="Pitch")
|
||||
plt.plot(df.t, df.roll, label="Roll")
|
||||
plt.xlabel("Time (ms)")
|
||||
plt.ylabel("Euler Angles (deg)")
|
||||
plt.legend()
|
||||
|
||||
@ -49,6 +48,7 @@ plt.subplot(2, 1, 2)
|
||||
plt.plot(df.t, df.yawdot, label="Yaw")
|
||||
plt.plot(df.t, df.pitchdot, label="Pitch")
|
||||
plt.plot(df.t, df.rolldot, label="Roll")
|
||||
plt.ylabel("Angular Velocity (deg/s)")
|
||||
plt.xlabel("Time (ms)")
|
||||
plt.legend()
|
||||
|
||||
|
@ -60,6 +60,8 @@ int main() {
|
||||
return 0;
|
||||
} else if (outcome == 0) {
|
||||
std::cout << "Sim Result = Failed!";
|
||||
return 1;
|
||||
// return 1; Until I figure out how to make CI/CD continue even when run
|
||||
// fails.
|
||||
return 0;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user