1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-27 08:31:31 +00:00

Fixed differences between native and teensy, added getThrust() function to clean up thrustInfo()

This commit is contained in:
bpmcgeeney
2021-11-11 21:58:57 -07:00
parent f0577a8fce
commit 0058af9667
6 changed files with 61 additions and 65 deletions

View File

@@ -30,6 +30,7 @@ Servo2 = T(:, 18);
PIDx = T(:, 20);
PIDy = T(:, 21);
thrust = T(:, 22);
% Acceleration
subplot(3, 1, 1)
plot(t, az)
@@ -91,3 +92,12 @@ plot(t, Servo2)
title('Servo 2 Position vs Time')
xlabel('Time (ms)')
ylabel('Servo 2 Position (rad)')
figure(4)
% Servo 1 Position
plot(t, thrust)
title('Thrust vs Time')
xlabel('Time (ms)')
ylabel('Thrust (N)')